Wiki: Troubleshooting Multicast


  • [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.


  • 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.

  • Moderator

    [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]


  • [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.


  • 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


  • 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?


  • 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.

  • Developer

  • Developer

268
Online

8.1k
Users

15.0k
Topics

141.4k
Posts