general questions about storage / master storage nodes
-
Hi all, FOG has been wonderful in its usefulness at our main location, so we decided to establish nodes in other locations as well.
Following the documentation, I created new ubuntu servers, ran the installer, selected storage node and added them to the webinterface of the main fog server.
Then I created storage groups, added the respective nodes to their group and checked “master node”.
After that, I went to “images” and added the new storage groups to the images that I want to have synced, created a cron job on the main server to schedule when syncing is supposed to happen and waited for some of the images to be sent to the new nodes.
After that, I configured the windows DHCP servers in the other locations to point to the main FOG server.From what I understand, new clients booting PXE in the other locations will be directed to the main FOG server, but what I can’t seem to find exact information on is how the deployment of images to new clients will be handled.
When a new client boots PXE from one of the seperate locations, receives the bootfile from the main FOG server and a technician selects “perform full registration and inventory”, then how does FOG decide which server will send the image? Will the new storage node be used automatically, or will FOG send the image from the main server in our main location?
I understand that captures will always go to the master of their main storage group, but what about deployments? -
@pilipp_edv said in general questions about storage / master storage nodes:
After that, I configured the windows DHCP servers in the other locations to point to the main FOG server.
FWIW: You can (should) point the remote dhcp server to the remote storage node so the clients doesn’t need to transfer the ipxe boot image across your wan. The storage node will instruct the clients to “check in” with the fog master node.
The part you are missing is the FOG server plugin “Location”. With the location plugin you first identify your different locations. Then assign storage nodes to the “location” then assign existing client computers to the location. As you full register new clients there will be an added prompt for location during registration. This plugin pulls all of the bits together to make the clients find the proper storage node.