@m-fitzgerald I’m still missing the why here, but I think I can summarize all of your posts. Let me reask the question using my words. It may not be exactly what you are asking, but it should be close.
Q: I want to introduce fog imaging to my company. I have about 800 computers located at 11 sites. Each site will have their own independent FOG server. I need to installed the FOG client on each of these 800 preexisting computers and point the fog client to their local FOG server. I have pdq deploy setup already and can use that to deploy the fog client. Is there a way to install the fog client on each computer and configure it to point to each site’s local fog server without having to visit each computer?
A: There are at least 2 ways to go about this. One method is the brute force method and the other is a bit more elegant but requires programming skills.
-
Brute force. Just create 11 PDQ deploy packages (one for each site). Each package will point to a single fog server in the invocation line of the MSI. Hopefully each of your 11 sites are in their own AD OU. You can then deploy (using PDQ Deploy) one of the packages to the correct AD OU. This has its advantages in that the computers in the OU belong to the same site and the same FOG server. If you have roaming computes they will get the right FOG server IP address no matter which site then happen to be at when the package is deployed. The setup can be done by anyone who knows PDQ Deploy. All you need is a fresh bottle of pepsi and about 30 minutes of quiet time.
-
The bit more elegant approach is to create a powershell or vbscript to identify the computer by either IP address subnet or by target computer name and use that information to point to the proper local fog server. This method requires a little programming and a look up table (simple csv matrix file or done purely in code) to index your key value to the IP address of the fog server. When I refer to using the target computer name, this assumes you encode something site specific into the computer name like the site’s OU name and then the computes asset tag (i.e. NYC7D5JXQ1). In this example NYC is the OU and also the key value to the sites FOG server. A simple look up table would be something like this:
NYC, 192.168.1.16
ATL, 192.168.2.34
LAV, 192.168.3.22
Now the other side is you could use the IP subnet of the target computer as the key value. This would be the subnet where the computer is when the install script was invoked. In this case your lookup table would look like this:
192.168.1, 192.168.1.16
192.168.2, 192.168.2.34
192.168.3, 192.168.3.22
You can see an example of the subnet lookup table here using a linux bash script: https://forums.fogproject.org/topic/7740/the-magical-mystical-fog-post-download-script/6
There are several other approaches you can take. But the above are the most efficient. Since you only have 11 sites, I probably would go with the brute force approach because of the time involved with writing and testing the script. Sometimes its just easier to “Git r’ done” using a big hammer.