Fog: multicasting across subnets
-
So I’ve looked into this a bit and I’ve figured there are two ways to do this. One is to just have the switches configured to do such a thing, which were working on to no avail yet. We are able to ping other computers from different Vlans on our internal network so this should be possible. The second option would be to have a storage node in each Vlan. Which would be better and more functional to use, and how would one set this up? it would be ideal to be able to just use the one server, but either option is viable. Im running Ubuntu 14.04 with Fog Trunk.
-
@K.Hays said in Fog: multicasting across subnets:
That’s awesome actually i didn’t know that. How many computers can fog do max in this way, do you think?
As many as you wish. I limit mine to 2 to keep things moving along quickly - that way no computer takes hours, but each one takes about 5 minutes and they take turns. This is also easier on the server’s HDD as well.
For image deployment to many hosts at once using unicast, the server’s HDD speed is critical, along with it’s network speed. The switch’s internal throughput is also important.
-
Personally I’d set up multiple storage nodes, on per vlan. Otherwise you have to enable udp broadcast forwarding. The reason I’d opt for multiple nodes is the multicast traffic should already be able to reach the subnet its on leaving less configuration needed on your network architecture.
-
@Tom-Elliott We’re about to test setting up a storage node right now. How exactly does this make multicast able? Does the storage node just act like a segway from the server to the Vlan then?
-
@K.Hays said in Fog: multicasting across subnets:
Does the storage node just act like a segway from the server to the Vlan then?
No. The image data will exist on the storage node, and the storage node will send out the data via multicast.
However multicast is only possible from master nodes - so you will need to setup your nodes in a way that enables this - most likely each storage node/server being in it’s own storage group and being a master of that group, then you can share one image from the main server’s group to other groups.
-
How do I set up this storage node? Sorry for the dumb question but we loaded fog as a storage node and we think we put it on the fog server correctly but apparently not.
-
@K.Hays During the storage node installation, you choose
s
for storage node. It will ask for the main server’s IP, and it will ask for the main server’s mysql credentials to use - you find those inside the FOG Settings -> Storage Nodes area. At the end, it gives you a username and password at the end that you use to setup a new node in the web interface’s storage management area. -
@Wayne-Workman We got the node setup but multicast still doesnt work. We can unicast no problem.
-
@K.Hays it will do the same thing as before, and it just stops at the partclone screen.
-
@K.Hays is the stoage node in it’s own group, and set as a master? Is the image associated with the new group?
-
@Wayne-Workman yes,yes,and yes. We made sure of all that.
-
@K.Hays and you watched the image replicate? And it’s physically present on the new node?
You might also look this over: https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_Downloading_-_Multicast
-
@Wayne-Workman yeah i watched it but i didnt check the storage node itseld to see if it actually saved there. I cant see why it wouldnt have though unless its a problem some people have. I think it was set up correctly. We were able to image to and from it.
-
@K.Hays is the
FOGMulticastManager
running? Any logs about it in the log viewer? -
@Wayne-Workman When i try to enable FOGMulticastManager it tells me it fails.
Edit: Never mind, i stopped it then restarted it and now it says it’s running. -
@K.Hays said in Fog: multicasting across subnets:
@Wayne-Workman When i try to enable FOGMulticastManager it tells me it fails.
Inside of
/opt/fog/log
there are logs for the multicast manager. They are also accessible via the log viewer. Try to start the service, and then look at the logs - share what you find. -
@Wayne-Workman It says the image file was not found. Which is weird because we were able to unicast using that file.
specifically it said the task was found but it failed to execute because the image was not found. -
This post is deleted! -
@Wayne-Workman I found another log for multicast manager and it says “unable to locate udp sender”
-
@K.Hays Notifying a few folks that might be able to help.
-
Well here is the updated situation. As you know not too long ago we set up a fog server that could unicast and do all that across subnets no problem. Theoretically it should have been able to multicast (since we had a fog server up and running before which was able to do so, but it is currently and permanently inaccessible) but it would pause at the partclone screen. Then we decided to try storage nodes, as making modifications to the switches may be complicated at the moment. So we set up two different storage nodes in two different buildings, both with trunk and both set up AS storage nodes. They were loaded correctly and were also able to unicast too and from them, the images were physically stored on them also. When we tried to multicast though, it stopped again at the partclone screen. I’m assuming this is most likely a network issue, which we will be more able to solve this summer, as during the school year it gets complicated. But i just wanted to check to see if there is another solution, or possibly something that I am not doing correctly. Sorry for the influx of questions but it would be great if this was ready by the time we started summer maintenance.