[Sheepdog] sheepdog on ubuntu 11.04

S. Bonnegent sebastien.bonnegent at gmail.com
Wed May 4 13:26:00 CEST 2011


Le 03/05/2011 23:10, MORITA Kazutaka a écrit :
> At Fri, 29 Apr 2011 17:15:43 +0200,
> S. Bonnegent wrote:
>>
[...]
>> In PC1 logs, there are this message:
>>
>> get_cluster_status(362) joining node has invalid ctime, 5960354062892656328
> 
> 'ctime' means the time when the sheepdog cluster is created.  Did you
> run 'collie cluster format' on the two machines at the different time?
> You can see the more detailed info with the following commands:
> 
>  $ collie cluster info -a 172.29.22.74
>  $ collie cluster info -a 172.29.22.78
> 
> If you clean the directory of either of the two nodes and restart the
> sheep daemons, I think you can start Sheepdog.

Ok, it was that.

Solution in short:

- on PC1:
pkill sheep
rm -rf /var/lib/sheepdog
sheep /var/lib/sheepdog

- on PC2:
pkill sheep
rm -rf /var/lib/sheepdog
sheep /var/lib/sheepdog
collie cluster format --copies=2


Thank you for your help.


S.Bonnegent



More information about the sheepdog mailing list