[Linux-ha-dev] a cl_status error in BasicSanityCheck
Sun Jiang Dong
hasjd at cn.ibm.com
Mon Sep 6 03:42:18 MDT 2004
Thanks both of you ;-)
Guochun Shi wrote:
> Thanks, I commited the same patch to CVS HEAD
> since you only put it in the STABLE branch -- I assume you did not do that on purpose :)
>
> -Guochun
>
> At 09:17 PM 9/3/2004 -0600, you wrote:
>
>>Alan Robertson wrote:
>>
>>>Guochun Shi wrote:
>>>
>>>
>>>>***************************************************
>>>>[root at posic066 lib]# ./BasicSanityCheck Starting heartbeat
>>>>Starting High-Availability services: [ OK ]
>>>>/usr/bin/cl_status shows local status as dead (1)
>>>>
>>>>
>>>>*********************************************************
>>>>
>>>>
>>>>when heartbeat starts, cl_status prints its staus as "up" and returns 1; BasicSanityCheck thinks it is dead.
>>>>
>>>>(later cl_staus shows status as "active" and returns 0)
>>>>
>>>>should cl_status return 0 when status is 'up'?
>>>
>>>Good question...
>>>Up means that it's started, but the communication links aren't yet known to be working.
>>>I would think it should exit with 0 for this case. It *is* up, after all ;-)
>>
>>OK... I just fixed this in CVS. Looks like the fix works too ;-)
>>
>>
>>--
>> Alan Robertson <alanr at unix.sh>
>>
>>"Openness is the foundation and preservative of friendship... Let me claim from you at all times your undisguised opinions." - William Wilberforce
>>_______________________________________________________
>>Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
>>http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
>>Home Page: http://linux-ha.org/
>
>
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>
More information about the Linux-HA-Dev
mailing list