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

    Nodes, Groups and Mirroring, oh my!

    Scheduled Pinned Locked Moved
    General
    5
    15
    3.5k
    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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      [quote=“sudburr, post: 43309, member: 4706”]I have an svn3077 Fog server with three HDD setup. 1=OS+Fog, 2=PublishedImages, 3=Sandbox&WorkImages

      2 and 3 are on their own separate HDD.

      2 is Storage Node “DefaultMember”, Master, attached to storage group “Default” with image path “/images”
      3 is Storage Node “other”, not master, attached to storage group “Other” with image path “/other”

      I have several other Fog servers, each on their own subnet; each with their own PXE, DHCP etc, to be set up identically.

      I want to keep a live mirror of the master server’s 2=PublishedImages and the associated image file definitions on all the other servers.

      I’m not sure Fog can do this or how to do it if it can. According to a thread from August 2014 my best bet is to cron or manually rsync, then manually alter the image definitions on each server.

      Am I wrong? Can Fog do what I want?[/quote]

      Hyper-V replication ?

      That’d be a live mirror, but it’d be in the off state till the main server became unresponsive. Others may have better solutions, but that’s my solution. My FOG server is in Hyper-V and is replicating to another server in case things go south… I’m pretty big on safety and fault tolerance.

      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
      • sudburrS
        sudburr
        last edited by

        It is running in Hyper-V, but I’m not replicating the Hyper-V Server or the machine. Neither of which would perform what I want.

        Mirroring the images is easy in so many ways, it’s having to manually remove/add/edit the image definitions on each subsequent downstream fog server that is the problem.

        I want to replicate that specific image repository only AND alter the image definitions on the destination server without affecting anything stored on any destination server’s 3 drive and its associated image definitions.

        eg:

        Master Server
        2= 12 images (newly changed)
        3= 20 images
        image definitions total= 32

        Destination Server
        2= 16 images (old)
        3= 2 images
        image definitions total= 18

        Mirroring/Sync occurs …

        Destination Server
        2= 12 images (newly changed)
        3= 2 images
        image definitions total= 14

        [ Standing in between extinction in the cold and explosive radiating growth ]

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          Or you can use the fog built it feature that does this for you?

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • sudburrS
            sudburr
            last edited by

            Please enlighten me. I’m not having a good day rtfm on this one.

            [ Standing in between extinction in the cold and explosive radiating growth ]

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              It’s fairly new.

              It’s probably not 100% but should do what you’re requiring.

              You simple set the image you want replicated to both groups on both groups.

              That’s it.

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • sudburrS
                sudburr
                last edited by

                This is only in theory right now, but it’s what I’m hoping to be the next server deployment, should the pilot work first of course.

                As I read the user guide, I interpret it to mean that it can only be done on the same subnet, which is not what I intend.

                Concurrently, the instructions are for downstream nodes to simply be local repositories but management and deployment commands are still carried out at the master. This I do not want.

                Each server must be master of its own domain. All resources for FOG to operate on their own private subnet, including the management webpage for that server for the technician at that site to use. We don’t want them accessing the master server, but we still want them to be able to make their own images on their Fog server (saving them to their own 3=other drive/group/node)

                [ Standing in between extinction in the cold and explosive radiating growth ]

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  This can be done, in such a way as you describe, using the Location plugin.

                  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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    So Location plugin, multiple Groups and Nodes, and choosing which images you want mirrored across different groups would be done by setting the Group to Group (multi groups per image)

                    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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • sudburrS
                      sudburr
                      last edited by

                      Thanks. This gives me something to chew on.

                      [ Standing in between extinction in the cold and explosive radiating growth ]

                      1 Reply Last reply Reply Quote 0
                      • G
                        George Stewart
                        last edited by

                        Hello,

                        First post so bare with me!

                        I’m successfully running Fog 1.2.0 on Ubuntu.

                        I’m using one AD domain, one DHCP server and I can only image on the same subnet as my dhcp server. My other locations which are all on the same domain and using the same DHCP server but do not reside in the same subnet cannot image.

                        I want: To use one fog server and simply image from all of my sites.

                        From what I am reading, I can use the location plugin to achieve this? Is their some good documentation out there to help me set this up? I basically just need something to add all of my ip scopes too. I read something about storage nodes as well but can’t quite catch the grasp on what that means to my particular fog environment. I’d like to keep all of my images stored in this one single location which is the fog server running in hyper V. So hopefully I can just use the locations plugin? help 🙂

                        1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman
                          last edited by

                          [quote=“George Stewart, post: 47210, member: 29650”]Hello,

                          First post so bare with me!

                          I’m successfully running Fog 1.2.0 on Ubuntu.

                          I’m using one AD domain, one DHCP server and I can only image on the same subnet as my dhcp server. My other locations which are all on the same domain and using the same DHCP server but do not reside in the same subnet cannot image.

                          I want: To use one fog server and simply image from all of my sites.

                          From what I am reading, I can use the location plugin to achieve this? Is their some good documentation out there to help me set this up? I basically just need something to add all of my ip scopes too. I read something about storage nodes as well but can’t quite catch the grasp on what that means to my particular fog environment. I’d like to keep all of my images stored in this one single location which is the fog server running in hyper V. So hopefully I can just use the locations plugin? help :)[/quote]

                          The location plugin is how you achieve this.
                          You’ll find better documentation here in the forums about it than on the WiKi. From what I’m told, it’s really easy to configure.

                          I’m in the process of creating rich documentation for the location plugin - it’ll probably be sometime next week before I get to it.

                          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
                          • Joseph HalesJ
                            Joseph Hales Testers
                            last edited by

                            If your bandwidth between sites is adequate then you just need to set up the broadcast domain to all your vlans and it should work fine.

                            RTFM

                            1 Reply Last reply Reply Quote 0
                            • G
                              George Stewart
                              last edited by

                              Thank you for the responses.

                              I am using the location plugin, but I have only one location. I’ve named this “main”. I have a dedicated 10 gig connection between my sites ( fiber ). One site can see the fog menu, register a device but fails (just reboots) once the image starts to pull down. My other site can’t boot to the fog system at all. I’ve ruled out the patch cables or switches being a problem as they are the same at all of my locations (gigabit switches). Should I setup additional locations at these other two sites and push the location\replicate the images down to these other sites? Just don’t want to go that route if my dedicated fog server here at the main location can handle this for me already.

                              1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by

                                [quote=“George Stewart, post: 47485, member: 29650”]Thank you for the responses.

                                I am using the location plugin, but I have only one location. I’ve named this “main”. I have a dedicated 10 gig connection between my sites ( fiber ). One site can see the fog menu, register a device but fails (just reboots) once the image starts to pull down. My other site can’t boot to the fog system at all. I’ve ruled out the patch cables or switches being a problem as they are the same at all of my locations (gigabit switches). Should I setup additional locations at these other two sites and push the location\replicate the images down to these other sites? Just don’t want to go that route if my dedicated fog server here at the main location can handle this for me already.[/quote]

                                You only have one PHYSICAL location, but do you have V-Lans, or seperate broadcast domains configured? Is your location sub-netted?

                                The location plugin only needs to be used if you have logically separated networks segments.

                                If everything in your organization is all in one nice-simple network and on the same broadcast domain, you can just configure storage nodes if you like, or just have 1 FOG server, and nothing more.

                                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

                                162

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project