FOG Multicast Problems / Partclone fails to finish
-
Here is the results from the ps command… It appears the service is running.
root@Fog:/# ps aux | grep FOGMulti
root 25118 0.0 0.2 203568 24940 ? S 12:43 0:00 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager
root 25121 0.0 0.1 283860 19628 ? S 12:43 0:00 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager
root 26380 0.0 0.0 15948 2244 pts/7 S+ 14:08 0:00 grep --color=auto FOGMulti -
@Joe-Gill It appears twice though, both with different parent pids?
Can you run:
service FOGMulticastManager stop; sleep 10
Post output of
ps aux|grep FOGMulti
again? Yes I nkow I’m asking you to stop the service, but I need to see if it thinks there’s two services running at the same time. -
Sorry I’m an idiot.
Please do output of
ps -ef | grep 'FOGMulti' | grep -v grep
-
Hi Tom,
Here is the result…
root@Fog:/# ps -ef | grep ‘FOGMulti’ | grep -v grep
root 25118 1 0 12:43 ? 00:00:00 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager
root 25121 25118 0 12:43 ? 00:00:01 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManagerJoe
-
@Joe-Gill Now this particular node IS a master node?
-
This was after I listened to you and ran the first command…
root@Fog:/# service FOGMulticastManager stop; sleep 10
- Stopping FOG Computer Imaging Solution: FOGMulticastManager [ OK ]
root@Fog:/# ps -ef | grep ‘FOGMulti’ | grep -v grep
As you can see nothing is running now.
- Stopping FOG Computer Imaging Solution: FOGMulticastManager [ OK ]
-
@Joe-Gill Good, now start it back running with
service FOGMulticastManager start
-
ps -ef | grep ‘FOGMulti’ | grep -v grep
Revealed nothing running.
Should I try re-running the multicast?
-
And yes this is the master node. I removed my secondary storage node just to be sure. I’ll go check the logs since I did that.
Restarted a Multicast with 2 machines and it’s stuck at the Partclone screen.
-
I checked the /var/log/fog/multicast.log, and it still says:
[06-16-16 8:37:57 pm] Interface Ready with IP Address: 65.XXX.XX.194
[06-16-16 8:37:57 pm] Interface Ready with IP Address: 172.16.1.17
[06-16-16 8:37:57 pm] Interface Ready with IP Address: Fog
[06-16-16 8:37:57 pm] * Starting MulticastManager Service
[06-16-16 8:37:57 pm] * Checking for new items every 10 seconds
[06-16-16 8:37:57 pm] * Starting service loop
[06-16-16 8:37:57 pm] | This is not the master nodeHow do I get rid of the 65.xxx.xx.194 address? This is our outside address for our public ip address.
-
@Joe-Gill You don’t need to get rid of the public address. This is just some kind of information but FOG wouldn’t use that interface unless you configure it to do so.
[06-16-16 8:37:57 pm] | This is not the master node
Well, that’s something I’d say. Please check your storage configuration in the web gui…
-
-
Also, I did add back my Freenas storage node as an additional storage node but it is not master. I can’t seem to wrap my head around this. I did try uploading a new image with the new version of partclone. I’m going to try re-pushing a multicast on Monday. But I don’t think it’s going to matter much.
The one thing that is strange in this install is that when I initially set up the server I had my Freenas storage as the only node until I had problems. Then I demoted the Freenas down to slave and installed the FOG storage node. My main image was originally stored on the Freenas server when it was the master. But I’ve since reimaged that machine several times onto the new FOG storage.
-
@Joe-Gill Where is 172.16.1.22 located on that same storage node?
Your log shows 65.x.x.x and 172.16.1.17, not 172.16.1.22 as listed on the storage node configuration.
-
Hi Tom,
65.x.x.x is our Public IP address on our router.
172.16.1.17 is the address for our FOG Server.
172.16.1.22 is the address for our FOG Storage Node.Thanks!
Joe
-
@Joe-Gill Well the storage configuration you have says your storage node IS the master, which is not the log files you’re presenting us.
-
Trying to contact via chat also.
-
@Tom-Elliott
I’m here still -
Remoted in. The .22 was correct. The 17 was the “central server” but .22 is where the images are stored.
The issue(s):
- DB was being connected to via the user fog and it’s associated password, but the user was not given privileges on the fog database.
- The Main server (.17) had bind-address enabled.
Once I updated the DB to allow the ‘fog’ user to access the fog database AND disabled the bind-address, the node (.22) was able to startup the FOG Services (which was failing as it couldn’t contact the database). I watched the multicast log in particular after setting up a multicast task and saw 3 of the 4 clients in that tasking link into the Multicast side. (Still waiting to hear if partclone will work and if the 4th client worked properly).
I suspect this issue will be resolved, but please keep us posted.
-
Hi guys,
Tom, thanks again for all the help! Everything is happy. The multi-cast we setup finished just fine. I’m making a new image today and imaging another lab. I doubt they’ll be any more issues with multicasting.
I’ll re-post if more issues arise.
Thanks!!
Cheers,
Joe Gill