Wiki: Troubleshooting Multicast
-
[url]http://fogproject.org/wiki/index.php?title=Cisco_Multi_Cast[/url]
[SIZE=6]Cisco Multicast[/SIZE]
-
-
I had trobles once with the file in /opt/fog/service/etc/config.php not containing the mySQL user/password.
I added the info in, restarted the service and it all began working. -
Hi guys,
I am having problem pushing multicast images to clients. When I start multicast deployment, boot clients from PXE, but will all hang at blue screen “Please Wait”. I checked my log viewer, and found error like “Failed to connect to database server, will try again in the next iteration. “
I have done all like changing Mysql password in /opt/fog/service/etc/config.php and /var/www/fog/……
I have done connect_timeout= 5000 but way out yet. I have used Ubuntu 8.04, 10.04 with FOG 0.27 and 0.32.
I could not find FOG database created in MySQL when I checked yet it prompts me for MySQL root user password twice during installation.
Can somebody help with suggestion? -
Dont know if you figured it out, but when you changed your fog password did you also do it on the OS as well?
I.E. sudo passwd fog -
[quote=“DJCminuz, post: 1571, member: 494”]Dont know if you figured it out, but when you changed your fog password did you also do it on the OS as well?
I.E. sudo passwd fog[/quote]
Yes!I solved the problem. It was a database issue. I had to create a new FOG user and password in MySQL, then granted it root privileges over FOG Database. So, that was it. I posted my solution in one of the threads here. -
[quote=“adepo331, post: 1576, member: 431”]Yes!I solved the problem. It was a database issue. I had to create a new FOG user and password in MySQL, then granted it root privileges over FOG Database. So, that was it. I posted my solution in one of the threads here.[/quote]
[URL=‘http://fogproject.org/forum/threads/slow-multicast.217/’]yes that is how I solved my issue http://fogproject.org/forum/threads/slow-multicast.217/[/URL]
-
In my case it was a switch issue. I have a small benchmark (1 W2K3 server, 1 FOG server, 1 FOG storage node, 1 desktop, 1 laptop, 1 OvisLink switch) and everything worked fine but multicasting.
When I first tried multicasting I was receiving the “Please wait” message. I had to modify the /etc/hosts file and change the current IP (127.0.0.1)[SIZE=4][FONT=Calibri] to the actual IP address. Example: “192.168.0.77 myfogserver”[/FONT][/SIZE]
[SIZE=4][FONT=Calibri]After this modificat[/FONT][FONT=Calibri]ion, i[/FONT][/SIZE]t deployed images with intermitent stops, lasting 2 hours more unicasting.
The first switch wasn’t manageable, so I tried with another switch (also OvisLink but manageable, although I didn’t need to manage it). Now it only lasts 20 minutes and deploys at 600+ MB/min. -
[quote=“Blackout, post: 58, member: 1”][url]http://fogproject.org/wiki/index.php?title=Troubleshooting_a_multicast[/url]
[code]udp-sender --file /opt/fog/log/multicast.log --ttl 1[/code]
you should see [I]broadcasting control to:[/I] and it should be the highest address of the subnet your fogserver is on
the line before that should say your fogserver ipaddress and the interface[/quote]Question, if the output of this command shows a different interface name to the one you are using, can I assume that this would be the cause of a problem? In my case, it indicates that it is using eth1 when the only exisiting interface is eth0, and while unicasting works, multicasting doesn’t.
-
Hello,
I work in a large organization and years ago, our old network admin did custom multicast setup for all of our sites. So, the standard broadcast address for our FOG server’s broadcast domain does not work.
Unicast works though, like a charm!
I need to change the multicast address to is 224.0.2.224 and I was told to use “streamport 7800”, whatever that is.
I’m using Fedora 21 and the latest version of fog.
If anyone can offer assistance, it’d be greatly appreciated.
Thanks,
Wayne -
New page. I will be merging these wiki pages together.
[url]http://fogproject.org/wiki/index.php/Multicasting[/url] -
[quote=“Wolfbane8653, post: 40833, member: 3362”]New page. I will be merging these wiki pages together.
[url]http://fogproject.org/wiki/index.php/Multicasting[/url][/quote]I’ve reviewed both of those pages before you merged them. There aren’t any instructions to change the multicast data address.
I’ve found instructions on other sites & forms but they are for FOG 0.32 and 0.33. I’m working with FOG 1.2.0 on Fedora 21 workstation. The files referenced here: [url]http://www.gravitycomputing.co.nz/fog-multicast-server-032/[/url] don’t exist on my installation.
This site [url]http://www.digriz.org.uk/debian/freeghost[/url] towards the bottom mentions changing the multicast address on Debian, however when I open those files, they look nothing like what the site has.
Thanks,
Wayne -
“Latest Version” is really r2901. Or are you saying the latest [U]Release[/U][U]?[/U]
Tom is currently working on the multicast issue in the “Beta” of fog. There are multicast issues in 1.2.0 and some have been corrected in the beta.
I have to say that this ability to “Change the Multicasting Address” is not a current feature. BUT you have sparked our interest.
-
[quote=“Wolfbane8653, post: 40840, member: 3362”]“Latest Version” is really r2901. Or are you saying the latest [U]Release[/U][U]?[/U]
Tom is currently working on the multicast issue in the “Beta” of fog. There are multicast issues in 1.2.0 and some have been corrected in the beta.
I have to say that this ability to “Change the Multicasting Address” is not a current feature. BUT you have sparked our interest.[/quote]
I’m happy to have sparked your interest to offer a feature that allows us to change the auto-calculated multicast address, because my network administrator is NOT going to update our (over 600) switches to a standard multicast configuration… He’s said so… lol, and I don’t blame him.
So, without the ability to change the auto-calculated broadcast address to 224.0.2.224 with stream port set to 7800, I won’t be multicasting with FOG, ever.
Pretty please with sugar on top!
Thanks,
Wayne -
Also,
Just to suggest how the functionality should work, it should be in the fog configuration, via the management console. It should be added to “Multicast settings”
There should be a field in there for setting the Multicast address, however the default auto-calculated one that works for probably 99% of people should be there as default.
-
I understand what needs to be changed. I’ve already added it, but I’ll admit I haven’t tested it.
If you’d be willing and report back if it’s helping.
I’ve added two parts.
First is the Multicast Address to use. If it’s set, it should specify what to use, though I’m not 100% sure if th init needs to be directed as well, which I’m guessing it may be.
Second is the Multicast Port Override. Normally FOG creates tasks and it randomly generates a new port to allow multiple sessions as needed. However the override will not use random ports and will always use the override if set.
-
[quote=“Tom Elliott, post: 40849, member: 7271”]I understand what needs to be changed. I’ve already added it, but I’ll admit I haven’t tested it.
If you’d be willing and report back if it’s helping.
I’ve added two parts.
First is the Multicast Address to use. If it’s set, it should specify what to use, though I’m not 100% sure if th init needs to be directed as well, which I’m guessing it may be.
Second is the Multicast Port Override. Normally FOG creates tasks and it randomly generates a new port to allow multiple sessions as needed. However the override will not use random ports and will always use the override if set.[/quote]
I’d like to try it out. Where can I find the installer?
I’ll report back on how it goes. -
-
[quote=“Tom Elliott, post: 40882, member: 7271”][url]http://fogproject.org/wiki/index.php/Upgrade_to_trunk[/url][/quote]
I was able to get the version in Fog_Trunk going.
I saw the new multicast settings, that’s great.
Did have a few problems with NFS service, but I got them sorted out. The installer changed my configuration in /etc/exports and added a line to a directory that didn’t exist. I got rid of that, and set the settings back the way I had them for ProxyDHCP, then restarted NFS and all was well.
After that, I double checked the other files that I made custom changes to and they were all fine. I input my multicast settings & port number. Then gave the FOG server a reboot for good measure.
I created a multicast task to one client (a group with just one machine in it), and tried… and it doesn’t work…
Got the same issue I had before. It gets to the partclone screen and just sits saying
"Starting to restore image (-) to device (/dev/sda1)
inside /opt/fog/log/multicast.log there aren’t any new errors… just old ones from the 13th saying “StorageNode Not found on this system.” I think that error was from when I was still figuring out how to get NFS, and FTP to work right for the imaging process…
Keeping in mind that unicast works for uploading & downloading… My images move from the /images/dev folder to the /images folder properly via FTP (that was a hard one to fix).
Where should I look next? OR, Tom Elliott, would you like to mess with the multicast feature more? I understand you made these changes YESTERDAY, and man are you quick! So there might be a glitch somewhere you overlooked… I’ll be patient, because you guys are awesome.
-
Can you PM me your Gmail Address?
I can try working out issues directly as these kinds of troubleshooting is much more useful in near realtime communications.