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

    Replication of /images

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    12
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      It only replicates images. I believe you can actually create a template “image” definition, that simply points to the drivers directory. Mind you, replicating drivers can take a very long time, even if the drivers don’t take much disk space.

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

        Here’s a forum post asking about, more or less, the same thing. (I had to fix a problem with them initially of course.)

        https://forums.fogproject.org/topic/9158/replicating-drivers-across-fog-servers

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

          @tom-elliott said in Replication of /images:

          I believe you can actually create a template “image” definition, that simply points to the drivers directory.

          This is correct. Just make a Image name of Drivers, and point the path to /image/drivers (assuming the OP is following one of my how-tos). The drivers will replicate to the storage nodes. Depending on the volume of drivers (size) and your link speed between the FOG master node and the storage node, it make take some time (days maybe if over a WAN connection).

          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!

          UWPVIOLATORU 1 Reply Last reply Reply Quote 0
          • UWPVIOLATORU
            UWPVIOLATOR @george1421
            last edited by

            @george1421 @Tom-Elliott

            Created the template and it did not replicate. Is it case sensitive?

            0_1530533863714_810efd10-3953-490e-93a2-fd0d4135c9a5-image.png

            [07-02-18 4:38:12 am] * We are group ID: 1. We are group name: Master
            [07-02-18 4:38:12 am] * Starting Image Replication.
            [07-02-18 3:52:01 am] | File or path cannot be reached.
            [07-02-18 3:52:01 am] | Image Name: Drivers
            [07-02-18 3:52:01 am] * Not syncing Image between s
            [07-02-18 3:52:01 am] | File or path cannot be reached.
            [07-02-18 3:52:01 am] | Image Name: Drivers
            [07-02-18 3:52:01 am] * Not syncing Image between s
            [07-02-18 3:52:01 am] | File or path cannot be reached.
            [07-02-18 3:52:00 am] | Image Name: Drivers
            [07-02-18 3:52:00 am] * Not syncing Image between s
            [07-02-18 3:52:00 am] | File or path cannot be reached.
            [07-02-18 3:52:00 am] | Image Name: Drivers
            [07-02-18 3:52:00 am] * Not syncing Image between s
            [07-02-18 3:52:00 am] | File or path cannot be reached.
            [07-02-18 3:52:00 am] | Image Name: Drivers
            [07-02-18 3:52:00 am] * Not syncing Image between s
            [07-02-18 3:52:00 am] | File or path cannot be reached.
            [07-02-18 3:52:00 am] | Image Name: Drivers
            [07-02-18 3:52:00 am] * Not syncing Image between s
            [07-02-18 3:52:00 am] | File or path cannot be reached.
            [07-02-18 3:52:00 am] | Image Name: Drivers
            [07-02-18 3:52:00 am] * Not syncing Image between s
            [07-02-18 3:52:00 am] | Image Name: Drivers
            [07-02-18 3:52:00 am] * Found Image to transfer to 7 s
            [07-02-18 3:51:58 am] | Replication already running with PID: 16017
            
            Tom ElliottT george1421G 3 Replies Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @UWPVIOLATOR
              last edited by

              @uwpviolator the path would be case sensitive.

              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

              UWPVIOLATORU 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @UWPVIOLATOR
                last edited by

                @uwpviolator and from what I can tell is it’s in the process of replicating not that it’s failing to replicate.

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

                  @uwpviolator can you show us the output of ls /images If your directory is /images/drivers, then your image definition is wrong. As Tom posted, case is important.

                  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!

                  UWPVIOLATORU 1 Reply Last reply Reply Quote 0
                  • UWPVIOLATORU
                    UWPVIOLATOR @george1421
                    last edited by

                    @george1421 Yes I fixed that and it now looks like its replicating.

                    Now question. Can I tell this image (drivers) to replicate to other storage nodes other than our Master Group?

                    Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @UWPVIOLATOR
                      last edited by

                      @uwpviolator if you associate different storage groups to the definition it should replicate all over the place

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

                        @uwpviolator If you only want to replicate the drivers but not the images to this other storage groups, that will be difficult to do sanely.

                        You might want to use rsync just /images/drivers to other master nodes in each of the other storage groups. Then replication will happen as it does with your current storage group.

                        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
                        • UWPVIOLATORU
                          UWPVIOLATOR @Tom Elliott
                          last edited by

                          @tom-elliott @george1421 So it is taking forever to replicate just 1 Node drivers. We rsynced before but its almost copying every file again. What do we need to do to make the copies be the same and speed up replication? What does FOG use to check the file to see if it matches?

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

                          128

                          Online

                          12.2k

                          Users

                          17.3k

                          Topics

                          155.4k

                          Posts
                          Copyright © 2012-2024 FOG Project