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

    Problems multicasting fog on different vlans

    Scheduled Pinned Locked Moved
    Linux Problems
    4
    35
    13.6k
    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.
    • Y
      Yamakazi @Wayne Workman
      last edited by Yamakazi

      @Wayne-Workman
      0_1464545636089_upload-cb30d58d-d8df-4b3e-89b1-bdf77da2dca7

      I know when you install fog it asks for a mysql password, but i’ve left that blank.

      Can i upgrade to the newer version? or do i need to do a fresh install?

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

        @Yamakazi You can do either. Both work. You’re using bert Switch to root with sudo -i and then try.

        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/

        Y 1 Reply Last reply Reply Quote 0
        • Y
          Yamakazi @Wayne Workman
          last edited by

          @Wayne-Workman

          I also tried as root user. Check the image 🙂

          Wayne WorkmanW 2 Replies Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @Yamakazi
            last edited by

            @Yamakazi sudo -i

            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 @Yamakazi
              last edited by Wayne Workman

              @Yamakazi Well if no password is set, root should have permission. Also - if root didn’t have permission, the fog web interface wouldn’t even work, as it uses local root access to MySQL.

              Check if you have a password set on the DB, the credentials FOG uses to access it are in /opt/fog/.fogsettings

              Also, you can check what’s set inside of config.class.php:
              cat /var/www/html/fog/lib/fog/config.class.php

              Additional reading:
              https://wiki.fogproject.org/wiki/index.php?title=Password_Central
              and
              https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL

              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/

              Y 1 Reply Last reply Reply Quote 0
              • Y
                Yamakazi @Wayne Workman
                last edited by Yamakazi

                @Wayne-Workman

                I did a fresh install and managed to get multicast working in the same subnet but not in different vlans.
                This is what i get when i’m in the database excuting those commands.

                0_1464628730218_Knipsel.PNG

                The .fogsettings file seems to be empty?
                Config file is below
                0_1464630238071_100.PNG
                0_1464630243183_101.PNG
                0_1464630247635_103.PNG

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

                  @Yamakazi Just a guess, but try manually typing those commands, since I’m guessing mysql only accepts either ` or ’ and not both.

                  Could also simply do

                  TRUNCATE TABLE multicastSessions;
                  TRUNCATE TABLE multicastSessionsAssoc;
                  DELETE FROM tasks WHERE taskTypeID=8;
                  

                  if you don’t care about any current multicast tasks.

                  Y 1 Reply Last reply Reply Quote 0
                  • Y
                    Yamakazi @Quazz
                    last edited by Yamakazi

                    @Quazz
                    0_1464634235818_foggg.PNG
                    hmmm it keeps giving these syntax errors

                    i also tried troubleshooting by sending an udp packet as explained in link text

                    And i the same subnet it is working. When i try it with a client in a different subent i get this

                    0_1464633615348_udp.PNG
                    The udp packet seems to stop there.

                    Y Q 2 Replies Last reply Reply Quote 0
                    • Y
                      Yamakazi @Yamakazi
                      last edited by

                      I Made a new very basic setup with just the fog server a router and a host. I configured the router to allow multicast.

                      I get the same result, everything is working: dhcp, unicast etc. Just not multicast. So i think fog is causing the problems. I’m just really lost what is wrong. FOGMulticastmanger is active and working, the multicast settings in the webinterface are all correct. Dhcp and the image are working fine. Mysql still remains a mystery to me though. I’ve got no experiecne with it on linux so.

                      Y 1 Reply Last reply Reply Quote 0
                      • Y
                        Yamakazi @Yamakazi
                        last edited by Yamakazi

                        From one of the wiki pages of fog it makes you check these files.

                        “Check the MySQL details in “/opt/fog/service/etc/config.php” are correct.
                        If not, correct them (they should be the same as in /var/www/fog/commons/config.php) and restart the service”

                        0_1464637923863_11.PNG
                        *
                        0_1464637968878_12.PNG

                        this can’t be right. There is not much in the first config.php file and the 2nd under commons doesn’t even exist.

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

                          @Yamakazi That wiki is outdated due to relatively recent changes I believe

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by

                            @Yamakazi said:

                            FOGMulticastmanger is active and working, the multicast settings in the webinterface are all correct.

                            Checked the multicast.log? Do you see udp-sender processes in ps ax | grep udp?

                            I might be wrong but I feel that this is not a general FOG issue as we have a lot of users who are running multicast imaging just fine. What if you connect one FOG server and two or three clients just with one simple dumb mini switch? Not router!

                            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

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

                              @Yamakazi Also, your syntax is indeed wrong.

                              You need to do

                              use fog;
                              

                              first. Then try and run those other commands after that.

                              1 Reply Last reply Reply Quote 0
                              • Y
                                Yamakazi @Sebastian Roth
                                last edited by Yamakazi

                                @Sebastian-Roth

                                UDP running
                                *
                                0_1464687805317_55.PNG

                                This is to different vlan. Is it normal it broadcasts to 224.0.0.1? Because i see in wireshark it doesn’t get further than the first router it encounters on 224.0.0.1 (see pic a few posts back)
                                *
                                0_1464687818559_56.PNG

                                To the same subnet multicast is working properly.
                                *
                                0_1464687920463_57.PNG

                                Was also able to clear mysql database but to no avail.
                                0_1464687946996_58.PNG

                                I already tested the setup in the same subnet and that works. I’m just don’t seems to get it to work on different subnets.

                                How does fog multicast? to which multicast address? Does it make a multicast address and lets clients join it? or is it a set multicast address? Because it’s sending to 224.0.0.1 atm, which seems a bit weird.

                                Q Y 2 Replies Last reply Reply Quote 0
                                • Q
                                  Quazz Moderator @Yamakazi
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • Y
                                    Yamakazi @Yamakazi
                                    last edited by Yamakazi

                                    @Yamakazi

                                    Alright it seems it has something to do with multicasting groups not properly reporting to eachother.

                                    When fog starts a multicast session it send to 224.0.0.1 but it stops there and doesn’t get forwarded to other clients in different subnets
                                    *
                                    0_1464690241700_60.PNG

                                    When in the same subnet, It manges to request to join that specific multicast group get the data en then again leaves the mcast group.
                                    Though it’s doing this directly with the fog server and not trough the general 224.0.0.1 which normally request host to join or leave a group.
                                    *
                                    0_1464690262811_61.PNG

                                    I know this is maybe not that fog related anymore, but we came this far already 🙂

                                    Hosts in a different vlan listen to 224.0.0.1 to report their status. For example
                                    *
                                    0_1464690465185_63.PNG

                                    Y 1 Reply Last reply Reply Quote 0
                                    • Y
                                      Yamakazi @Yamakazi
                                      last edited by

                                      Is it possible to change the multicast adress of fog somewhere? to something different then 224.0.0.1 ?

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

                                        @Yamakazi You can specify the multicast address, but not the broadcast address I think. This seems like a routing issue, not a FOG problem, but I don’t really know enough about networking to say for sure.

                                        Y 1 Reply Last reply Reply Quote 0
                                        • Y
                                          Yamakazi @Quazz
                                          last edited by

                                          @Quazz

                                          Where could i change the multicast adress? Haven’t seen it anywhere in the options.

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

                                            @Yamakazi Under Multicast settings - FOG_MULTICAST_ADDRESS default value is 0

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

                                            252

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project