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

    What happens with the traffic?

    Scheduled Pinned Locked Moved
    General
    5
    5
    1.0k
    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.
    • x23piracyX
      x23piracy
      last edited by

      Hi,

      as we all know the image traffic will always go to the master and will then replicated to nodes in same group.

      But what happens when master and storage node are not in the same group and image is defined to be saved in that group where the storage node belongs to? Will the traffic then go directly to the storage node?

      Regards X23

      ║▌║█║▌│║▌║▌█

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

        I believe it will send the data to whichever node is designated as master of the group the image is assigned to.

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

          @x23piracy, @Quazz We discussed this in chat last night.

          Images can be assigned multiple groups now. This is all the more reason for the “Primary Group” thing people are seeing.

          The way this works.

          Multicast tasks, and Upload tasks are always performed by the “Group’s Master Node”.

          In the case an image is associated to multiple groups, without using the location plugin, these same tasks will operate, but from the Primary Group’s Master Node. (I haven’t looked over the code strongly to give absolution to this, but, if I recall when coding all this, I’m fairly sure this is how I setup the functionality when introducing the “primary group”.

          Upload taskings behave a bit differently than Download though. Particularly with Location plugin.

          Without Location
          – Find the image’s primary group if associated to other groups
          – Find the group’s master node
          – Use the master node to perform the upload.
          With Location
          – Find the location’s group master
          – Use the master node to perform the upload.

          Why doesn’t upload send to the location’s designated node if present? It will, only if that node is the master of the group. Otherwise, the reason it uses the master is because of replication. Replication scan’s all subordinate nodes and replicates the master’s image set to the subordinate nodes. If there’s an image on a node that doesn’t exist on the master, it will be deleted.

          In the case of All other imaging taskings the basics are:

          Without Location
          – Find the image’s storage groups. If multiple use the primary group.
          – Find all node’s that have the image
          – Test the nodes to get which are not being used as much as another.
          – Use the “optimal” node to perform the image tasking.
          With Location – Only group defined
          – Find all node’s that have the image within the group that’s associated with the host.
          – Test the nodes to get which are not being used as much as another.
          – Use the “optimal” node to perform the image tasking
          With Location – Node defined
          – Make sure the node has the image
          – Perform the image tasking using that 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! 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 Wayne Workman

            Should definitely do to the wiki I rekon!

            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

            Wayne WorkmanW 1 Reply Last reply Reply Quote 1
            • Wayne WorkmanW
              Wayne Workman @Sebastian Roth
              last edited by Wayne Workman

              @Sebastian-Roth Added: https://wiki.fogproject.org/wiki/index.php?title=Location_Plugin

              Also, @Sebastian-Roth when things are hash tagged wiki, after I add them I edit the hash tag and remove the hash symbol. Just an FYI so you can do the same if you wanted.

              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 1
              • 1 / 1
              • First post
                Last post

              137

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project