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

    Replication

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    4
    305
    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.
    • C
      craig.stephens
      last edited by

      Hi,

      I have just setup a storage group with two nodes. One if the master, the other isn’t.

      Replication starts and I can see the files being ftp’d from the master to the other node.

      However, when the copying of any of the images completes, it immediately restarts the copy of the image. Is this normal behaviour?

      Also, when the replication has completed, should I see the images on the node that they were replicated to, without having to import them?

      Thanks.

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @craig.stephens
        last edited by

        @craig-stephens said in Replication:

        However, when the copying of any of the images completes, it immediately restarts the copy of the image. Is this normal behaviour?

        No this is not normal. Is your storage node the same version of FOG as your master node? Is your storage node a NAS? The FOG replicator makes a call to the storage node over http to confirm the file size to know if the file made it correctly. If this call is unanswered it might restart the replication.

        Also it would be good to know what version of FOG you are running.

        Also, when the replication has completed, should I see the images on the node that they were replicated to, without having to import them?

        This makes me think you are not using a master storage node configuration. Remember fog images have 2 parts one is the raw data files and the other is the database meta data. For a FOG storage node or a nas functioning as a storage node, the database is on the master node. So all storage nodes know right away about the meta data. If the remote storage node is actually a full fog server then you will need to import the metadata into the database of the remote fog server via using the web ui.

        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
        • S
          Sebastian Roth Moderator
          last edited by

          @craig-stephens Please provide the full replication log you find in /var/log/fog/... on your master server.

          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
          • C
            craig.stephens
            last edited by

            Hi,

            Thanks george1421. The second storage node was running 1.5.6. As it is still in a test environment, I completely rebuilt it from scratch. All working fine now.

            Yes, the remote storage node is a full FOG server, so I will export / import the metadata.

            Thanks again 🙂

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

            223

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project