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

Unable to change multicast nic.

Scheduled Pinned Locked Moved Solved
Bug Reports
5
14
864
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.
  • E
    EduardoTSeoane
    last edited by Jun 17, 2019, 1:38 PM

    @Fernando-Gietz @Sebastian-Roth

    I’m trying to enable multicast on my installation. And I have a problem.

    Trying to change nic on node definition or in fog settings dont change on the multicast command.

    FOG try to send the stream always from the eth0.

    All my nodes are multihomed with at least 3 VLANs, and eth0 is a management interface on the management network.

    I try to locate where the task get the nic to use but i can’t find it. Well i find some places but forcing manually by nic name and by nic ip dont works.

    Testing manually udp-sender and udp-location is multicast capable.

    The installation are Normal and Node v1.5.6

    Thanks in advance.

    1 Reply Last reply Reply Quote 0
    • F
      Fernando Gietz Developer
      last edited by Jun 17, 2019, 1:42 PM

      I don´t use storage nodes in my environmet but in the FOG settings -> Muklticast Settings -> UDPCAST INTERFACE you can config the network interface to send the multicast tasks.

      I don´t know if this configuration is global, the same for all storage nodes

      E 1 Reply Last reply Jun 17, 2019, 1:45 PM Reply Quote 0
      • E
        EduardoTSeoane @Fernando Gietz
        last edited by EduardoTSeoane Jun 17, 2019, 7:46 AM Jun 17, 2019, 1:45 PM

        @Fernando-Gietz
        This is the first i try but nothing, systemctl status FOGMulticastManager tellme than udp-sender is using eth0 and multicast continue to work on eth0.

        Same if i change the nic on the NodeStorage Definition.

        1 Reply Last reply Reply Quote 0
        • F
          Fernando Gietz Developer
          last edited by Jun 17, 2019, 1:53 PM

          In each node definition you can config the network interface, maybe there?

          E 1 Reply Last reply Jun 17, 2019, 2:32 PM Reply Quote 0
          • E
            EduardoTSeoane @Fernando Gietz
            last edited by Jun 17, 2019, 2:32 PM

            @Fernando-Gietz yes i try it but dont works.

            1 Reply Last reply Reply Quote 0
            • F
              Fernando Gietz Developer
              last edited by Jun 17, 2019, 2:35 PM

              I suppose that the multicast workrd to you well in the previous FOG version, no?

              E 1 Reply Last reply Jun 17, 2019, 2:53 PM Reply Quote 0
              • E
                EduardoTSeoane @Fernando Gietz
                last edited by EduardoTSeoane Jun 17, 2019, 8:54 AM Jun 17, 2019, 2:53 PM

                @Fernando-Gietz my previous version was 1.4.2 and we hsrdcode to force send by all nics. Current version is 1.5.6 without custom code. Only task typeedit location persidtengroups plugins

                1 Reply Last reply Reply Quote 0
                • E
                  EduardoTSeoane
                  last edited by Jun 17, 2019, 5:29 PM

                  @Fernando-Gietz @Sebastian-Roth @george1421

                  Testing something more.

                  If i change the Storage Node’s ip then yes, multicast works into associated nic.

                  What is the purpouse of the nic interface on Storage Node General?

                  G 1 Reply Last reply Jun 17, 2019, 6:01 PM Reply Quote 0
                  • G
                    george1421 Moderator @EduardoTSeoane
                    last edited by george1421 Jun 17, 2019, 12:02 PM Jun 17, 2019, 6:01 PM

                    @EduardoTSeoane Just so I’m clear on this.

                    If you set the Interface on the master node the FOG Multicaster sill picks eth0?
                    Storage Node General.png

                    Just as a reminder the FOGMulticaster service only runs on the Master node in a storage group, unless something has changed in the code recently. AFAIK you can not multicast from a storage node so the interface setting value on the storage node is not used.

                    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!

                    E 1 Reply Last reply Jun 20, 2019, 8:53 AM Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Jun 17, 2019, 6:37 PM

                      The interface setting on the server used to work for this, but it also caused issues if you had the wrong interface name.

                      Rather than deal with the interface naming for a task that needs to be exact, the IP of the fog server is used to automatically determine the interface to use for multicast tasks.

                      The interface setting in the GUI, now, basically just sets up the interface to check bandwidth from.

                      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

                      E 1 Reply Last reply Jun 20, 2019, 9:27 AM Reply Quote 0
                      • E
                        EduardoTSeoane @george1421
                        last edited by Jun 20, 2019, 8:53 AM

                        @george1421 @Tom-Elliott Thank’s for the response.

                        Yes, I see that, by the moment I solve that with a few of dirty code modifying the multicasttask.class.php file to write multicast into the desired interface.

                        I’ll be pleased to work in a plugin that can do it dinamically.
                        But I need information about the hooks at least.

                        Great job!!!.

                        1 Reply Last reply Reply Quote 0
                        • E
                          EduardoTSeoane @Tom Elliott
                          last edited by Jun 20, 2019, 9:27 AM

                          @Tom-Elliott Ok, I understand. That’s a problem to me because all the server’s ip on the service vlan’s are protected. Then i must have the StorageNode on the Management VLAN.

                          By the moment i’ve solved the problem like i said on the last post. It’s a valid solution for me. But when i have time i try to implement a plugin to handle this dinamically from the interface.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Jun 24, 2019, 6:21 AM

                            @EduardoTSeoane I am marking this solved for now although I am still not exactly sure what you mean by “That’s a problem to me because all the server’s ip on the service vlan’s are protected.”

                            If you still want to elaborate on this we need more information on what exactly you mean and the way you see FOG behaving in your environment.

                            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, 1:51 PM Aug 6, 2019, 9:31 AM

                              Adding a comment:

                              Currently we are using false nodes to change the multicast tasks. I mean

                              To make multicast tasks on desired vlan we are creating a second master node to the location’s storage group, with nic an ip assigned on the vlan that we want to do the task and with false user/password to avoid a redundant synchronization.

                              By the moment, this solution is working with version 1.5.6 of Master and Nodes.

                              The node must be precedent on alphabetic order to the real node.

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

                              207

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project