• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

FOG operation in different network segments

Scheduled Pinned Locked Moved
General
2
4
164
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    alterak
    last edited by alterak May 5, 2025, 1:44 AM May 5, 2025, 7:36 AM

    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/16

    There 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.

    G 1 Reply Last reply May 5, 2025, 8:35 PM Reply Quote 0
    • G
      george1421 Moderator @alterak
      last edited by May 5, 2025, 8:35 PM

      @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.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      A 1 Reply Last reply May 6, 2025, 9:19 AM Reply Quote 0
      • A
        alterak @george1421
        last edited by May 6, 2025, 9:19 AM

        @george1421

        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?

        G 1 Reply Last reply May 6, 2025, 9:55 PM Reply Quote 0
        • G
          george1421 Moderator @alterak
          last edited by May 6, 2025, 9:55 PM

          @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.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            Last post

          150

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project