[Openais] cman does not start ... corosync died

Christine Caulfield ccaulfie at redhat.com
Mon Mar 15 06:34:24 PDT 2010


On 15/03/10 13:29, Christian Brandes wrote:
> Hi Chrissie,
>
> thanks for your reply.
>
>>> consensus (4800 ms) must be atleast 1.2 * token (12000 ms)
>>> But token is 3000!
>>>
>>
>> It's a known bug in that version of corosync. You'll need to manually
>> increase consensus so that it is greater that 4800
>
> I already tried 12000 - did not work!
> Now I set it to 20000 - did not work!
>
> corosync seems to ignore the consensus parameter in /etc/corosync/corosync.conf
> Is 4800 hardcoded?
>
> I did:
> /etc/init.d/corosync restart
> /etc/init.d/cman start
> Starting cluster:
>     Global setup... [  OK  ]
>     Loading kernel modules... [  OK  ]
>     Mounting configfs... [  OK  ]
>     Setting network parameters... [  OK  ]
>     Starting cman... corosync died: Could not read cluster configuration


If you're using cman then corosync.conf is not read. You need to add the 
token parameters to cluster.conf.

<cluster>
   <totem consensus="6000" token="3000"/>
...
</cluster>

You should also have realised by now, that your new value for token is 
also being ignored ;-)

Later versions of cman set up consensus for you automatically.

Chrissie


More information about the Openais mailing list