FOG operation in different network segments
-
Hello everyone!
My infrastructure has 2 remote sites in different cities, which are connected by a tunnel:
10.10.0.0/16
10.20.0.0/16There is a main FOG server - 10.10.10.5
I need to create an additional distribution point on the second site (10.20.0.0) so that I can distribute my images there, which are currently on the main server.
Do I understand correctly that I will have to provide an additional “full” server on the second site, and then add this server as additional storage on the master?
Or will it be enough for me to deploy additional storage and all clients will receive the image from this site?If I install full FOG servers on each site, will they work in replication mode? I need to have only one entry point, one site, one control panel, but when installing the client, the image is taken from the desired site.
-
@alterak Typically in your situation you would install a full fog server at the main site. Then install a FOG Storage node at the second site. Technically they perform the same roles except the full fog server has the database and the web interface. One additional caveat is that the Full fog server (or called master node) is the only FOG server that can capture images. The images created at the master node will replicate to the storage node. This is how it works by design.
One other thing that will help you is to install a FOG “Location” plugin. This way you assign fog servers and target computers to locations so the target computers will know what FOG server to get the images from.
-
One other thing that will help you is to install a FOG “Location” plugin. This way you assign fog servers and target computers to locations so the target computers will know what FOG server to get the images from.
Thank you! I added 2 locations and now I can select these locations when registering the device, or assign them manually in the control panel.
Tell me, is there a possibility of automatic separation of locations, for example by client IP?
-
@alterak said in FOG operation in different network segments:
is there a possibility of automatic separation of locations,
I’m not sure I fully understand the question, but if you are asking can it automatically pick which location to select based on the IP address of the computer being registered. The quick answer is no, FOG doesn’t currently have that capabilities.
The bit longer answer is it could if you can be a little creative and can do a little linux bash script programming. In a nutshell, you can customize the bash script that is setup for full registration of computers. The basics of what needs to be done is covered in this tutorial: https://forums.fogproject.org/topic/14278/creating-custom-hostname-default-for-fog-man-reg
The IP address bit can come from this script: https://forums.fogproject.org/post/69725 This post is for getting the IP address to be used in a FOG postdownload script. But the concept will be the same for the fog.man.reg script.