I have been searching (both on the servers and on the web) for an answer to this problem:
I have a multi serversetup with fog.
Servers are Ubuntu 10.04
installed Fog 0.32
The network is setup in a star topology format. The primary (normal install) fog server is at the root of the network at the district office, and I have 3 other storage groups residing in separate buildings (high school, middle school and elementary school). Each group is only a single computer.
Initially I had a problem adding the first storage node to Fog but it turned out a password typo. Everything else worked fine.
Now I can store images on all three servers and uni-cast, memtest, disk wipe… ext which works great.
Symptom 1. Now however I tried a multicast a computer lab of 30 machines. From the HS storage group. It hung on please wait.
I found the multicasting wiki which pointed to the two config files. I checked the password and even reset root password to be blank. (it was blank to start with) flushed privileges, restart everything and reboot everything.
[B]fogNormal[/B] - /opt/fog/log/multicast.log
[06-29-12 1:53:24 pm] Checking if I am the group manager.
[06-29-12 1:53:24 pm] * [06-29-12 1:53:24 pm] I am the group manager.
[06-29-12 1:53:24 pm] | [06-29-12 1:53:24 pm] Task (10) test is new!
[06-29-12 1:53:24 pm] | [06-29-12 1:53:24 pm] Task (10) test failed to execute, image file not found!
[B]fogNormal[/B] - /opt/fog/log/fogReplicator.log
[06-29-12 1:50:41 pm] Checking if I am the group manager.
[06-29-12 1:50:41 pm] * [06-29-12 1:50:41 pm] I am the group manager.
[06-29-12 1:50:41 pm] * [06-29-12 1:50:41 pm] Starting Image replication.
[06-29-12 1:50:41 pm] * [06-29-12 1:50:41 pm] Determining my group ID number.
[06-29-12 1:50:41 pm] * [06-29-12 1:50:41 pm] Looking up my node ID number
[06-29-12 1:50:41 pm] * [06-29-12 1:50:41 pm] NODE ID# 1
[06-29-12 1:50:41 pm] * [06-29-12 1:50:41 pm] We are group ID: #1
[06-29-12 1:50:41 pm] * [06-29-12 1:50:41 pm] Finding group members.
[06-29-12 1:50:41 pm] * [06-29-12 1:50:41 pm] I am the only member, no need to copy anything!.
[B]fogNormal[/B] - /opt/fog/log/fogScheduler.log
[06-29-12 1:49:38 pm] Checking if I am the group manager.
[06-29-12 1:49:38 pm] * [06-29-12 1:49:38 pm] I am the group manager.
[06-29-12 1:49:38 pm] * [06-29-12 1:49:38 pm] No tasks found.
[B]fogStorage[/B]- /opt/fog/log/ (multicast.log fogReplicator.log, fogScheduler.log)
Failed to connect to database server, will try again in next iteration.
So I set the mysql username and password in;
/opt/fog/service/etc/config.php
and double checked
/var/www/fog/commons/config.php
and reset. So far I tried,
*FOG_STORAGENODE_MYSQLUSER and password, found under other information
*root and blank password
Now this image works file with unicast, but multicast it couldnot find the file.
It DOES work when the image is located on the normal fog install. The nodes are set as master nodes. It feels like I have tried everything, but Im not sure if I am missing something. Any tips?