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

Multicast with multi-NIC FOG server

Scheduled Pinned Locked Moved Solved
FOG Problems
4
12
1.3k
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.
  • B
    benjamind
    last edited by Aug 23, 2019, 3:58 PM

    Hello,

    I’m trying to configure a FOG server to deploy images by multicast in different VLAN. The server has many virtual network interfaces for each VLAN.

    I have change the interface from ens18 to ens19 in FOG Configuration => FOG Settings => Multicast Settings but when i start a deployement task it still uses the “main” interface as i hace see it in the /opt/fog/log/multicast.log :

    /usr/local/sbin/udp-sender --interface ens18 --min-receivers 13 --max-wait 600 --portbase 53250 --full-duplex --ttl 32 --nokbd --nopointopoint --file /images/ISYS_W10_AvecSoftsPartition1/d1p1.img;
    

    Did i forget something ?

    Thaank you in advance for your help.

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by Aug 23, 2019, 5:56 PM

      The “UDPCAST INTERFACE” field should be the right one to use. I know there is also an “Interface” field in the storage node configuration too, but it should use the UDPCAST one. You can try setting the storage node configuration and see if it changes, or reboot the fog server to restart all of the services, its possible that the FOG Multicast Manager service only looks that “UDPCAST INTERFACE” when the service is first started. Sorry I don’t have an exact answer for you on this one.

      On a side note, if you had a multicast router setup (not your default VLAN router, but a mrouter) or an igmp proxy on your VLAN router, you could just have one interface and multicast to all subnets using it.

      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!

      B 1 Reply Last reply Aug 26, 2019, 8:15 AM Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Aug 23, 2019, 8:35 PM

        @benjamind said in Multicast with multi-NIC FOG server:

        I have change the interface from ens18 to ens19 in FOG Configuration => FOG Settings => Multicast Settings but when i start a deployement task it still uses the “main” interface as i hace see it in the /opt/fog/log/multicast.log :

        You need to restart the service to have it use the new setting: systemctl restart FOGMulticastManager

        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
        • E
          EduardoTSeoane
          last edited by EduardoTSeoane Aug 23, 2019, 3:09 PM Aug 23, 2019, 8:37 PM

          @benjamind @george1421

          I’m using a master and nodes configuration with a lot of multihomed locations (140 as goal) with between 2 and 9 VLANS for node.

          I solve this problem for my custom config with the procedure that i wrote on this link https://forums.fogproject.org/topic/13387/unable-to-change-multicast-nic/14 maybe it helps you.

          It works for me, but i’m using a custom multihomed nodes installation with a beta customized location plugin to do all tasks locally on the VLAN.

          I use custom modifications because if i try the next procedure i can get more than 350 locations/nodes.

          Using that procedure as basis i think:

          If you have a single multihomed master without nodes, maybe you can try to configure a StorageGroup for each VLAN, a StorageNode for each NIC and, using this data, a location for each VLAN and then configure pc’s on his VLAN location.

          “TAKE A LOT OF CARE ON DISABLE REPLICATION!!!.”

          If you need the Image replication service you can use a false user/password pair to avoid it or try to don’t assign images/snapins to that StorageGroups.

          Reason to think that. MulticastManager also use management node ip to select the multicast iface. I think that I saw this on my experiments. Maybe @Sebastian-Roth can confirm it.

          Try it at your own risk.

          Plz wrote the test results.

          1 Reply Last reply Reply Quote 0
          • B
            benjamind @george1421
            last edited by Aug 26, 2019, 8:15 AM

            @george1421

            I also have changed the storage node IP.

            I used to deploy via multicast over VLANs but our new Cisco Merka routers can’t do this unless there are stacked. Mines are in two different places.

            @Sebastian-Roth

            I have restarted the service and reboot the server with no effects. FOG still uses ens18 for multicast.

            @EduardoTSeoane

            The link you have provided seems to be broken.

            E 1 Reply Last reply Aug 29, 2019, 8:27 AM Reply Quote 0
            • E
              EduardoTSeoane @benjamind
              last edited by Aug 29, 2019, 8:27 AM

              @benjamind https://forums.fogproject.org/topic/13387/unable-to-change-multicast-nic

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Aug 29, 2019, 8:35 AM

                @EduardoTSeoane Ahhhhh, thanks for pointing this out! Funny I didn’t remember that one. Usually I do! Must have been a quite stressful part of the year back then.

                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
                • S
                  Sebastian Roth Moderator
                  last edited by Sep 5, 2019, 8:56 PM

                  @benjamind Is there anything we can do for you? You might want to post the full output of the command ip a s here so we know which interfaces you have and maybe try and find a solution.

                  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
                  • B
                    benjamind
                    last edited by Sep 6, 2019, 11:22 AM

                    Thank you @Sebastian-Roth,

                    I have deployed several FOG for each of my VLANs.

                    If i understand the link provided by @EduardoTSeoane , i have to change the Storage Node’s ip also ?

                    E 1 Reply Last reply Sep 8, 2019, 1:31 PM Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Sep 6, 2019, 7:18 PM

                      @benjamind May I still ask you to post the full output of the command ip a s. I don’t like to do all the guesswork.

                      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

                      B 1 Reply Last reply Sep 9, 2019, 7:56 AM Reply Quote 0
                      • E
                        EduardoTSeoane @benjamind
                        last edited by Sep 8, 2019, 1:31 PM

                        @benjamind It world for me bit i hace a little bit soecial case

                        1 Reply Last reply Reply Quote 0
                        • B
                          benjamind @Sebastian Roth
                          last edited by Sep 9, 2019, 7:56 AM

                          Hi @Sebastian-Roth and @EduardoTSeoane,

                          Thank you for your answers.

                          @Sebastian-Roth said in Multicast with multi-NIC FOG server:

                          @benjamind May I still ask you to post the full output of the command ip a s. I don’t like to do all the guesswork.

                          Sorry, but i have removed the virtual NIC to put the server directly in the subnet of the machines.

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

                          171

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project