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

    FOG 1.2.0 : Multicast : PXE clients freeze, no FOGMulticastManager service

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    6
    25
    14.8k
    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.
    • ch3iC
      ch3i Moderator @Jonathan Cool
      last edited by

      @Jonathan-Cool said:

      Hi everybody,

      I’m trying to Multicast work on my FOG Server but when i boot my clients on the PXE with multicast deploy feature, computers freeze on “Starting to restore image to device” screen.

      Basic informations :
      FOG Version : 1.2.0
      OS Version : Debian 7
      uname -a : Linux fog 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux

      foginstall.log : http://pastebin.com/w42B1DVs

      After some research, i found a link with some tests : https://wiki.fogproject.org/wiki/index.php/Multicasting

      and some good ideas on this forum like restart the multicast service but … when i try do restart the multicast service, Debian say “unrecognized service”.

      I can’t see any log into the fog interface (multicast, scheduler, replicator) and i can’t restart theses services … Debian say the same message …

      ls -la /etc/init.d : http://pastebin.com/38MWDUrL

      This is weird but Fog seem to have an uncomplete install … (unicast work like a charm) …

      Many thank for your help.

      (French user, sorry if my english is like a poop)

      Hi,

      Have you try to re run the installer ?

      I’m in Debian 7, and below FOG services in init.d :

      ls -l /etc/init.d/FOG*
      -rwxr-xr-x 1 root root 1942 mai   20 15:16 /etc/init.d/FOGImageReplicator
      -rwxr-xr-x 1 root root 2008 mai   20 15:16 /etc/init.d/FOGMulticastManager
      -rwxr-xr-x 1 root root 1854 mai   20 15:16 /etc/init.d/FOGScheduler
      -rwxr-xr-x 1 root root 1951 mai   20 15:16 /etc/init.d/FOGSnapinReplicator
      
      

      Regards,
      Ch3i.

      1 Reply Last reply Reply Quote 0
      • T
        Tune389
        last edited by Tune389

        I have the same problem on Debian 8, it worked few days ago.

        Fog Version: 1.3 (3388)

        ls -l /etc/init.d/FOG*
        -rwxr-xr-x 1 root root 1942 May 13 11:27 /etc/init.d/FOGImageReplicator
        -rwxr-xr-x 1 root root 2008 May 13 11:27 /etc/init.d/FOGMulticastManager
        -rwxr-xr-x 1 root root 1854 May 13 11:27 /etc/init.d/FOGScheduler
        -rwxr-xr-x 1 root root 1951 May 13 11:27 /etc/init.d/FOGSnapinReplicator
        

        okay nvm… a reinstallation solved the problem. 😄

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @Tune389
          last edited by

          @Tune389 said:

          I have the same problem on Debian 8, it worked few days ago.

          Fog Version: 1.3 (3388)

          ls -l /etc/init.d/FOG*
          -rwxr-xr-x 1 root root 1942 May 13 11:27 /etc/init.d/FOGImageReplicator
          -rwxr-xr-x 1 root root 2008 May 13 11:27 /etc/init.d/FOGMulticastManager
          -rwxr-xr-x 1 root root 1854 May 13 11:27 /etc/init.d/FOGScheduler
          -rwxr-xr-x 1 root root 1951 May 13 11:27 /etc/init.d/FOGSnapinReplicator
          

          okay nvm… a reinstallation solved the problem. 😄

          I doubt it worked a few days ago. Debian 8 switched to systemd startup over sysvinit. I haven’t coded anything to test for Ubuntu 15 or Debian 8. If it worked a few days ago, am I to guess you were running an earlier version of the OS when you installed fog? If not, how did you get it working?

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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 1
          • Jonathan CoolJ
            Jonathan Cool
            last edited by

            i will try to reinstall FOG 1.2 … but, if i reinstall the FOG, my parametres will be lost ?

            My stuff :
            Server :
            FOG Version : Running Version 1.5.9
            OS : Debian GNU/Linux 10
            FOG Client Version : 0.12
            Specifications :
            > All images are on a Synology NAS storage : mounted with NAS_ip:/images
            > French user :)
            > “If everything would work the first time, what would you have learned?”
            Challenges make knowledge growth … by George1421 ;)

            ch3iC 1 Reply Last reply Reply Quote 0
            • ch3iC
              ch3i Moderator @Jonathan Cool
              last edited by

              @Jonathan-Cool No

              1 Reply Last reply Reply Quote 0
              • Jonathan CoolJ
                Jonathan Cool
                last edited by

                Work in progress … After some difficulties, the install has terminated succesfully and now, i have FOGImageReplicator, FOGMulticastManager and FOGScheduler services.
                And, i can see logs with the FOG interface.
                Just for information :
                The first time when i tried to reinstall the FOG with ./installfog.sh, i checked “Internationlization” and … as you can see on the first log, the setup failed at this step : “Checking package: language-pack-it…Failed!”.
                I retried and uncheck the Internationalization and the script was complete sucessfully …

                You cas see the new installlog at this url : http://pastebin.com/38BvUMgj

                I reloaded a multicast deploy and have the same freeze with PXE clients … but, now, the multicast log wirte this : StorageNode Not found on this System.

                [05-21-15 2:06:38 pm] | StorageNode Not found on this system.
                [05-21-15 2:06:48 pm] | StorageNode Not found on this system.
                [05-21-15 2:06:58 pm] | StorageNode Not found on this system.
                [05-21-15 2:07:08 pm] | StorageNode Not found on this system.
                [05-21-15 2:07:18 pm] | StorageNode Not found on this system.

                For informations, i don’t use the default stoage node to store my FOG images but a NAS storage declared into the Storage Management interface.
                This NAS work perfectly with unicast.

                I think it’s a NAS problem maybe but i’m not sure.

                My stuff :
                Server :
                FOG Version : Running Version 1.5.9
                OS : Debian GNU/Linux 10
                FOG Client Version : 0.12
                Specifications :
                > All images are on a Synology NAS storage : mounted with NAS_ip:/images
                > French user :)
                > “If everything would work the first time, what would you have learned?”
                Challenges make knowledge growth … by George1421 ;)

                ch3iC 1 Reply Last reply Reply Quote 0
                • ch3iC
                  ch3i Moderator @Jonathan Cool
                  last edited by

                  @Jonathan-Cool

                  In french :

                  Je suppose que sur ton NAS tu as le NFS et le FTP de configuré avec un utilisateur FOG qui a le même mot de passe que sur l’installation de ton serveur FOG.

                  De ce fait le client PXE monte en NFS sur son /images (temporaire) ton node pour récupérer l’image.

                  Dans le cas du multicast c’est le NODE qui pousse l’image, hors ton NAS n’est pas un vrai STORAGE NODE à la sauce FOG.

                  Ch3i.

                  1 Reply Last reply Reply Quote 0
                  • T
                    tennosuke
                    last edited by

                    Same problem here with Ubuntu 14.04 server

                    Unicast works perfectly but multicast freezes
                    Any suggestions?

                    ch3iC 1 Reply Last reply Reply Quote 0
                    • ch3iC
                      ch3i Moderator @tennosuke
                      last edited by

                      @tennosuke same config ? Using a NAS as storage noce ?

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        tennosuke @ch3i
                        last edited by

                        @ch3i No, the images are on the fog server, on /images folder.

                        The config is ok… i think that the problem could be the switch, i’ll change it next monday and i’ll tell you if it’s solved.

                        Thanks

                        ch3iC 1 Reply Last reply Reply Quote 0
                        • ch3iC
                          ch3i Moderator @tennosuke
                          last edited by

                          @tennosuke said:

                          @ch3i No, the images are on the fog server, on /images folder.

                          The config is ok… i think that the problem could be the switch, i’ll change it next monday and i’ll tell you if it’s solved.

                          Thanks

                          https://wiki.fogproject.org/wiki/index.php/Cisco_Multi_Cast
                          https://wiki.fogproject.org/wiki/index.php/HPMulticast

                          1 Reply Last reply Reply Quote 0
                          • Jonathan CoolJ
                            Jonathan Cool
                            last edited by Jonathan Cool

                            @ch3i :
                            French : Merci pour ses précisions.
                            Effectivement, j’ai bien un user sur mon NAS et mon fog identique.

                            Pour le multicast, je comprend mieux la différence au niveau du NODE, merci.

                            Du coup, ça serait mon NAS qui ne serait pas configuré comme “un vrai STORAGE NODE à la sauce FOG” …

                            Est-ce possible de configurer mon NAS la sauce FOG ? existe-il de la doc ? (je vais faire des recherches là dessus).

                            Le risque est de casser une configuration unicast qui tourne plutôt bien avec de bon débits.

                            My stuff :
                            Server :
                            FOG Version : Running Version 1.5.9
                            OS : Debian GNU/Linux 10
                            FOG Client Version : 0.12
                            Specifications :
                            > All images are on a Synology NAS storage : mounted with NAS_ip:/images
                            > French user :)
                            > “If everything would work the first time, what would you have learned?”
                            Challenges make knowledge growth … by George1421 ;)

                            1 Reply Last reply Reply Quote 0
                            • T
                              TheKoR
                              last edited by

                              Regarde ce tuto :
                              https://forums.fogproject.org/topic/4813/how-to-use-fog-1-1-2-with-freenas-storage-node-9-1-1

                              Ubuntu 13.10 - Fog 1.3.0
                              XEON E5630 - 16 Go - 6To raid 5
                              Best download : 22Go in 23 sec
                              Avg rate : 4.5G/min on 20 unicasts at same time

                              ch3iC 1 Reply Last reply Reply Quote 0
                              • ch3iC
                                ch3i Moderator @TheKoR
                                last edited by

                                @TheKoR ça ne réglera pas le problème de multicast 😉 Le NAS n’est pas un vrai NODE FOG avec les services multicast qui vont vient.

                                1 Reply Last reply Reply Quote 0
                                • Jonathan CoolJ
                                  Jonathan Cool
                                  last edited by

                                  Hi.
                                  I follow the Multicast debug guide but, no better result :

                                  • on server : killall udp-sender

                                  • on server : udp-sender

                                  • server say : udp-sender 20120424

                                  • multicast logs on server say :
                                    "11:34:58.608529 Using mcast address xxx.xx.xx.xxx
                                    11:34:58.608671 UDP sender for /opt/fog/.fogsettings at xx.xx.xx.xx on eth0
                                    11:34:58.608694 Broadcasting control to xx.xx.xx.255

                                  • run debug task on client and boot PXE client

                                  • on client : udp-receiver

                                  • client say : udp-receiver 20120424

                                  • client say : UDP receiver for (stdout) at “ip client adr” on eth0

                                  • and nothing happened … 😕

                                  My stuff :
                                  Server :
                                  FOG Version : Running Version 1.5.9
                                  OS : Debian GNU/Linux 10
                                  FOG Client Version : 0.12
                                  Specifications :
                                  > All images are on a Synology NAS storage : mounted with NAS_ip:/images
                                  > French user :)
                                  > “If everything would work the first time, what would you have learned?”
                                  Challenges make knowledge growth … by George1421 ;)

                                  ch3iC 1 Reply Last reply Reply Quote 0
                                  • ch3iC
                                    ch3i Moderator @Jonathan Cool
                                    last edited by

                                    @Jonathan-Cool

                                    On the wiki : FOG uses a simple queuing system to prevent its storage servers from being overworked. If you have a single FOG storage node in FOG with a queue size of 10, then this means that if you unicast an image to 30 computers, only the first 10 computers will be imaged. The other 20 computers will be waiting “in queue” for an open slot.

                                    @Tom Elliott could you specify if it’s the main FOG server or FOG Storage node that I have the multicast service.

                                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @ch3i
                                      last edited by

                                      @ch3i said:

                                      @Jonathan-Cool

                                      On the wiki : FOG uses a simple queuing system to prevent its storage servers from being overworked. If you have a single FOG storage node in FOG with a queue size of 10, then this means that if you unicast an image to 30 computers, only the first 10 computers will be imaged. The other 20 computers will be waiting “in queue” for an open slot.

                                      @Tom-Elliott could you specify if it’s the main FOG server or FOG Storage node that I have the multicast service.

                                      Technically, all systems have the Multicast Service on them, it’s only the Master Storage node in the group that actually generates the Multicast command line informatoin.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      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

                                      ch3iC 1 Reply Last reply Reply Quote 1
                                      • ch3iC
                                        ch3i Moderator @Tom Elliott
                                        last edited by

                                        @Tom-Elliott If a NAS have not FOG installed as FOG STORAGE he can’t multicast if is it MASTER STORAGE ?

                                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                                        • Tom ElliottT
                                          Tom Elliott @ch3i
                                          last edited by

                                          @ch3i said:

                                          @Tom-Elliott If a NAS have not FOG installed as FOG STORAGE he can’t multicast if is it MASTER STORAGE ?

                                          That is about correct. Unless the NAS box is of a distribution that natively can support a real fog installation or somebody is able to port the udp-cast information and the service files to the NAS box, most likely it will not be easily possible.

                                          The best solution, in this case, is to simply make the NAS a “mounted” filesystem on a FOG System that is capable with a proper linux/(maybe bsd) distro.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                          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 1
                                          • Jonathan CoolJ
                                            Jonathan Cool
                                            last edited by Jonathan Cool

                                            Hi !
                                            Thank you for your answers Tom and ch3i.
                                            If i understood, the only solution is to delcare the NAS directly on the FOG server by using the /etc/fstab ?
                                            Like this : NAS_ip:/volume1/images /images nfs defaults 0 0
                                            and use the DefaultMember storage ?

                                            My stuff :
                                            Server :
                                            FOG Version : Running Version 1.5.9
                                            OS : Debian GNU/Linux 10
                                            FOG Client Version : 0.12
                                            Specifications :
                                            > All images are on a Synology NAS storage : mounted with NAS_ip:/images
                                            > French user :)
                                            > “If everything would work the first time, what would you have learned?”
                                            Challenges make knowledge growth … by George1421 ;)

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

                                            214

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project