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

Fog Multicast Sessions: What happens when a host in session is powered off and what happens when it is powered back on?

Scheduled Pinned Locked Moved
General Problems
5
22
3.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.
  • S
    Sebastian Roth Moderator
    last edited by Mar 29, 2018, 8:09 AM

    @Tom-Elliott Well that would definitely be an interesting project and I’ve thought about this as well when looking into this. But it’s a huge undertaking I am afraid. I’d schedule this on the wish list for FOG 2.0 at best.

    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
    • Z
      zacadams
      last edited by Mar 29, 2018, 3:08 PM

      @Sebastian-Roth where will I need to apply these options? I went to 420 on multicasttask.class.php but it was the end of a block?

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Mar 29, 2018, 8:09 PM

        @zacadams Well, which version of FOG are you running?!

        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

        Z 1 Reply Last reply Apr 4, 2018, 2:21 PM Reply Quote 0
        • Z
          zacadams @Sebastian Roth
          last edited by Apr 4, 2018, 2:21 PM

          @sebastian-roth sorry for the delayed response. We are currently running FOG 1.5.0

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Apr 5, 2018, 7:32 AM

            @zacadams Sorry, I meant below 421… see here. To add the --retries-until-drop option insert a field into the $buildcmd array. Let us know if you need assistance with coding.

            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

            Z 2 Replies Last reply Apr 9, 2018, 2:05 PM Reply Quote 0
            • S
              Szeraax @Tom Elliott
              last edited by Apr 7, 2018, 12:05 AM

              @tom-elliott

              have full controls

              This would be cool. I don’t use multicast currently cause I’ve used it on a prod network midday before… But, being able to do stuff like “rolling multicast” where the sender will start over for clients that joined later and get them all to completion ASAP (maybe that’s a thing that udpsender already does and I’ve missed it). etc.

              T 1 Reply Last reply Apr 7, 2018, 12:17 AM Reply Quote 0
              • T
                Tom Elliott @Szeraax
                last edited by Apr 7, 2018, 12:17 AM

                @szeraax by full controls I simple meant joining /leaving sessions/clients while still being able to image. Rolling multicast doesn’t make sense to me as it would cause the whole session to wait until the other “behind” are catching up. This would seem to be more appropriate, then, as a unicast. At least in my eyes. Of course as @Sebastian-Roth stated, this would be a massive undertaking just getting what I hope.

                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

                S 1 Reply Last reply Apr 7, 2018, 12:21 AM Reply Quote 0
                • S
                  Szeraax @Tom Elliott
                  last edited by Apr 7, 2018, 12:21 AM

                  @tom-elliott I mean rolling as in:

                  If the multicast is 50% done and a new client connects, it will begin writing at the same block as the others. Once all others complete, the storage node sees that there are clients who aren’t done. Asks them what block ranges they still need, and then gives out those blocks. Thus, I could start a multicast and join any number of clients while it is going. Assuming that the last one joins before the first one finishes, the total data sent would be less than 2x the image. Additionally, the first client was not slowed down in any way by the new clients joining.

                  a la, a feature that I think Ghost had once upon a time.

                  1 Reply Last reply Reply Quote 0
                  • Z
                    zacadams @Sebastian Roth
                    last edited by Apr 9, 2018, 2:05 PM

                    @sebastian-roth I apologize again they have had me bouncing around all last week so I haven’t had a change to test the
                    –retries-until-drop option yet. I’ll report back this morning about what I find.

                    1 Reply Last reply Reply Quote 1
                    • Z
                      zacadams @Sebastian Roth
                      last edited by Apr 10, 2018, 1:41 PM

                      @sebastian-roth that did not appear to do anything.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Apr 10, 2018, 3:07 PM

                        @zacadams What exactly did you try? Which values? Did the udp-sender calls on the FOG server look different according to the changes you made in the code? Check with ps ax | grep udp on the console while a multicast task is scheduled.

                        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

                        Z 2 Replies Last reply Apr 12, 2018, 3:27 PM Reply Quote 0
                        • Z
                          zacadams @Sebastian Roth
                          last edited by Apr 12, 2018, 3:27 PM

                          @sebastian-roth to line 421 I have changed to:

                          $buildcmd = array(
                                      UDPSENDERPATH,
                                      (
                                          $this->getBitrate() ?
                                          sprintf(' --max-bitrate %s', $this->getBitrate()) :
                                          null
                                      ),
                                      (
                                          $this->getInterface() ?
                                          sprintf(' --interface %s', $this->getInterface()) :
                                          null
                                      ),
                                      sprintf(
                                          ' --min-receivers %d',
                                          (
                                              $this->getClientCount() ?
                                              $this->getClientCount():
                                              self::getClass('HostManager')->count()
                                          )
                                      ),
                                      sprintf(' --max-wait %s', '%d'),
                                      (
                                          $address ?
                                          sprintf(' --mcast-data-address %s', $address) :
                                          null
                                      ),
                                      (
                                          $multicastrdv ?
                                          sprintf(' --mcast-rdv-address %s', $multicastrdv) :
                                          null
                                      ),
                                      sprintf(' --portbase %s', $this->getPortBase()),
                                      sprintf(' %s', $duplex),
                                      ' --ttl 32',
                                      ' --nokbd',
                                      ' --nopointopoint',
                                      ' --retries-until-drop retries 100',
                                  );
                          

                          This has been done to the main fog server and the fog storage node that will be performing the multicast session. The udp-sendercalls did look different in the logs as well.

                          1 Reply Last reply Reply Quote 0
                          • Z
                            zacadams
                            last edited by Apr 12, 2018, 3:30 PM

                            Oh lord I see what I may have done wrong, I need to remove the retries. Let me try this again this morning.

                            1 Reply Last reply Reply Quote 1
                            • Z
                              zacadams @Sebastian Roth
                              last edited by Apr 13, 2018, 4:03 PM

                              @sebastian-roth ok after fixing my error to the multicasttask.class.php I ran the 3 tests you suggested

                              • do not turn off any of the clients to see if it still is reliable

                              • pull the network cable of one of the clients while multicast is on for 5 seconds - see if that is enough for it to be dropped already

                              • turn off one of the clients while multicasting and see how long it takes for it to drop

                              During the first test, multicast worked normally and the new argument added to multicasttask.class.php was reflecting in the logs. During the second test pulling the network cable did not appear to drop the disconnected host, but upon plugging the network cable back in the session returned to normal speeds. During the last lest of powering a client off during a session, the multicast session came to a near halt and is only transferring at around 100 MBpm. I’ve left the session going all night and the session is still active and moving at the throttled pace.

                              1 Reply Last reply Reply Quote 0
                              • 1
                              • 2
                              • 1 / 2
                              1 / 2
                              • First post
                                18/22
                                Last post

                              271

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project