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

    Multicast Procedure Questions

    Scheduled Pinned Locked Moved
    General
    4
    5
    506
    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.
    • F
      flipwalker
      last edited by

      Good afternoon,

      I’ve been using FOG for a year or two now and love it. However, one thing that still confounds me is how the multicast feature works. I have a couple (semi)specific questions:

      1. How does the ‘Timeout’ function? In previous imagine solutions I’ve used every time you join a new client to the multicast it restarts the timeout, but that doesn’t seem to fit the way I see FOG multicasts function.

      2. If clients don’t join catch the multicast before the timeout hits, they seem to just sit there patiently, not doing anything. Will the multicast restart at the end of the push, thereby catching the latecomers?

      3. I’ve tried using the ‘Multicast to group’ feature in the past(I think one version ago), but it never worked for me(and seemed to be broken on the coding side from feedback I had got at the time), and I haven’t tried with the current release, is it more functional at this point? Or is it a layer 8 issue on my side?

      I appreciate your patience and responses, I know most of this I could probably figure out by trial and error, but I’m extremely multi-hatted and short on time(aren’t we all?) and sometimes it’s easier just to get feedback from those who know rather than experimenting myself. (also, I hope these haven’t been answered before, I tried to search but that link seems to be broken for me…)

      Philip

      imt_fogI 1 Reply Last reply Reply Quote 0
      • imt_fogI
        imt_fog @flipwalker
        last edited by

        @flipwalker +1 for your question no. 3

        I also noted that behavior, and considered it as a configuration issue because we just started to deploy multicast on our core routers and switches. We want to deploy with multicast (ee have 1180 clients in about 50 lab rooms) and manually joining a session is quite annoying even in only one lab room.

        Hence I am willing to to dig a bit in the source code - if someone has an idea where to start I’d be thankful!

        BR
        Martin

        1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator
          last edited by george1421

          Lets see if I can address these based on what I know so far @Developers please correct me if I’m wrong.

          1. The multicast timeout is based on when the task is initiated on the FOG server. It doesn’t get reset as new clients join the stream. I can see the logic in your request to reset the counter on each client that joins the stream, but I can also see the value in having an absolute timer too.
          2. Not the multicast stream is one shot, if a client misses the stream it misses the stream. It might not be too hard to add this feature, but there would have to be some kind of trigger, like min clients not met otherwise I could see it looping forever or a new client possibly picking up on the wrong stream.
          3. I can’t speak to the multicast being broken, I wasn’t aware of this maybe a developer can chime in here. I know from a multicast standpoint it works out of the box when the client and fog server are on the same subnet. If you need to cross subnets then your subnet router needs to support multicasts or you need a multicast router to send traffic across. Successful multicasting is more dependent on your infrastructure capabilities than FOG related issues.

          [edit] thinking about this a bit more (reset timeout on connect), that would be the function of udpsend. Once FOG schedules the udpsend task, udpsend/udpreceive is managing the multicast stream. So if a timeout reset on connect is needed it will have to be added to the udpsend code, not specifically FOG.

          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!

          Tom ElliottT F 2 Replies Last reply Reply Quote 1
          • Tom ElliottT
            Tom Elliott @george1421
            last edited by

            @george1421 timer begins after the first machine connects to the udpsender

            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 2
            • F
              flipwalker @george1421
              last edited by

              @george1421 thank you for your responses. The timeout is fine the way it is, as long as I understand how it functions. Just need to turn it up while I join 100 clients to it. 😉 Though, since you say it’s probably a layer 8 problem on the group based multicast, I’ll try to find the time to run a few experiments on my side and see if it’s now working. I have a fairly simple network (air gaped single subnet educational lab), so that shouldn’t be the issue.

              The repeating multicast would be handy but, as you say, there are certainly potential issues there as well. Again, as long as I understand the mechanic I can work with it! Thanks again for your answers(and all your help in the past as well).

              Philip

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

              142

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project