[drbd-mc] New version problems

Peter Ambroz comp at gjh.sk
Mon Jan 17 16:33:27 CET 2011


On 01/17/2011 04:27 PM, Rasto Levrinc wrote:
> 
> On Mon, January 17, 2011 4:17 pm, Peter Ambroz wrote:
>>>
>>> This must be one of those weird gentoo issues. :) DRBD MC checks
>>> /etc/init.d/corosync status or /etc/init.d/openais status, to find out
>>> if corosync is running. I assume now that on gentoo corosync is not
>>> called openais.
>>
>> Init scipt is OK, returns 0
>> # /etc/init.d/corosync status; echo $?
>> * status:  started
>> 0
>>
>>
>>> /etc/init.d/corosync status should return 0, if corosync is running. If
>>>  these scripts don't have status parameter, readlink -f /proc/`pidof
>>> corosync`/exe is executed and compared if it is /usr/sbin/corosync.
>>>
>>
>> Readlink method also works for me
>> # readlink -f /proc/`pidof corosync`/exe
>> /usr/sbin/corosync
>>
>>
>>>
>>> I suspect that on gentoo /etc/init.d/corosync doesn't know status
>>> parameter and the corosync program is not /usr/sbin/corosync. Can you
>>> check it?
>>
>> Gentoo init scripts seem to be OK, also working with LSB resources.
> 
> That's bad. I mean that's good, but I don't know what's going on. Can you
> send me an output from one of the nodes?
> 
> /usr/local/bin/drbd-gui-helper-0.8.10 get-cluster-versions
> 

Here.. equal on both nodes.
moose ~ # drbd-gui-helper-0.8.10 get-cluster-versions
/etc/corosync/corosync.conf
hb:
pm:1.0.9
cs:1.2.8
ais:wrapper
hb-rc:off
cs-ais-rc:off
hb-running:127
cs-ais-running:127
hb-conf:2
cs-ais-conf:on
drbd:8.3.8.1
drbd-mod:
drbd-loaded:1

Comp


More information about the drbd-mc mailing list