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

    Image not syncing between nodes

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    29
    7.3k
    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.
    • M
      msi Testers @Wayne Workman
      last edited by

      @wayne-workman no, I have only one master and 7 storage node

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

        @msi said in Image not syncing between nodes:

        no, I have only one master and 7 storage node

        Captures have always and only gone to Master nodes during capture. So capturing to a non-master is not possible.
        Please share with us a screenshot from your web gui -> Storage Management page.

        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/

        M 1 Reply Last reply Reply Quote 0
        • M
          msi Testers @Wayne Workman
          last edited by

          @wayne-workman 0_1517432580197_4c1998d8-20da-488f-a172-7cd97126b831-image.png

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

            @msi Ok, now verify that the image captured properly on the master node. I don’t know your image’s name, but you would check by changing into it’s directory like this:
            cd /images/<image name here>/
            and then running this command:
            ls -laht

            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/

            M 1 Reply Last reply Reply Quote 0
            • M
              msi Testers @Wayne Workman
              last edited by

              @wayne-workman the two images doesn’t exist on master. I can see those on NJED45; the place where I created those two images.
              Below picture is from NJED45 0_1517434061889_b2ae5967-6483-4e90-b865-4a26e46b71ab-image.png

              Below picture is from Master
              0_1517434488068_83b2b2ee-85c8-4a67-bcb9-760332f18d01-image.png

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

                @msi Then I would ask you to ensure the IP addresses for your nodes are correct in the Storage Management area. Also check the IP addresses set on the nodes via CLI with this command: ip addr

                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/

                M 1 Reply Last reply Reply Quote 0
                • M
                  msi Testers @Wayne Workman
                  last edited by

                  @wayne-workman
                  NJED450_1517435219895_c549e361-baf6-46d4-91f4-471431550b20-image.png

                  Master
                  0_1517435257883_47cac79d-cbc3-4253-834f-32ff0b8f75a3-image.png

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

                    @msi Please verify the IPs via CLI too. The command is ip addr

                    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/

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      msi Testers @Wayne Workman
                      last edited by msi

                      @wayne-workman
                      NJED 0_1517435386344_9c2de9fc-3519-4e0c-8e6c-7d936381a943-image.png

                      Master 0_1517435421026_14d6fd89-fa73-42ee-9d77-8bf48768dd18-image.png
                      It matches.

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

                        @msi What happens when you go to http://10.134.200.230/fog/management using your browser?

                        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/

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          msi Testers @Wayne Workman
                          last edited by

                          @wayne-workman Below Message
                          ‘This is a storage node, please do not access the web ui here!’

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

                            @msi Well then something is really messed up here. Going to ask for help from the @developers and @moderators for ideas.

                            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/

                            M Tom ElliottT 2 Replies Last reply Reply Quote 0
                            • M
                              msi Testers @Wayne Workman
                              last edited by

                              @wayne-workman Sure, thanks

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

                                @wayne-workman he’s using location plugin so uploads will go to the hosts location even if the location node is not a master. Replication only happens from master nodes though. Hope this helps.

                                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

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

                                  I guess before we dig into this what I’m (as well as Wayne) is having an issue with understanding is that you are saying something is happening (or not happening) that is not normally possible with FOG.

                                  Let me state the rules according to FOG

                                  1. Only full FOG servers (ones with local databases) can replicate images. The storage nodes do not have the replicator service installed. Any images that were able to make it to a storage node will aways remain there since there is no replicator service to move them.
                                  2. FOG replication is aways a push replication and never a pull replication.
                                  3. Only master nodes in each storage group is authorized to replicate images. If you have one or more full fog servers in a storage group only the master node in that storage group is allowed to replicate (push) images to other nodes in its storage group.
                                  4. Only master nodes in each storage group can capture images. All nodes in each storage group can deploy images.

                                  So what you are saying that your storage node at the branch captured an image and is not replicating to the master mode at HQ. The short answer is you are right, but what you suggest is not possible.

                                  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
                                  • george1421G
                                    george1421 Moderator @Tom Elliott
                                    last edited by george1421

                                    @tom-elliott said in Image not syncing between nodes:

                                    he’s using location plugin so uploads will go to the hosts location even if the location node is not a master.

                                    Well who the hell programmed that? That is counter to what we’ve been taught!!

                                    @msi Well then, I guess the system is working as designed.

                                    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!

                                    M Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                                    • M
                                      msi Testers @george1421
                                      last edited by

                                      @george1421 It was working up until as Tom mentioned, by using location plugin. However, its not working today. I just don’t understand why suddenly it stopped working.

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

                                        @msi said in Image not syncing between nodes:

                                        I just don’t understand why suddenly it stopped working.

                                        There’s no telling. Probably to get this going though, you need to manually transfer the image with rsync from the storage node to the master node. Then this should be fixed.

                                        If you run this command from your Master Node, it will prompt you for the storage node’s local fog user’s password. You can find that in that node’s storage management area or from this file on it: /opt/fog/.fogsettings

                                        rsync <options> <source> <destination>

                                        rsync -r --bwlimit=6250 fog@10.134.200.230:/images/Laptop2.1 /images
                                        rsync -r --bwlimit=6250 fog@10.134.200.230:/images/Laptop /images
                                        

                                        The 6250 is supposed to be 6250Kbps, or 50Mbps. If you want slower, you can do the math to figure out what you need with the calculator I reference below.

                                        scp is another option if the rsync commands don’t work out. Something like this from the master node and again you’d be prompted for the remote node’s fog password.

                                        scp -r fog@10.134.200.230:/images/Laptop2.1 /images
                                        scp -r fog@10.134.200.230:/images/Laptop /images
                                        

                                        References:
                                        https://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html
                                        https://linux.die.net/man/1/rsync
                                        https://www.checkyourmath.com/convert/data_rates/per_second/megabits_kilobytes_per_second.php

                                        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/

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

                                          @george1421 said in Image not syncing between nodes:

                                          That is counter to what we’ve been taught!!

                                          I guess when you think about it, this behavior is better than trying to run a capture for 10 days across a 5Mps link to a master node on the other side of the planet. Worst case scenario to get the image where it belongs is you put it onto a USB stick and just mail it (Or perhaps IP over Avian Carriers?).

                                          @msi I’m very curious now, can you deploy the image successfully at the remote site even with this replication problem?

                                          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/

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            msi Testers @Wayne Workman
                                            last edited by

                                            @wayne-workman said in Image not syncing between nodes:

                                            @msi I’m very curious now, can you deploy the image successfully at the remote site even with this replication problem?

                                            With the replication problem, NO

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

                                            217

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project