FOG 1.2.0 : Multicast : PXE clients freeze, no FOGMulticastManager service
-
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/Linuxfoginstall.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)
-
@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/Linuxfoginstall.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. -
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.
-
@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?
-
i will try to reinstall FOG 1.2 … but, if i reinstall the FOG, my parametres will be lost ?
-
-
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.
-
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.
-
Same problem here with Ubuntu 14.04 server
Unicast works perfectly but multicast freezes
Any suggestions? -
@tennosuke same config ? Using a NAS as storage noce ?
-
@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
-
@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 -
@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.
-
-
@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.
-
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 …
-
-
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.
-
@ch3i said:
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.
-
@Tom-Elliott If a NAS have not FOG installed as FOG STORAGE he can’t multicast if is it MASTER STORAGE ?
-
@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.