• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Jan 31, 2018, 8:59 PM

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

    W 1 Reply Last reply Jan 31, 2018, 9:00 PM Reply Quote 0
    • W
      Wayne Workman @msi
      last edited by Jan 31, 2018, 9:00 PM

      @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 Jan 31, 2018, 9:03 PM Reply Quote 0
      • M
        msi Testers @Wayne Workman
        last edited by Jan 31, 2018, 9:03 PM

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

        W 1 Reply Last reply Jan 31, 2018, 9:05 PM Reply Quote 0
        • W
          Wayne Workman @msi
          last edited by Wayne Workman Jan 31, 2018, 3:05 PM Jan 31, 2018, 9:05 PM

          @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 Jan 31, 2018, 9:34 PM Reply Quote 0
          • M
            msi Testers @Wayne Workman
            last edited by Jan 31, 2018, 9:34 PM

            @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

            W 1 Reply Last reply Jan 31, 2018, 9:36 PM Reply Quote 0
            • W
              Wayne Workman @msi
              last edited by Wayne Workman Jan 31, 2018, 3:39 PM Jan 31, 2018, 9:36 PM

              @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 Jan 31, 2018, 9:47 PM Reply Quote 0
              • M
                msi Testers @Wayne Workman
                last edited by Jan 31, 2018, 9:47 PM

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

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

                W 1 Reply Last reply Jan 31, 2018, 9:48 PM Reply Quote 0
                • W
                  Wayne Workman @msi
                  last edited by Jan 31, 2018, 9:48 PM

                  @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 Jan 31, 2018, 9:50 PM Reply Quote 0
                  • M
                    msi Testers @Wayne Workman
                    last edited by msi Jan 31, 2018, 3:51 PM Jan 31, 2018, 9:50 PM

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

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

                    W 1 Reply Last reply Jan 31, 2018, 9:53 PM Reply Quote 0
                    • W
                      Wayne Workman @msi
                      last edited by Wayne Workman Jan 31, 2018, 3:53 PM Jan 31, 2018, 9:53 PM

                      @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 Jan 31, 2018, 9:54 PM Reply Quote 0
                      • M
                        msi Testers @Wayne Workman
                        last edited by Jan 31, 2018, 9:54 PM

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

                        W 1 Reply Last reply Jan 31, 2018, 9:55 PM Reply Quote 0
                        • W
                          Wayne Workman @msi
                          last edited by Jan 31, 2018, 9:55 PM

                          @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 T 2 Replies Last reply Jan 31, 2018, 10:17 PM Reply Quote 0
                          • M
                            msi Testers @Wayne Workman
                            last edited by Jan 31, 2018, 10:17 PM

                            @wayne-workman Sure, thanks

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tom Elliott @Wayne Workman
                              last edited by Jan 31, 2018, 11:50 PM

                              @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

                              G 1 Reply Last reply Jan 31, 2018, 11:56 PM Reply Quote 0
                              • G
                                george1421 Moderator
                                last edited by Jan 31, 2018, 11:54 PM

                                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
                                • G
                                  george1421 Moderator @Tom Elliott
                                  last edited by george1421 Jan 31, 2018, 5:57 PM Jan 31, 2018, 11:56 PM

                                  @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 W 2 Replies Last reply Feb 1, 2018, 1:28 AM Reply Quote 0
                                  • M
                                    msi Testers @george1421
                                    last edited by Feb 1, 2018, 1:28 AM

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

                                    W 1 Reply Last reply Feb 1, 2018, 2:47 AM Reply Quote 0
                                    • W
                                      Wayne Workman @msi
                                      last edited by Wayne Workman Jan 31, 2018, 8:51 PM Feb 1, 2018, 2:47 AM

                                      @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 Feb 5, 2018, 6:26 PM Reply Quote 0
                                      • W
                                        Wayne Workman @george1421
                                        last edited by Wayne Workman Jan 31, 2018, 8:58 PM Feb 1, 2018, 2:54 AM

                                        @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 Feb 1, 2018, 5:14 PM Reply Quote 0
                                        • M
                                          msi Testers @Wayne Workman
                                          last edited by Feb 1, 2018, 5:14 PM

                                          @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
                                          1 / 2
                                          • First post
                                            18/29
                                            Last post

                                          250

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project