[Linux-cluster] fencing issue in 2 nodes cluster
heiko.nardmann at itechnical.de
Thu Aug 2 15:22:02 UTC 2012
Am 02.08.2012 17:02, schrieb Digimer:
> On 08/02/2012 08:42 AM, Heiko Nardmann wrote:
>> Am 02.08.2012 14:19, schrieb AKIN ÿffffffffffd6ZTOPUZ:
>>> I have fencing problem in 2 nodes cluster <cman expected_votes="1"
>>> two_node="1"/> )
>>> fence device agent is like that :
>>> <fencedevice agent="fence_ipmilan" ipaddr="***********" lanplus="1"
>>> login="clsfenceadmin" method="cycle" name="fence_node2"
>>> passwd="**************" power_wait="4"/>
>>> when I run fence_node nodename command on host , Related node
>>> goes to down but I am taking errors in /var/log/messages :
>>> Aug 2 14:55:31 sapclsn2 fenced: fencing node
>>> Aug 2 14:55:32 sapclsn2 fenced: agent "fence_ipmilan" reports:
>>> Rebooting machine @ IPMI:192.168.11.68...Done
>>> Aug 2 14:55:32 sapclsn2 fenced: fence "sapclsn1.edase.com"
>>> you have any ideas?
>>> Linux-cluster mailing list
>>> Linux-cluster at redhat.com
>> Without looking at it: how is this agent implemented? Maybe you can
>> easily debug it to see why it returns a non zero exit code?
>> Kind regards,
> It's written in C;
To what I see from the source it supports a '-v' option to increase
@Akin: are you able to run the command manually with success? Every
entry inside the cluster.conf has an equivalent concerning the command
line options of the fencing agent (should be /usr/sbin/...). So if you
follow digimers advice and pass only those parameters you need together
with the '-v' then maybe you easily find out what is wrong.
More information about the Linux-cluster