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

    Storage Management (Usage / Slow)

    Scheduled Pinned Locked Moved Unsolved
    General
    5
    25
    9.7k
    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.
    • Q
      Quazz Moderator @ITCC
      last edited by Quazz

      @ITCC You’ll need a storage group for each location and assign the image to both groups, with the main office being the main storage group so FOG knows in which direction to replicate.

      Please refer to Tom’s answer instead

      Tom ElliottT 1 Reply Last reply Reply Quote 1
      • Tom ElliottT
        Tom Elliott @Quazz
        last edited by

        @Quazz Correction:

        You need a storage group layout that’s for your locations. Nodes can be assigned to those different groups to create a kind of “load-balancing” system.

        A location can be defined as a Group nodes are associated with their respective groups. If you really need to associate a particular Node for a host, you can still do so without necessarily requiring a new group as a part of that location. The only issue I see this posing is while a host may be designated to go to a particular node, other hosts might use that same node as it’s a part of the same 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! 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
        • I
          ITCC
          last edited by ITCC

          I think i have made good progress, but would like to check with you.
          (watched the video)

          So i want a remote site (Junior Node) to deliver images to PC’s on that site and not to the Senior Node. (also don’t want the Senior to try and pick an image from Junior Node… do i want to split the Groups?)
          I’m currently not getting replication (Added note 30 mins ago)

          0_1467980814235_upload-0f102a98-75eb-4ae7-a8fb-bb5ae391c012

          0_1467980833617_upload-870e40d7-647e-4bc1-a152-e312c3998a24

          0_1467980975850_upload-356e851b-8baf-480b-99c0-ad677dec01bd

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

            @ITCC What OS is fog running on? I need to know to give you commands to check stuff.

            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
            • I
              ITCC
              last edited by

              Debian based

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

                @ITCC What is the output of service FOGImageReplicator restart and service FOGImageReplicator status and tail -100f /opt/fog/log/fogreplicator.log

                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
                • I
                  ITCC
                  last edited by

                  on the new node the status is down.
                  does it pull or push from master?

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

                    Sorry for the small picture but this happens now when imaging anything.
                    0_1467986827888_upload-a8479cf7-1631-4d7a-a017-c72583f786fb

                    Sorry foe the small view.
                    Says windows 7 when windows10
                    and Attepting to check in

                    FOG VER

                    Fri Jul 08, 2016 15:07 pm
                    Running Version 8479
                    SVN Revision: 5864

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

                      @ITCC said in Storage Management (Usage / Slow):

                      on the new node the status is down.
                      does it pull or push from master?

                      Execute those on the master node.

                      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
                      • I
                        ITCC
                        last edited by

                        i’ll complete tomorrow and reply with log output.

                        1 Reply Last reply Reply Quote 0
                        • I
                          ITCC
                          last edited by

                          LOOKING GOOD THIS TIME,

                          [07-11-16 9:32:59 am]
                          ___ ___ ___
                          /\ \ /\ \ /\
                          /::\ \ /::\ \ /::\
                          /:/:\ \ /:/:\ \ /:/:\
                          /::-:\ \ /:/ 😕 \ /:/ 😕
                          /:/:\ :_\ /:/__/ :_\ /://:_
                          /
                          😕 // 😕 \ /:/ / 😕 /\ //
                          :_\ 😕 /:/ / 😕 :_
                          // :/:/ / :/:/ /
                          ::/ / ::/ /
                          /
                          / /__/

                          ###########################################
                          Free Computer Imaging Solution
                          ###########################################

                          [07-11-16 9:33:00 am] Interface Ready with IP Address: 80.175.66.162
                          [07-11-16 9:33:00 am] Interface Ready with IP Address: 192.168.39.6
                          [07-11-16 9:33:00 am] Interface Ready with IP Address: fog-server.churcherscollege.local
                          [07-11-16 9:33:00 am] Interface Ready with IP Address: mail.churcherscollege.com
                          [07-11-16 9:33:00 am] * Starting ImageReplicator Service
                          [07-11-16 9:33:00 am] * Checking for new items every 600 seconds
                          [07-11-16 9:33:00 am] * Starting service loop
                          [07-11-16 9:33:00 am] * Starting Image Replication.
                          [07-11-16 9:33:00 am] * We are group ID: #1
                          [07-11-16 9:33:00 am] | We are group name: DefaultGroup
                          [07-11-16 9:33:00 am] * We have node ID: #1
                          [07-11-16 9:33:00 am] | We are node name: 1- Senior School
                          [07-11-16 9:33:00 am] | Not syncing Image: JDT1.8
                          [07-11-16 9:33:00 am] | This is not the primary group
                          [07-11-16 9:33:00 am] * Found Image to transfer to 2 node(s)
                          [07-11-16 9:33:00 am] | Image name: JDT1.8
                          [07-11-16 9:33:01 am] * Starting Sync Actions
                          [07-11-16 9:33:01 am] | CMD:
                          lftp -e ‘set ftp:list-options -a;set net:max-retries 10;set net:timeout 30; mirror -c -R --ignore-time -vvv --exclude ‘dev/’ --exclude ‘ssl/’ --exclude ‘CA/’ --delete-first /images/JDT18 /images/JDT18; exit’ -u fog,[Protected] 192.168.39.5
                          [07-11-16 9:33:01 am] * Started sync for Image JDT1.8

                          1 Reply Last reply Reply Quote 0
                          • I
                            ITCC
                            last edited by

                            I want to make sure the locations don’t run from each other.
                            what do i need to do to make sure the Junior only takes from the server in the JS?

                            I ask as my StorageGroup says free 20 (19 as imaging now)

                            0_1468227216837_upload-9f156814-c9ba-4d98-a16d-865055d6dc71

                            1 Reply Last reply Reply Quote 0
                            • I
                              ITCC
                              last edited by

                              i’ve noticed that the main server is sending the image to the node and then the node is downloaded the image to machines that are not on the JS site. (this image is also not replicated to the node, in this example)

                              Q 1 Reply Last reply Reply Quote 0
                              • Q
                                Quazz Moderator @ITCC
                                last edited by

                                @ITCC You’ll probably want to use the location plugin.

                                1 Reply Last reply Reply Quote 0
                                • I
                                  ITCC
                                  last edited by

                                  on the video it states that selecting a host location “locks” the machine to that server.
                                  This doesn’t seem to be the case.

                                  Please advise.

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    ITCC
                                    last edited by

                                    Location plugin installed, just trying to configure not to use WAN for anything other than replication.

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

                                      @ITCC The image I see says Junior is the node transmitting data.

                                      I don’t know what the exact layout is. If Senior and Junior nodes are part of the same group AND the location is only defined to use the Group, AND the hosts are associated to that location, OR The hosts are not associated to the location, the imaging will happen in a load balanced mode.

                                      I guess I’d need to see an example of the tasking, and the host with its location setting and the location definition.

                                      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
                                      • I
                                        ITCC
                                        last edited by

                                        Senior is master
                                        Junior is Node
                                        imageA set not to replicate (holds Senior Image)
                                        imageB set for replication
                                        Replication complete

                                        ImageA&B members of DefaultStorageGroup

                                        Storage Management - SS - Group = Default
                                        Storage Management - JS - Group = Default

                                        0_1468231920011_upload-56d7d226-b14a-4f46-9695-5a2e07815f27

                                        1 Reply Last reply Reply Quote 0
                                        • I
                                          ITCC
                                          last edited by

                                          when i image a PC in SS the image goes VIA the JS NODE and then to the host.

                                          Lee RowlettL 1 Reply Last reply Reply Quote 0
                                          • Lee RowlettL
                                            Lee Rowlett Developer @ITCC
                                            last edited by Lee Rowlett

                                            @ITCC to setup how you want so no image goes across the wan but replication, setup like below (Be mindful you will have no resillience and if JS is busy for example and you want to image a machine at JS it will wait rather than use SS - which by the sounds of things is how you want it to work anyway)

                                            Storage Group Definitions:
                                            Storage Group - SS
                                            Storage Group - JS

                                            Storage Node Definitions:
                                            Storage Node - SS - In Storage Group SS
                                            Storage Node - JS - In Storage Group JS

                                            Location Definitions:
                                            Location SS - Storage Node - SS - Storage Group - SS
                                            Location JS - Storage Node - JS - Storage Group - JS

                                            Image Definitions:
                                            ImageA - Storage Group - SS AND JS
                                            ImageA - Storage Group - SS AND JS
                                            make sure you tick whichever is primary (that you will upload your image to and want replication to come from)

                                            so Location JS will only have Node JS available and vice versa.

                                            You will be utilizing the use of Group to Group Replication which @TomElliott awesomely implemented sometime ago.

                                            Whenever you upload an image, whatever location you choose will be the node it uploads to, just make sure you do it to whichever you set as primary otherwise you newly upload image with be overwritten.

                                            Hope this helps

                                            Wayne WorkmanW 1 Reply Last reply Reply Quote 3
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            170

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project