• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Multicast deploying shutdown pc

    FOG Problems
    2
    4
    100
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gchartrandCRL last edited by

      Hi, I have a strange problem that is appears in last few days. When I try to deploy a image using multicast, after a randomly time, it can be 75% or 60% the PC shutdown completly. I try to explore log in fog but I can’t see anything.
      I have FOG 1.5.9 and try kernel 5.10.19 and 5.10.34 but nothing change.

      I try to deploy image on a HP Prodesk G4. I didn’t have time to deploy on another models.

      It’s work in unicast but it’s long to make all the lab in unicast instead of multicast.

      About 2 week ago I deploy in multicast without problem and we didn’t change any network configuration.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator last edited by

        @gchartrandCRL For multicast to work properly all the hosts need to be “in sync”. Notice that when all the machines boot up they all wait on the blue partclone screen for everyone to join before it actually starts.

        This is not only true for the first start but repeated on every partition. So all hosts need to wait and sync on the second, third, … partition. If a hosts arrives too late it can’t join this session and will drop out.

        On the first partition FOG’s multicast manager waits for FOG_UDPCAST_MAXWAIT * 60 seconds but for all the other partitions the wait time is set to 10 seconds. This is usually enough but in some cases causes problems.

        So to make a long story short, edit /var/www/html/fog/lib/service/multicasttask.class.php, jump to line 567 and change the value of 10 to 30 for example.

        Before the change:

                                $i == 0 ?
                                $maxwait * 60 :
                                10
        

        After the change:

                                $i == 0 ?
                                $maxwait * 60 :
                                30
        

        Cancel all multicast tasks (or let them run to the end) and restart your whole FOG server to make sure it’s in a clean state. Then schedule a new multicast task and see if the same thing happens again.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • G
          gchartrandCRL last edited by

          fog2.png fog1.png

          We try to monitor the multicast. After a moment, some machine freeze and screen didn’t update. The related machine in the active task is show 100% of deploy.

          The other machine we cancel the task to make it as unicast to continue our works.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator last edited by

            @gchartrandcrl said in Multicast deploying shutdown pc:

            When I try to deploy a image using multicast, after a randomly time, it can be 75% or 60% the PC shutdown completly.

            Did you see any error messages on screen? I expect something is going wrong and FOS errors out. There is no logging back to the FOG server when these issues happen. You need to be in front of the machine and take a picture of the error on screen.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            211
            Online

            10.4k
            Users

            16.4k
            Topics

            150.6k
            Posts

            Copyright © 2012-2023 FOG Project