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

    Sync between storage nodes to slow

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    6
    1.6k
    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
      Mikael
      last edited by

      What can we do about slow or interrupted image sync?

      We have one master node and four storage node out on slow WAN-links. They are all sharing the same base image that is synced over VPN.
      The problem is that it is not working. I think it’s because it is using FTP to sync? When I restart the FOGReplicator service all looks good for a while but after many hours it is not still finished.

      Can we utilize RSYNC instead?

      FOG 1.2 on Ubuntu 14.04
      Location Plugin
      One Master Storage node and four nodes. All on same storage group, sharing same images.

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

        What speeds can your WAN support?

        Can you run an iPerf test between the master and one of the nodes?

        Are all of your storage nodes on the same version of FOG that the master is on?

        Are the servers virtualized?

        Can you write down all of your location plugin settings - then remove the plugin, and then re-install the plugin and reset the settings?

        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
        • Tom ElliottT
          Tom Elliott
          last edited by

          FTP vs RSYNC, should not matter from a transferring data standpoint. The amount of time you’re going to spend initially transferring the files is going to be long regardless of the approach you take to try to accomplish the task.

          That said, you can use Rsync if you feel it necessary. Just stop the FOGImageReplicator (FOGReplicator) service then run your rsync commands.

          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
          • M
            Mikael
            last edited by

            When I run rsync manually with --progress it says about 200kB/s.
            All servers are on 1.2, virtualized in vmware ESXi 5.5.

            The big advantage with rsync is that is does not copy the whole file, only the changed bits, right? So that would be huge different when syncing big image files.

            Ok, then I will try and schedule rsync in crontab for my drivers and images.
            How can I then disable the service FOGReplicator alltogether? I do not want it to delete files and try to copy before rsync has finished.

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

              @Mikael said:

              How can I then disable the service FOGReplicator alltogether? I do not want it to delete files and try to copy before rsync has finished.

              In Ubuntu, it should be something similar to this perhaps… but I’m not sure so if it doesn’t work, don’t blame me lol… I wear a Red-Hat 🙂

              service FOGImageReplicator disable
              

              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
              • M
                Mikael
                last edited by

                OK, I will try this. Thanks!

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

                157

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project