Multicast problem



  • Hello, i have a problem multicasting the image in my network computers, i’´m using the 1.5.4 version. I have tested multicast in 1.5.2 version im my virtual machine(ZenServer) and worked fine in the first time i tested, but now, in this new version with clean install, i have this issue. When i start the image multicast process, the task start, but some seconds later, the taks just magically disappear from the tasks management. Opening the log viewer, i see this:

    [06-20-18 4:19:11 pm] * No tasks found!
    [06-20-18 4:19:22 pm] | Task (15) test1 is new!
    [06-20-18 4:19:22 pm] | Task (15) /images/Laboratorio-2-Teste image file found.
    [06-20-18 4:19:22 pm] | Task (15) test1 5 clients found.
    [06-20-18 4:19:22 pm] | Task (15) test1 sending on base port: 60540.
    [06-20-18 4:19:22 pm] | Command: /usr/local/sbin/udp-sender --interface eth1 --min-receivers 5 --max-wait 720 --mcast-data-address 172.16.0.9 --portbase 60540 --full-duplex --ttl 32 --nokbd --nopointopoint --file /images/Laboratorio-2-Teste/d1p1.img;/usr/local/sbin/udp-sender --interface eth1 --min-receivers 5 --max-wait 10 --mcast-data-address 172.16.0.9 --portbase 60540 --full-duplex --ttl 32 --nokbd --nopointopoint --file /images/Laboratorio-2-Teste/d1p2.img;
    [06-20-18 4:19:22 pm] | Task (15) test1 has started!
    [06-20-18 4:19:31 pm] | Cleaning 1 task as they have been removed
    [06-20-18 4:19:31 pm] | Task (15) test1 is being cleaned.
    [06-20-18 4:19:31 pm] | Task (15) test1 has been completed.
    [06-20-18 4:19:32 pm] * No tasks found!
    [06-20-18 4:19:42 pm] * No tasks found!

    0_1529522791678_fogg.png

    What is going on ? I really don’t know why Fog is doing this.
    Note: The clients don’t enter in the multicast session, that’s have no time for doing this, because the task start and a few seconds later(less than 10 seconds or 5)the tasks ends.

    Can anyone help me with this, i have really sad with this :(

    Thanks



  • Hello guys, here again returning for feedback.

    The multicast worked fine!! very good. Thanks for all devs and people who help us. Thanks!

    Now, as said in the first topic, i´m very happy with this and thinking of doing my course completion work(TCC in portuguese) of University graduate about the use of FOGServer in computers lab.



  • In our 2 machines of test, it seems now WORK the multicast!!! :DDDDDD

    Now, when our Computing Laboratory don´t have class(probably on Thursday), we will really use and test if the MULTICAST will now work full correctly! :)

    Thanks for the help @Tom-Elliott and I believe that this week I will give feedback on how everything happened and worked as expected.

    Very excited with this! \o/ :D


  • Senior Developer

    @igorpa2 Please edit FOG Configuration Page->FOG Settings->Multicast Settings->Rendezvous, set the field with the IP of your fog server.

    Restart the FOGMulticastManager service with: systemctl restart FOGMulticastManager, then restart the machines you’re attempting to multicast too.

    If multicast is allowed on your network, this should ensure all machines are looking at exactly the same point for recieving their data, otherwise it’s trying to go off the default multicast broadcast address, of, I think, 224.0.0.1, which if you have many switches may not like distributing across the whole network.



  • Just to do a feedback with the tests with WORKING branch, the multicast now show and continues showing after creating him, but for some reason, after the machines starting the imaging progress, the image don´t start freezing in the initial screen of the “partclone”. I see the multicast doesn’t stop after the timout configured, and the machines doens’t start the image. I tested in our LAN network and in our VLAN network and same have ocurred.

    Best regard, Igor.



  • @tom-elliott said in Multicast problem:

    This is a known issue with 1.5.4, and some versions earlier. Mind installing the working branch?

    The only change that’s there waiting for more input is exactly about multicast session, among all multicast tasks, being fixed. I hear it may not be perfect, but I’m unable to replicate the issue. You can’t have two multicast sessions of the same exact name running at the same time. (I think this is where the issue was, somebody started a second task with the same name as an already running task.)

    If you need help getting the working branch, please look here: https://wiki.fogproject.org/wiki/index.php?title=Getting_FOG#Getting_FOG

    @Tom-Elliott Yes, we are using in our work. But, we are 3 peoples and just me and my supervisor use the program. We use together and start just one task. Should we wait for a new version of Fog to come out, or is there still something to be done?

    We are going to install this working bench tomorrow and test this.

    Thanks!!


  • Senior Developer

    This is a known issue with 1.5.4, and some versions earlier. Mind installing the working branch?

    The only change that’s there waiting for more input is exactly about multicast session, among all multicast tasks, being fixed. I hear it may not be perfect, but I’m unable to replicate the issue. You can’t have two multicast sessions of the same exact name running at the same time. (I think this is where the issue was, somebody started a second task with the same name as an already running task.)

    If you need help getting the working branch, please look here: https://wiki.fogproject.org/wiki/index.php?title=Getting_FOG#Getting_FOG



  • @Sebastian-Roth
    Before send the Multicast image task.

    0_1529527709026_fogg1.PNG

    And After send the imagem Multicast task gone.

    0_1529527761202_fogg2.PNG


  • Developer

    @igorpa2 Can you please check if udp-sender is still running after the task is gone. Please run ps aux | grep sender and post output here.


 

354
Online

41.8k
Users

12.3k
Topics

116.0k
Posts