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

Can I set up 2 fog servers to image a pool of hosts at the same time from the same build request

Scheduled Pinned Locked Moved
FOG Problems
3
3
220
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.
  • L
    llightfoot
    last edited by llightfoot Apr 4, 2022, 2:43 PM Apr 4, 2022, 8:41 PM

    My organization has come to really depend on FOG. They wanted me to build a hot standby server incase the primary one goes bad because we are running on physical hosts, and sometimes we can be imaging 100’s of laptops within a week it could be super critical to deadlines if this box went down.
    Since we spent the money on new hardware to mirror the existing physical FOG server, I was curious if there was a way to utilize both at the same time. Is anyone else doing something similiar. How would I config FOG to do this?

    Right now FOG is not the dhcp server, but our dhcp server is sending the laptops a dhcp request which tells all the new laptops where the fog server is to get PXE booted. knowing what my environment looks like how should i build this second server to maximize the functionality of having 2 beefy fog servers. I’d hate to leave it as a hot standby.

    .

    G 1 Reply Last reply Apr 4, 2022, 9:42 PM Reply Quote 0
    • G
      george1421 Moderator @llightfoot
      last edited by Apr 4, 2022, 9:42 PM

      @llightfoot You could spin up a new (clone) of the production FOG server. Make it a full FOG server. This “backup” FOG server will be added as a storage node to your primary FOG server’s as the master node.

      The main technical differences between a storage node and a full FOG server is that the full FOG server has the FOG database on it, where a storage node does not.

      When you manually add this second full FOG server as a storage node on your master node, the master node will sync all of the raw data files from the current production FOG server to your faux storage node. This will keep the image files you create on the main fog server in sync on the backup FOG server. The only gotcha in this configuration is that you need a way to copy the FOG database from the production server to the backup FOG server. You can do this with a little scripting to use the mysqldump command to export the data from the master node and then rsync or scp to copy it over to the backup storage node.

      As a side note, unless you have a lot of computers with the FOG client installed banging on the FOG server, you don’t need a fog server with a lot of horsepower. I can run FOG on a Raspberry Pi. With that said, all you really need for a fog server is a computer with a fast network and fast disk. Now imaging 100s of computers in a week you must be doing something extraordinary with your fog setup. Bravo for that!

      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 2
      • W
        Wayne Workman
        last edited by Wayne Workman Apr 5, 2022, 6:48 PM Apr 6, 2022, 12:48 AM

        George’s post is valid. Just wanted to add that regular ole storage nodes within the same storage group will load share. You’d set the max hosts on each storage node to accomplish this.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          2/3
          Last post

        155

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project