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

    Use one FOG server to control multiple other servers

    Scheduled Pinned Locked Moved
    General
    4
    6
    1.9k
    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.
    • B
      Benjamin_D
      last edited by

      Hello,

      I’ve been tasked with making a FOG environment whereby two FOG servers at two different sites backup/restore their respective site’s computers, and both servers are controlled by another FOG server in an Amazon EC2 instance. The EC2 FOG server is not meant to hold any images, but just be used to ease management of the other two servers at two different sites.

      This appears to rule out master nodes, because images go to the master first, and are then copied down to the other nodes. I see that I can create multiple storage nodes and groups, and set images to those groups, which is a start, but if I tell the EC2 FOG server to make a new image and store it in a storage node on a site, will the EC2 FOG server do the imaging, or will it tell the server at the storage node to do the imaging?

      If it will use the FOG server at the storage node to do the imaging, then that’s perfect, otherwise, how would I set it up so I can have the EC2 FOG server tell a server at a site to setup/deploy an image?

      JunkhackerJ Wayne WorkmanW 2 Replies Last reply Reply Quote 0
      • JunkhackerJ
        Junkhacker Developer @Benjamin_D
        last edited by

        @Benjamin_D look into the location plugin. i think you should be able to do what you want to do, but i don’t think anyone has done it before.

        signature:
        Junkhacker
        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

        B 1 Reply Last reply Reply Quote 1
        • Wayne WorkmanW
          Wayne Workman @Benjamin_D
          last edited by

          @Benjamin_D said in Use one FOG server to control multiple other servers:

          FOG server in an Amazon EC2 instance.

          Install a certificate on the box, you want to be using HTTPS if this is going across the internet. Or setup a VPN tunnel, don’t just stick an elastic IP on it and say you’re done.

          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
          • B
            Benjamin_D @Junkhacker
            last edited by

            @Junkhacker said in Use one FOG server to control multiple other servers:

            @Benjamin_D look into the location plugin. i think you should be able to do what you want to do, but i don’t think anyone has done it before.

            That definitely looks like it will help, however it appears I’ll still need to set up the route over WAN so that the control server can talk to the storage nodes. What ports would I need to forward to allow communication between the control server and the local master storage nodes?

            george1421G 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @Benjamin_D
              last edited by

              @Benjamin_D Joe created an excellent document that outlines what ports need to be open on the fog server. ref: https://forums.fogproject.org/topic/6162/firewall-configuration

              Between the remote site (assuming a storage node). You will need FTP and HTTP communications from the FOG Master server to each slave server. From the remote storage nodes it will need to reach back to the master FOG server with http and mysql. Luckily the storage node doesn’t communicate to the master FOG server using NFS that is problematic to script firewall rules for.

              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 1
              • Wayne WorkmanW
                Wayne Workman
                last edited by

                There’s also this: https://wiki.fogproject.org/wiki/index.php?title=FOG_security

                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
                • First post
                  Last post

                198

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project