• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Jim Graczyk
    3. Best
    J
    • Profile
    • Following 0
    • Followers 1
    • Topics 32
    • Posts 136
    • Best 10
    • Controversial 0
    • Groups 0

    Best posts made by Jim Graczyk

    • RE: FOG Client Cannot Connect to FOG Server

      @sebastian-roth
      @Taspharel
      @george1421

      All of the info provided lent itself to the ultimate solution…

      For anyone who wants to create images on one fog server and have them used on a completely separate, unique and different FOG Server, here’s the process I used.

      We’ll create an image that has the FOGService on it associated with the first FOG Server (FOGServer1) by running Sysprep with shutdown. We’ll install the second FOG Server (FOGServer2) and acquire the certs from it by installing the FOGService on a PC and associating it with FOGServer2. We’ll edit the uploaded disk by attaching it as a “D:” drive to a PC and create or add to the SetupComplete.cmd file to load the FOGServer2 certs after Sysprep completes.

      Here are the steps:

      • Build the image PC with OS, applications, etc. - whatever you want already installed. I subscribe to the notion that a windows image should contain the MS OS CD installed, FOGService Installed and then the rest of the content should come from Snapins. As little as possible should be done by hand because can seldom repeat the process if we have to. For this process, however, it doesn’t matter.

      • Install the FOG Client Service and associate it with the first FOG Server (FOGServer1). As stated above, I use Snapins to deploy content the makes up my images.

      • Run Sysprep with shutdown, then capture the image to the FOG server (FOGServer1).

      • Install the FOG Client Service on a PC associated with the 2nd FOG server (FOGServer2), accepting all defaults.

      • In the FOG folder (C:\Program Files\FOG or c:\Program Files (x86)\FOG) copy files ca.cert.der and fog.ca.cer to external storage

      • Deploy the image from FOGServer1 to a disk (a virtual is vastly perferred) with Shutdown. Do not let the machine attached to the disk boot.

      • Mount the disk to another computer as an additional disk (as in D Drive).

      • Using this other computer, edit the contents of the sysprep’d drive (D Drive)

      • Copy ca.cert.der and fog.ca.cer to the “D:\windows\setup\scripts” folder

      • Create SetupComplete.CMD file in “D:\windows\setup\scripts”, or add to the existing file

      • Add these lines for a 32 bit OS:
        copy /y %windir%\Setup\Scripts\ca.cert.der “%programfiles%\FOG\ca.cert.der”
        copy /y %windir%\Setup\Scripts\fog.ca.cer “%programfiles%\FOG\fog.ca.cer”
        certutil -delstore Root “FOG Server CA”
        certutil -delstore Root “FOG Project”
        certutil -addstore Root “%programfiles%\FOG\ca.cert.der”
        certutil -addstore Root “%programfiles%\FOG\fog.ca.cer”

      • Add these lines for a 64 bit OS:
        copy /y %windir%\Setup\Scripts\ca.cert.der “%programfiles(x86)%\FOG\ca.cert.der”
        copy /y %windir%\Setup\Scripts\fog.ca.cer “%programfiles(x86)%\FOG\fog.ca.cer”
        certutil -delstore Root “FOG Server CA”
        certutil -delstore Root “FOG Project”
        certutil -addstore Root “%programfiles(x86)%\FOG\ca.cert.der”
        certutil -addstore Root “%programfiles(x86)%\FOG\fog.ca.cer”

      • Dismount the additional disk, connect it to a machine associated with FOGServer2 as the system drive (C:), and capture the image to FOGServer2.

      • When Deploying the image to additional machines from FOGServer2, the machine will associate with the FOG Server2 but will not join the domain or run Snapins until you Reset Encryption for the new host (button found at the top of the “General” tab for the host).

      • One caveat - I use a DNS alias for all FOG Servers (creatively, I chose fogserver) so I don’t have to worry about FOG server name differences. If your FOGServer1 and FOGServer2 are in the same DNS zones, this won’t work, so if you have different FOG server names, you can save the setting,json file from the \program files\FOG folder from a PC associated FOGServer2 or just edit the one with the new FOG server name in it. When you’ve mount the imaged disk as an additional drive, copy the altered settings.json file to the \windows\setup\scripts folder (along with the certs) and add an additional ‘copy’ command to SetupComplete.cmd to get the file into the FOG folder (just like the certs). I haven’t tested this, so hopefully some who knows better will comment.

      While the above process is a pain to execute for each image you create, each time you need to associate it with a new FOG Server, I find it far more cost effective than uninstalling the FOG Service and reinstalling it after imaging each PC.

      • Please note that I had to place some very odd quotes around some paths because drive letters become emojis d: 😧 …

      Jim Graczyk

      posted in FOG Problems
      J
      Jim Graczyk
    • RE: Hyper-V Generation 2 VMs Aren't Booting Into Network -

      @robtitian16

      I believe I’ve seen this when I’ve forgotten to disable Secure Boot in the Hyper-V VM definition.

      Jim

      posted in FOG Problems
      J
      Jim Graczyk
    • RE: Deploying to Hyper-V UEFI VMs w/v1.5.0 RC-6 Working Branch

      @tom-elliott

      Here are the screenshots for each step of the fog iPXE process:

      0_1501855987335_13709f3e-3f2f-4e06-b44a-4b7f1d984a97-image.png

      0_1501856107563_674dbdd6-9821-4fed-b439-da2e37578c26-image.png

      0_1501856145388_d34d1c89-1f06-4fec-872a-37ea16c1f202-image.png

      0_1501856186630_9cb6040c-f4df-4a16-bc73-3b927cbff669-image.png

      0_1501856244708_31eae7b6-a2a7-4b5f-b0f6-3a26ae616120-image.png

      0_1501856318213_3bac1652-cd92-4211-b066-095c3fd4cc4e-image.png

      0_1501856398305_286aafb1-5e28-47ac-8a14-ab5bdf988749-image.png

      0_1501856460679_208f5c79-bde1-4475-97d2-2be6f78262b7-image.png

      0_1501856557945_060554e9-07f0-4ac1-baa0-2b7187e63115-image.png

      0_1501856598827_bdc07772-12e2-44cf-8a44-3174b93aba1a-image.png

      0_1501856638892_9a35a3c3-f5d6-4b69-b915-9ee7b15bfddf-image.png

      0_1501856678302_32ac4d93-78ec-4b31-a90b-b746aff39e37-image.png

      0_1501856739306_056101c7-11c3-43d4-ab31-f8aa3b3272ee-image.png

      0_1501856841721_7febb74e-23d8-4042-9769-7f5cc9d1fdb9-image.png

      0_1501856874227_c1aa4e68-44f3-480a-afac-0608c1d98639-image.png

      0_1501856942693_cd4c8da7-33e3-4b26-9afe-9a6b99c3c70f-image.png

      0_1501857066339_e9cd01cc-9a46-43e0-ac27-ffaab4f675ab-image.png

      0_1501857104523_7b3313d2-4046-48fc-a50c-c00e12f8f9f4-image.png

      0_1501857132987_c94a4415-444c-4f07-a4dd-039fdee5da66-image.png

      0_1501857169075_28bee1f5-a761-4aef-a203-7b13c772a8f8-image.png

      0_1501857253924_5eb1ba06-0334-49a0-9bd1-42cf25806229-image.png

      0_1501857279188_fdc7da49-b022-4631-943b-555a4f36f195-image.png

      0_1501857317716_1be4ce92-488e-4f62-8131-ad4bedcb739a-image.png

      0_1501857356668_b0373987-6cff-4891-9449-3ddbc8bca83f-image.png

      0_1501857407260_7daa9001-9a97-46a3-9601-b1c3e9139746-image.png

      0_1501857459147_1ab77577-d786-4f08-b9d0-2ee9499e3768-image.png

      0_1501857500756_9bbc4692-7ea0-4249-9ed5-3f4f8ce090d0-image.png

      0_1501857530748_3569c688-356e-48cf-8aba-46954284b212-image.png

      0_1501857572818_c4f5e739-8ed7-470a-8bd3-a05522c2747a-image.png

      0_1501857601570_dcaf991a-e071-4d84-b5b7-6139305c5080-image.png

      0_1501857640475_6e00edb0-032c-4a25-b730-977abe4a6cda-image.png

      0_1501857694484_3f945a47-662b-49e7-85fd-fad6dda27d1d-image.png

      0_1501857725011_779b435b-7f5f-41bc-90ec-a9388bf4790f-image.png

      0_1501857750244_7b228dec-3c72-4c36-9a70-19274a6c9501-image.png

      0_1501857780331_305d8ada-f8f0-44ee-a87a-761dce1b5d24-image.png

      posted in General
      J
      Jim Graczyk
    • RE: Storage Group in Dashboard Showing 1 Slot in QUEUE But No Tasks Exist

      @Tom-Elliott said in Storage Group in Dashboard Showing 1 Slot in QUEUE But No Tasks Exist:

      mysql fixing

      I ran the maintenance script found at the bottom of this link:
      https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL

      Several lines deleted rows. The problem is resolved.

      Thanks,

      Jim

      posted in Bug Reports
      J
      Jim Graczyk
    • RE: FOG Service Connection Problem

      @themcv

      OK - so yeah, maybe it was a DNS issue on the client side after all. One of the snapins I’m working on dorked the DNS search list.

      I determined this by examining the spanins deployed to the host - 100% alignment with snapin that dorks the DNS searchlist.

      Go Figure…

      Thanks and sorry for the trouble…

      Jim

      posted in FOG Problems
      J
      Jim Graczyk
    • RE: Deploying to Hyper-V UEFI VMs w/v1.5.0 RC-6 Working Branch

      @tom-elliott

      Tom - I tested this on several Gen2 VMs and they all extended to the fill disk size.

      Thanks - SOLVED.

      Jim

      posted in General
      J
      Jim Graczyk
    • Clicking Button to Add MAC Addresses Causes Form Problem
      Server
      • FOG Version: 1.5.0
      • OS: CEntOS7
      Client
      • Service Version: 0.11.12
      • OS: Win7
      Description

      I’m working on a Snapin for a VPN client install (SoftEther VPN - great freeware, recommend it highly - AND I have a working installation process).

      The result is the VPN Client package testing has resulted in the FOG client informing FOG about the MAC address on the VPN vNICs the software creates.

      While looking for a way to Dis-Approve Pending MAC addresses, I click on the + button (Add MAC Address) on the General form of the a Host page. Doing so caused the page to list many new places to add MAC addresses:
      0_1502820545153_8355d684-c2ea-422b-b621-e3251760ea86-image.png
      This screen shot is at 33% and there are 28 similar pages before one get’s to the bottom of the webpage.

      Upon hitting the + to add MACs, the webpage becomes unresponsive. I cannot get a new page to come up - at least not too easily - and the server and workstation show substantial increases in load. From task manager:

      0_1502820878754_ee7b78e2-c7fd-41f5-a490-f4586f9cdba3-image.png

      I’m forced to close the browser and re-log in to be able to continue.

      This only appear to occur on hosts with several pending MAC addresses and it may only occur what a browser is zoomed in.

      Jim

      posted in Bug Reports
      J
      Jim Graczyk
    • RE: Please Add an Option to Change the Default Page After Logon

      @avaryan

      Thanks. I haven’t had the need for the Access Control Plugin. I supposed it’s time. Thanks. I still believe it should be an option. The Dashboard is a good page, but it’s not the most efficient thing when you want to get on with FOG tasks.

      Jim

      posted in Feature Request
      J
      Jim Graczyk
    • RE: FOG installed on small VM. Possible to drag and drop images when needed for deployments?

      @birvin

      I would also offer the suggestion that you separate the /images folder onto a separate virtual disk. You Could do this without rebuilding. I’ve used USB disks on ‘toaster’ that are mounted as /images as well. In either case, this allows use to expand the /images folder w/o messing with the rest of the install.

      Wayne is an expert, so maybe my approach is more work. I’ve backed into this problem over and again, as image space has grown (mostly from uploads, in my case), but we were able to mount the old volume as /oldimages, mount the new empty volume as /images, copy image, then unmount the /oldimages volume. If I recall, it was only a matter of mess with fstab in my case.

      Just a thought.

      Jim

      posted in FOG Problems
      J
      Jim Graczyk
    • RE: Migrating to new Fog Server - Issue

      @Jim-Graczyk

      The wiki on migration covers migrating a single FOG server using the only workable process, so I’ll leave that alone.

      I think my issue with the entire “Server Migration” process is that it requires you take FOG down at the onset of the process - before you attempt to install FOG on the new server. This obviously stops all the PC IT maintenance processes FOG provides IT support, but also FOG’s benefits to the end users of the hosts, until the new server/system is back up and working.

      I’ve used FOG on a fairly large scale - some instances have 10+ remote sites, each with its own FOG Storage Node. To say that shutting it down before starting migration is inconvenient to the business is an understatement. Storage node migration didn’t require that the storage node had use the same IP as the old storage node - so that helped.

      I hope that my initial post to you comes up when other FOG users search “FOG Migration”, so they don’t waste the time I did trying to build a completely new FOG system, including storage nodes, to cut over to, only to find that you can image PCs and create new hosts, but the exiting host would not talk to the new server system - so all the existing host configuration is lost (a large chunk of work). Ironically, there are numerous FOG wikis that address most issues that I ran into - creating new certs, the ever-present Reset Encryption on the FOG Client, etc., but none mentioned that the CA of the old system HAD to be used in place of the new.

      I’m glad there was some way forward without having to reconfigure everything manually, but like many things in FOG wikis, everything in them is true, but context and limitations are not defined at the beginning. Even the migration process link didn’t spell out requirements, nor include remote sites and storage nodes. It needs to spell out that harvesting the CA and certs and using the old server’s IP address are as important as the database, snapins, and images - and this is the ONLY way to migrate.

      So - a suggestion to the great minds working on FOG:

      Create a way to change the FOG Client CA in one step - delete old and replace new - from within the FOG Client. This could be something issued from the old FOG server, for security reasons. CA deletion should also be built into the FOG Client Installation MSI/EXE. I use FOG to build portable Windows images that are company and FOG server independent. The FOG client is installed at the initial boot and replaced in the image as FOG evolves.

      If that capability could be added, migration would be possible such that the new system w database, snapins, images, host configs, could be build out with multi-storage nodes and multi-locations, side-by-side with the old FOG system, gated only by DHCP boot settings at each site (IP broadcast space).

      Jim Graczyk

      posted in FOG Problems
      J
      Jim Graczyk
    • 1 / 1