Multicast with multi-NIC FOG server
-
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.
-
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.
-
@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
-
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.
-
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.
I have restarted the service and reboot the server with no effects. FOG still uses ens18 for multicast.
The link you have provided seems to be broken.
-
-
@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.
-
@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. -
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 ?
-
@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. -
@benjamind It world for me bit i hace a little bit soecial case
-
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.