[Linux-cluster] fence_cisco_ucs working from command line.but not from cluster.conf

Digimer lists at alteeve.ca
Mon Sep 24 15:44:10 UTC 2012


Please re-read my last email. You didn't answer the question I asked.

digimer

On 09/24/2012 11:28 AM, Ben .T.George wrote:
> Hi
>
> issued that status command. Please check below output, [root at cgceccprd2
> ~]# /usr/sbin/fence_cisco_ucs -a 172.22.90.10 -l admin -p duc2Cisco -o
> status -v -n cgceccprd1 -z <aaaLogin inName="admin"
> inPassword="duc2Cisco" /> <aaaLogin cookie="" response="yes"
> outCookie="1348431691/9aae0d0f-7c05-4d47-a540-a4db8b3c6d45"
> outRefreshPeriod="600" outPriv="admin,read-only" outDomains=""
> outChannel="noencssl" outEvtChannel="noencssl"
> outSessionId="web_46809_B" outVersion="2.0(2q)"> </aaaLogin>
> <configResolveDn
> cookie="1348431691/9aae0d0f-7c05-4d47-a540-a4db8b3c6d45"
> inHierarchical="false" dn="org-root/ls-cgceccprd1/power"/>
> <configResolveDn dn="org-root/ls-cgceccprd1/power"
> cookie="1348431691/9aae0d0f-7c05-4d47-a540-a4db8b3c6d45" response="yes">
> <outConfig> <lsPower dn="org-root/ls-cgceccprd1/power" state="up" />
> </outConfig> </configResolveDn> Status: ON <aaaLogout
> inCookie="1348431691/9aae0d0f-7c05-4d47-a540-a4db8b3c6d45" /> <aaaLogout
> cookie="" response="yes" outStatus="success"> </aaaLogout>
>
>
> even i tried reboot option. That also worked.but from cluster.conf it's
> not working
>
>
> Regards,
> Ben
>
> On Mon, Sep 24, 2012 at 5:52 PM, Digimer <lists at alteeve.ca
> <mailto:lists at alteeve.ca>> wrote:
>
>     What is the exit code from the manual fence call?
>
>     /usr/sbin/fence_cisco_ucs -a 172.22.90.10 -l admin -p duc2Cisco -o
>     status -v -n node1 -z; echo $?
>
>     The exit codes must follow the API rules. Read;
>     https://fedorahosted.org/__cluster/wiki/FenceAgentAPI#__agent_ops
>     <https://fedorahosted.org/cluster/wiki/FenceAgentAPI#agent_ops>
>
>     digimer
>
>
>     On 09/24/2012 01:29 AM, Ben .T.George wrote:
>
>         Hi
>
>         from command line i issued :
>
>         /usr/sbin/fence_cisco_ucs -a 172.22.90.10 -l admin -p duc2Cisco -o
>         status -v -n node1 -z
>
>         is working and i got the output, even i give reboot also working
>
>         but i configured in the cluster.conf file with same
>         configuration, like:
>
>         <clusternode name="node1.test.net <http://node1.test.net>
>         <http://node1.test.net>" nodeid="1">
>
>         <fence>
>         <method name="ucs-node1">
>         <device name="ucs-node1" port="node1"/>
>         </method>
>         </fence>
>         </clusternode>
>
>
>         <fencedevices>
>         <fencedevice agent="fence_cisco_ucs" ipaddr="172.22.90.10"
>         login="admin"
>         name="ucs-node1" passwd="duc2Cisco"/>
>         </fencedevices>
>
>
>         but to test fencing property.i turned off heartbeat network on node
>         node1. but i am getting error on /var/log/messages.
>
>
>         Sep 24 07:20:13 node1 fenced[6589]: fence node2.test.net
>         <http://node2.test.net>
>         <http://node2.test.net> dev 0.0 agent fence_cisco_ucs result:
>         error from
>
>         agent Sep 24 07:20:13 node1 fenced[6589]: fence node2 . test
>         .net failed
>         Sep 24 07:20:16 node1 fenced[6589]: fencing node node2 . test
>         .net Sep
>         24 07:20:17 node1 fenced[6589]: fence node2 . test .net dev 0.0
>         agent
>         fence_cisco_ucs result: error from agent Sep 24 07:20:17 node1
>         fenced[6589]: fence node2 . test .net failed Sep 24 07:20:20 node1
>         fenced[6589]: fencing node node2 . test .net Sep 24 07:20:20 node1
>         fenced[6589]: fence node2 . test .net dev 0.0 agent fence_cisco_ucs
>         result: error from agent Sep 24 07:20:20 node1 fenced[6589]:
>         fence node2
>         . test .net failed
>
>         please help me to solve this
>
>         regards,
>         Ben
>
>
>
>
>     --
>     Digimer
>     Papers and Projects: https://alteeve.ca
>
>
>
>
> --
> Yours Sincerely
>
> *#!/usr/bin/env python
> #Mysignature.py :)*
>
> Signature = " " " Ben.T.George \n
>                    Linux System Administrator \n
>                    Diyar United Company \n
>                    kuwait \n
>                    Phone : +965 - 50629829 \n " ""
>
> Print Signature
>


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




More information about the Linux-cluster mailing list