[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] fencing issue in 2 nodes cluster



Hi
 
thanks all repilies
 
 I added verbose parameter into fence agent line in cluster.conf according to  Heiko  (verbose="true",method="onoff")
and I read the web link sent by Digimer .I tested fencing using       "echo c > /proc/sysrq-trigger"    on  node1.
after that I saw fencing occured and related services    moved to other node properly.
 
in this case    can we say , fencing is ok ?    or also should I  use fence_node  command   on node   for being sure?
 
 
Regards   
From: Digimer <lists alteeve ca>
To: linux clustering <linux-cluster redhat com>
Sent: Thursday, August 2, 2012 6:02 PM
Subject: Re: [Linux-cluster] fencing issue in 2 nodes cluster

On 08/02/2012 08:42 AM, Heiko Nardmann wrote:
> Am 02.08.2012 14:19, schrieb AKIN ÿffffffffffd6ZTOPUZ:
>> Hi
>> 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[6714]: fencing node "sapclsn1.edase.com"
>> Aug  2 14:55:32 sapclsn2 fenced[6714]: agent "fence_ipmilan" reports:
>> Rebooting machine @ IPMI:192.168.11.68...Done
>> Aug  2 14:55:32 sapclsn2 fenced[6714]: fence "sapclsn1.edase.com" failed
>> you have any ideas?
>>
>>
>> --
>> Linux-cluster mailing list
>> Linux-cluster redhat com
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>
> 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,
>
>      Heiko

It's written in C;

http://git.fedorahosted.org/cgit/fence-agents.git/tree/fence/agents/ipmilan/ipmilan.c

--
Digimer
Papers and Projects: https://alteeve.com/

--
Linux-cluster mailing list
Linux-cluster redhat com
https://www.redhat.com/mailman/listinfo/linux-cluster



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]