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

Fog Replication Not working

Scheduled Pinned Locked Moved Unsolved
FOG Problems
5
25
4.2k
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.
  • T
    Tom Elliott @Wayne Workman
    last edited by Jan 10, 2018, 3:56 AM

    @wayne-workman already known about and there’s a workaround fix for it somewhere around the forums. It has to do with replacing the plugin.class.php file

    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 1
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Jan 10, 2018, 4:26 AM Jan 10, 2018, 10:26 AM

      Probably George’s post here: https://forums.fogproject.org/post/100004

      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 1
      • O
        Obsidian
        last edited by Jan 10, 2018, 7:01 PM

        Thanks guys for all of the hard work that you do on this great program and also especially for Wayne taking time out to work on this with me last night!! I am going to try to get to finishing what we have started this week as well as the solution in the link by Sebastian and will let you know how it goes.

        1 Reply Last reply Reply Quote 1
        • O
          Obsidian
          last edited by Jan 10, 2018, 8:54 PM

          Okay I replaced the plugin.class.php file as suggested and that fixed the issue. I have added all of the sites back in and so far they are all talking and I believe all are replicating at this time. I will keep and eye on it this week and see how it goes.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Jan 10, 2018, 10:17 PM

            @Obsidian Great to hear your got it all back together with the help of Wayne! 🙂

            Please give us a quick update if it all works on Friday so we can mark this solved.

            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
            • O
              Obsidian
              last edited by Jan 15, 2018, 7:18 PM

              Okay so from what I can tell most (all but maybe one site) didn’t replicate all of the or most of the Windows 7 images the one that didn’t replicate I think is a pw issue so am not overtly concerned on it at this time. However I recaptured my Windows 10 image last week and so far at this time it has still not replicated. I looked at the sync logs on the storage nodes and the only showing in them is that it is not the master node. 😞

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Jan 15, 2018, 7:43 PM

                @Obsidian So do you still need help on this? If so, please provide more information like log files.

                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 1
                • W
                  Wayne Workman
                  last edited by Jan 15, 2018, 7:49 PM

                  /opt/fog/log/fogreplicator.log I think. Last 100 or so lines should be enough.

                  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
                  • O
                    Obsidian
                    last edited by Wayne Workman Jan 15, 2018, 2:24 PM Jan 15, 2018, 7:56 PM

                    This is from one of the storage nodes:

                     vi /opt/fog/log/fogreplicator.log
                    [01-15-18 2:39:05 am]  *  | This is not the master node
                    [01-15-18 2:49:05 am]  *  | This is not the master node
                    [01-15-18 2:59:05 am]  *  | This is not the master node
                    [01-15-18 3:09:05 am]  *  | This is not the master node
                    [01-15-18 3:19:05 am]  *  | This is not the master node
                    [01-15-18 3:29:05 am]  *  | This is not the master node
                    [01-15-18 3:39:05 am]  *  | This is not the master node
                    [01-15-18 3:49:05 am]  *  | This is not the master node
                    [01-15-18 3:59:05 am]  *  | This is not the master node
                    [01-15-18 4:09:05 am]  *  | This is not the master node
                    [01-15-18 4:19:05 am]  *  | This is not the master node
                    [01-15-18 4:29:05 am]  *  | This is not the master node
                    [01-15-18 4:39:05 am]  *  | This is not the master node
                    [01-15-18 4:49:05 am]  *  | This is not the master node
                    [01-15-18 4:59:05 am]  *  | This is not the master node
                    [01-15-18 5:09:05 am]  *  | This is not the master node
                    [01-15-18 5:19:05 am]  *  | This is not the master node
                    [01-15-18 5:29:06 am]  *  | This is not the master node
                    [01-15-18 5:39:06 am]  *  | This is not the master node
                    [01-15-18 5:49:06 am]  *  | This is not the master node
                    [01-15-18 5:59:06 am]  *  | This is not the master node
                    [01-15-18 6:09:06 am]  *  | This is not the master node
                    [01-15-18 6:19:06 am]  *  | This is not the master node
                    [01-15-18 6:29:06 am]  *  | This is not the master node
                    [01-15-18 6:39:06 am]  *  | This is not the master node
                    [01-15-18 6:49:06 am]  *  | This is not the master node
                    [01-15-18 6:59:06 am]  *  | This is not the master node
                    [01-15-18 7:09:06 am]  *  | This is not the master node
                    [01-15-18 7:19:06 am]  *  | This is not the master node
                    [01-15-18 7:29:06 am]  *  | This is not the master node
                    [01-15-18 7:39:06 am]  *  | This is not the master node
                    [01-15-18 7:49:06 am]  *  | This is not the master node
                    [01-15-18 7:59:06 am]  *  | This is not the master node
                    [01-15-18 8:09:06 am]  *  | This is not the master node
                    [01-15-18 8:19:07 am]  *  | This is not the master node
                    [01-15-18 8:29:07 am]  *  | This is not the master node
                    [01-15-18 8:39:07 am]  *  | This is not the master node
                    [01-15-18 8:49:07 am]  *  | This is not the master node
                    [01-15-18 8:59:07 am]  *  | This is not the master node
                    [01-15-18 9:09:07 am]  *  | This is not the master node
                    [01-15-18 9:19:07 am]  *  | This is not the master node
                    [01-15-18 9:29:07 am]  *  | This is not the master node
                    [01-15-18 9:39:07 am]  *  | This is not the master node
                    [01-15-18 9:49:07 am]  *  | This is not the master node
                    [01-15-18 9:59:07 am]  *  | This is not the master node
                    [01-15-18 10:09:07 am]  *  | This is not the master node
                    [01-15-18 10:19:07 am]  *  | This is not the master node
                    [01-15-18 10:29:07 am]  *  | This is not the master node
                    [01-15-18 10:39:07 am]  *  | This is not the master node
                    [01-15-18 10:49:07 am]  *  | This is not the master node
                    [01-15-18 10:59:07 am]  *  | This is not the master node
                    [01-15-18 11:09:07 am]  *  | This is not the master node
                    [01-15-18 11:19:07 am]  *  | This is not the master node
                    [01-15-18 11:29:07 am]  *  | This is not the master node
                    [01-15-18 11:39:07 am]  *  | This is not the master node
                    [01-15-18 11:49:08 am]  *  | This is not the master node
                    [01-15-18 11:59:08 am]  *  | This is not the master node
                    [01-15-18 12:09:08 pm]  *  | This is not the master node
                    [01-15-18 12:19:08 pm]  *  | This is not the master node
                    [01-15-18 12:29:08 pm]  *  | This is not the master node
                    [01-15-18 12:39:08 pm]  *  | This is not the master node
                    [01-15-18 12:49:08 pm]  *  | This is not the master node
                    [01-15-18 12:59:08 pm]  *  | This is not the master node
                    

                    Here is for the Master

                    [01-15-18 7:26:43 pm]  * Started sync for Image postdownloadscripts
                    [01-15-18 7:26:44 pm]  | postdownloadscripts: No need to sync fog.postdownload file to Frankfort
                    [01-15-18 7:26:44 pm]  | CMD:
                                            lftp -e 'set xfer:log 1; set xfer:log-file "/opt/fog/log/fogreplicator..transfer.Frankfort.log";set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; set net:limit-total-rate 0:3840000;set net:limit-rate 0:512000; mirror -c -r -R --ignore-time -vvv --exclude ".srvprivate" "/images/postdownloadscripts" "/images/postdownloadscripts"; exit' -u fog,[Protected] 10.13.1.16
                    [01-15-18 7:26:44 pm]  * Started sync for Image postdownloadscripts
                    [01-15-18 7:26:44 pm] | Replication already running with PID: 3885
                    [01-15-18 7:26:48 pm]  * Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 463, Message: ftp_login(): Login incorrect., Host: 10.7.1.16, Username: fog
                    [01-15-18 7:36:39 pm]  * Starting Image Replication.
                    [01-15-18 7:36:39 pm]  * We are group ID: 1. We are group name: default
                    [01-15-18 7:36:40 pm]  * We are node ID: 1. We are node name: Summit
                    [01-15-18 7:36:40 pm]  * Attempting to perform Group -> Group image replication.
                    [01-15-18 7:36:40 pm]  | Replicating postdownloadscripts
                    [01-15-18 7:36:40 pm]  * Found Image to transfer to 11 nodes
                    [01-15-18 7:36:40 pm]  | File Name: postdownloadscripts
                    [01-15-18 7:36:40 pm]  | 236 0 /images/postdownloadscripts/fog.postdownload
                    [01-15-18 7:36:40 pm]  | Files do not match.
                    [01-15-18 7:36:40 pm]  * Deleting remote file: /images/postdownloadscripts/
                    [01-15-18 7:36:41 pm]  * Starting Sync Actions
                    [01-15-18 7:36:41 pm]  | CMD:
                                            lftp -e 'set xfer:log 1; set xfer:log-file "/opt/fog/log/fogreplicator..transfer.Alsip.log";set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; set net:limit-total-rate 0:3840000;set net:limit-rate 0:512000; mirror -c -r -R --ignore-time -vvv --exclude ".srvprivate" "/images/postdownloadscripts" "/images/postdownloadscripts"; exit' -u fog,[Protected] 10.6.1.16
                    [01-15-18 7:36:41 pm]  * Started sync for Image postdownloadscripts
                    [01-15-18 7:36:42 pm]  | postdownloadscripts: No need to sync fog.postdownload file to Byron Center
                    [01-15-18 7:36:42 pm]  | CMD:
                                            lftp -e 'set xfer:log 1; set xfer:log-file "/opt/fog/log/fogreplicator..transfer.Byron Center.log";set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; set net:limit-total-rate 0:3840000;set net:limit-rate 0:512000; mirror -c -r -R --ignore-time -vvv --exclude ".srvprivate" "/images/postdownloadscripts" "/images/postdownloadscripts"; exit' -u fog,[Protected] 10.1.1.16
                    [01-15-18 7:36:42 pm]  * Started sync for Image postdownloadscripts
                    [01-15-18 7:36:44 pm]  | postdownloadscripts: No need to sync fog.postdownload file to Frankfort
                    [01-15-18 7:36:44 pm]  | CMD:
                                            lftp -e 'set xfer:log 1; set xfer:log-file "/opt/fog/log/fogreplicator..transfer.Frankfort.log";set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; set net:limit-total-rate 0:3840000;set net:limit-rate 0:512000; mirror -c -r -R --ignore-time -vvv --exclude ".srvprivate" "/images/postdownloadscripts" "/images/postdownloadscripts"; exit' -u fog,[Protected] 10.13.1.16
                    [01-15-18 7:36:44 pm]  * Started sync for Image postdownloadscripts
                    [01-15-18 7:36:44 pm] | Replication already running with PID: 3885
                    [01-15-18 7:36:47 pm]  * Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 463, Message: ftp_login(): Login incorrect., Host: 10.7.1.16, Username: fog
                    [01-15-18 7:46:40 pm]  * Starting Image Replication.
                    [01-15-18 7:46:40 pm]  * We are group ID: 1. We are group name: default
                    [01-15-18 7:46:40 pm]  * We are node ID: 1. We are node name: Summit
                    [01-15-18 7:46:40 pm]  * Attempting to perform Group -> Group image replication.
                    [01-15-18 7:46:40 pm]  | Replicating postdownloadscripts
                    [01-15-18 7:46:40 pm]  * Found Image to transfer to 11 nodes
                    [01-15-18 7:46:40 pm]  | File Name: postdownloadscripts
                    [01-15-18 7:46:41 pm]  | 236 0 /images/postdownloadscripts/fog.postdownload
                    [01-15-18 7:46:41 pm]  | Files do not match.
                    [01-15-18 7:46:41 pm]  * Deleting remote file: /images/postdownloadscripts/
                    [01-15-18 7:46:41 pm]  * Starting Sync Actions
                    [01-15-18 7:46:41 pm]  | CMD:
                                            lftp -e 'set xfer:log 1; set xfer:log-file "/opt/fog/log/fogreplicator..transfer.Alsip.log";set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; set net:limit-total-rate 0:3840000;set net:limit-rate 0:512000; mirror -c -r -R --ignore-time -vvv --exclude ".srvprivate" "/images/postdownloadscripts" "/images/postdownloadscripts"; exit' -u fog,[Protected] 10.6.1.16
                    [01-15-18 7:46:41 pm]  * Started sync for Image postdownloadscripts
                    [01-15-18 7:46:42 pm]  | postdownloadscripts: No need to sync fog.postdownload file to Byron Center
                    [01-15-18 7:46:42 pm]  | CMD:
                                            lftp -e 'set xfer:log 1; set xfer:log-file "/opt/fog/log/fogreplicator..transfer.Byron Center.log";set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; set net:limit-total-rate 0:3840000;set net:limit-rate 0:512000; mirror -c -r -R --ignore-time -vvv --exclude ".srvprivate" "/images/postdownloadscripts" "/images/postdownloadscripts"; exit' -u fog,[Protected] 10.1.1.16
                    [01-15-18 7:46:42 pm]  * Started sync for Image postdownloadscripts
                    [01-15-18 7:46:44 pm]  | postdownloadscripts: No need to sync fog.postdownload file to Frankfort
                    [01-15-18 7:46:44 pm]  | CMD:
                                            lftp -e 'set xfer:log 1; set xfer:log-file "/opt/fog/log/fogreplicator..transfer.Frankfort.log";set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; set net:limit-total-rate 0:3840000;set net:limit-rate 0:512000; mirror -c -r -R --ignore-time -vvv --exclude ".srvprivate" "/images/postdownloadscripts" "/images/postdownloadscripts"; exit' -u fog,[Protected] 10.13.1.16
                    [01-15-18 7:46:44 pm]  * Started sync for Image postdownloadscripts
                    [01-15-18 7:46:44 pm] | Replication already running with PID: 3885
                    [01-15-18 7:46:48 pm]  * Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 463, Message: ftp_login(): Login incorrect., Host: 10.7.1.16, Username: fog
                    
                    W 1 Reply Last reply Jan 15, 2018, 8:26 PM Reply Quote 0
                    • W
                      Wayne Workman @Obsidian
                      last edited by Wayne Workman Jan 15, 2018, 2:26 PM Jan 15, 2018, 8:26 PM

                      @obsidian said in Fog Replication Not working:

                      Message: ftp_login(): Login incorrect., Host: 10.7.1.16, Username: fog

                      That’s the problem. Doublecheck your passwords. Make sure the password is set correctly inside each storage node’s /opt/fog/.fogsettings file. Re-run the installer on those to correct the problem. The installer will update the node’s credentials in the database too (or should anyway).

                      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
                      • O
                        Obsidian
                        last edited by Jan 16, 2018, 3:20 PM

                        I will do that today. Would that stop the synchronization of the ones that are correct or will it only just not synchronize the one that is wrong and continue updating the ones that are correct?

                        W 1 Reply Last reply Jan 16, 2018, 4:00 PM Reply Quote 0
                        • W
                          Wayne Workman @Obsidian
                          last edited by Jan 16, 2018, 4:00 PM

                          @obsidian The ones that are correct stay correct.

                          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
                          • O
                            Obsidian
                            last edited by Jan 16, 2018, 4:34 PM

                            That is what I thought. So I am confused as to why the Windows 10 image has not replicated to the ones that are syncing.

                            W 1 Reply Last reply Jan 16, 2018, 8:04 PM Reply Quote 0
                            • W
                              Wayne Workman @Obsidian
                              last edited by Jan 16, 2018, 8:04 PM

                              @obsidian said in Fog Replication Not working:

                              So I am confused as to why the Windows 10 image has not replicated to the ones that are syncing.

                              I have no idea. Check the master node’s replication log. It should give a reason.

                              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
                              • 2
                              • 2 / 2
                              2 / 2
                              • First post
                                21/25
                                Last post

                              165

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project