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

    Wiki: Troubleshooting Multicast

    Scheduled Pinned Locked Moved
    Tutorials
    12
    29
    21.1k
    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.
    • C
      Chris
      last edited by

      [quote=“Blackout, post: 58, member: 1”][url]http://fogproject.org/wiki/index.php?title=Troubleshooting_a_multicast[/url]

      [code]udp-sender --file /opt/fog/log/multicast.log --ttl 1[/code]

      you should see [I]broadcasting control to:[/I] and it should be the highest address of the subnet your fogserver is on
      the line before that should say your fogserver ipaddress and the interface[/quote]

      Question, if the output of this command shows a different interface name to the one you are using, can I assume that this would be the cause of a problem? In my case, it indicates that it is using eth1 when the only exisiting interface is eth0, and while unicasting works, multicasting doesn’t.

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

        Hello,

        I work in a large organization and years ago, our old network admin did custom multicast setup for all of our sites. So, the standard broadcast address for our FOG server’s broadcast domain does not work.

        Unicast works though, like a charm!

        I need to change the multicast address to is 224.0.2.224 and I was told to use “streamport 7800”, whatever that is.

        I’m using Fedora 21 and the latest version of fog.

        If anyone can offer assistance, it’d be greatly appreciated.

        Thanks,
        Wayne

        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
        • W
          Wolfbane8653 Developer
          last edited by

          New page. I will be merging these wiki pages together.
          [url]http://fogproject.org/wiki/index.php/Multicasting[/url]

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

            [quote=“Wolfbane8653, post: 40833, member: 3362”]New page. I will be merging these wiki pages together.
            [url]http://fogproject.org/wiki/index.php/Multicasting[/url][/quote]

            I’ve reviewed both of those pages before you merged them. There aren’t any instructions to change the multicast data address.

            I’ve found instructions on other sites & forms but they are for FOG 0.32 and 0.33. I’m working with FOG 1.2.0 on Fedora 21 workstation. The files referenced here: [url]http://www.gravitycomputing.co.nz/fog-multicast-server-032/[/url] don’t exist on my installation.

            This site [url]http://www.digriz.org.uk/debian/freeghost[/url] towards the bottom mentions changing the multicast address on Debian, however when I open those files, they look nothing like what the site has.

            Thanks,
            Wayne

            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
            • W
              Wolfbane8653 Developer
              last edited by

              “Latest Version” is really r2901. Or are you saying the latest [U]Release[/U][U]?[/U]

              Tom is currently working on the multicast issue in the “Beta” of fog. There are multicast issues in 1.2.0 and some have been corrected in the beta.

              I have to say that this ability to “Change the Multicasting Address” is not a current feature. BUT you have sparked our interest.

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

                [quote=“Wolfbane8653, post: 40840, member: 3362”]“Latest Version” is really r2901. Or are you saying the latest [U]Release[/U][U]?[/U]

                Tom is currently working on the multicast issue in the “Beta” of fog. There are multicast issues in 1.2.0 and some have been corrected in the beta.

                I have to say that this ability to “Change the Multicasting Address” is not a current feature. BUT you have sparked our interest.[/quote]

                I’m happy to have sparked your interest to offer a feature that allows us to change the auto-calculated multicast address, because my network administrator is NOT going to update our (over 600) switches to a standard multicast configuration… He’s said so… lol, and I don’t blame him.

                So, without the ability to change the auto-calculated broadcast address to 224.0.2.224 with stream port set to 7800, I won’t be multicasting with FOG, ever.

                Pretty please with sugar on top!

                Thanks,
                Wayne

                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
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by

                  Also,

                  Just to suggest how the functionality should work, it should be in the fog configuration, via the management console. It should be added to “Multicast settings”

                  There should be a field in there for setting the Multicast address, however the default auto-calculated one that works for probably 99% of people should be there as default.

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

                    I understand what needs to be changed. I’ve already added it, but I’ll admit I haven’t tested it.

                    If you’d be willing and report back if it’s helping.

                    I’ve added two parts.

                    First is the Multicast Address to use. If it’s set, it should specify what to use, though I’m not 100% sure if th init needs to be directed as well, which I’m guessing it may be.

                    Second is the Multicast Port Override. Normally FOG creates tasks and it randomly generates a new port to allow multiple sessions as needed. However the override will not use random ports and will always use the override if set.

                    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
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      [quote=“Tom Elliott, post: 40849, member: 7271”]I understand what needs to be changed. I’ve already added it, but I’ll admit I haven’t tested it.

                      If you’d be willing and report back if it’s helping.

                      I’ve added two parts.

                      First is the Multicast Address to use. If it’s set, it should specify what to use, though I’m not 100% sure if th init needs to be directed as well, which I’m guessing it may be.

                      Second is the Multicast Port Override. Normally FOG creates tasks and it randomly generates a new port to allow multiple sessions as needed. However the override will not use random ports and will always use the override if set.[/quote]

                      I’d like to try it out. Where can I find the installer?
                      I’ll report back on how it goes.

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

                        [url]http://fogproject.org/wiki/index.php/Upgrade_to_trunk[/url]

                        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
                        • Wayne WorkmanW
                          Wayne Workman
                          last edited by

                          [quote=“Tom Elliott, post: 40882, member: 7271”][url]http://fogproject.org/wiki/index.php/Upgrade_to_trunk[/url][/quote]

                          I was able to get the version in Fog_Trunk going.

                          I saw the new multicast settings, that’s great.

                          Did have a few problems with NFS service, but I got them sorted out. The installer changed my configuration in /etc/exports and added a line to a directory that didn’t exist. I got rid of that, and set the settings back the way I had them for ProxyDHCP, then restarted NFS and all was well.

                          After that, I double checked the other files that I made custom changes to and they were all fine. I input my multicast settings & port number. Then gave the FOG server a reboot for good measure.

                          I created a multicast task to one client (a group with just one machine in it), and tried… and it doesn’t work… 😞

                          Got the same issue I had before. It gets to the partclone screen and just sits saying

                          "Starting to restore image (-) to device (/dev/sda1)

                          inside /opt/fog/log/multicast.log there aren’t any new errors… just old ones from the 13th saying “StorageNode Not found on this system.” I think that error was from when I was still figuring out how to get NFS, and FTP to work right for the imaging process…

                          Keeping in mind that unicast works for uploading & downloading… My images move from the /images/dev folder to the /images folder properly via FTP (that was a hard one to fix).

                          Where should I look next? OR, Tom Elliott, would you like to mess with the multicast feature more? I understand you made these changes YESTERDAY, and man are you quick! So there might be a glitch somewhere you overlooked… I’ll be patient, because you guys are awesome.

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

                            Can you PM me your Gmail Address?

                            I can try working out issues directly as these kinds of troubleshooting is much more useful in near realtime communications.

                            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
                            • Wayne WorkmanW
                              Wayne Workman
                              last edited by

                              This issue has been resolved. Tom got me going, big thanks!

                              I’ll be getting my installation documentation up on the wiki soon.

                              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
                              • J
                                jenesis
                                last edited by

                                [QUOTE]Got the same issue I had before. It gets to the partclone screen and just sits saying

                                "Starting to restore image (-) to device (/dev/sda1) [/QUOTE]

                                i am having this issue with multicast . upload/download images works ok ,but not multicast.
                                i do see one error that might be related and might not : “populating /dev using udev: udevd[2166]: error creating epoll fd: function not implemented”
                                any thoughts are welcome.
                                thanks
                                using svn 2966

                                1 Reply Last reply Reply Quote 0
                                • W
                                  Wolfbane8653 Developer
                                  last edited by

                                  Have you tried the refereed to wiki documentation yet?
                                  [url]http://fogproject.org/wiki/index.php/Multicasting[/url]

                                  Try the 1 client and then the 2 clients and please let us know of your results. [U]Usually[/U] we find that it is an environment setup issue and no an issue with Fog.

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jenesis
                                    last edited by

                                    i havemanualy managed to send the log file to two clients , that went well, but gunzip recieve command just loaded the partiton image 0.6.9 inteface instead of recieving the file

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      Wolfbane8653 Developer
                                      last edited by

                                      Do your [U]ALL[/U] network switches currently have portfast enabled? or is STP disabled?

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jenesis
                                        last edited by

                                        simple 10/100 switch [url]http://www.tp-link.com/en/products/details/?model=TL-SF1016DS[/url]
                                        just one , the server and the clients

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          Wolfbane8653 Developer
                                          last edited by

                                          [SIZE=3][FONT=Arial][COLOR=#333333]seems like a ‘dumb’ switch (“No configuring is required.”) so you are using fog as your dhcp also? you may want to try another switch, crossover cable test, or try using dnsmasq.[/COLOR][/FONT][/SIZE]

                                          [SIZE=2][FONT=Arial][COLOR=#333333][url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#DNSMASQ_settings_for_iPXE[/url][/COLOR][/FONT][/SIZE]

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            jenesis
                                            last edited by

                                            yes, the server is dhcp. i tried another switch , same resaults , i will test some more options, and update in the coming days.
                                            thanks

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

                                            251

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project