<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Times New Roman, Times, serif">Hello , <br>
<br>
My issue resolved by removing the --suborg from cluster.conf <br>
</font><font face="Times New Roman, Times, serif"><br>
Redhat KB </font><font face="Times New Roman, Times, serif"><a
class="moz-txt-link-freetext"
href="https://access.redhat.com/solutions/785903#"><a class="moz-txt-link-freetext" href="https://access.redhat.com/solutions/785903#">https://access.redhat.com/solutions/785903#</a></a>
syntax not worked with me for RHEL 6.5 i.e for --suborg<br>
</font><br>
<font face="Times New Roman, Times, serif">IN KB its mentioned as
:-- "While invoking <code>fence_cisco_ucs</code> agent from
command line, please add <code>/org-</code> prefix to the real
organization path like below<br>
</font><br>
<pre><code>$ fence_cisco_ucs --ip="a.b.c.d" --username="admin" --password="XXXXX" -z 1 --plug="UCSPROFILE2" --suborg="/org-RHEL/" -o status -v</code></pre>
<font face="Times New Roman, Times, serif"><br>
with above stntax , Error remain same as follows below :-- <br>
<br>
[root@mailbox2 ~]# fence_cisco_ucs --ip="172.17.1.30"
--username="KVM" --password="myPassword" -z 1 --plug="mailbox1"
--suborg="/org-root/ls-mailbox" -o status -v<br>
[root@mailbox2 ~]# fence_cisco_ucs --ip="172.17.1.30"
--username="KVM" --password="myPassword" -z 1 --plug="mailbox1"
--suborg="/org-root/" -o status -v<br>
<br>
<b>Failed:</b> Unable to obtain correct plug status or plug is not
available.<br>
<br>
Where As if I remove </font><font face="Times New Roman, Times,
serif"><font face="Times New Roman, Times, serif">--suborg , then
its working properly , as follows. <br>
<br>
</font>[root@mailbox2 ~]# fence_cisco_ucs --ip="172.17.1.30"
--username="KVM" --password="</font><font face="Times New Roman,
Times, serif"><font face="Times New Roman, Times, serif">myPassword</font>"
-z 1 --plug="mailbox1" -o status -v<br>
<b>Status:</b> ON<br>
<br>
The same logic I used in cluster.conf and now fencing working fine
:--)<br>
<br>
<fencedevices><br>
<fencedevice agent="fence_cisco_ucs" ipaddr="172.17.1.30"
ipport="443" login="KVM" name="CiscoFence" passwd="</font><font
face="Times New Roman, Times, serif"><font face="Times New Roman,
Times, serif">myPassword</font>" ssl="on"/><br>
</fencedevices><br>
<br>
Tha<font face="Times New Roman, Times, serif">nks </font><br>
<br>
<font face="Times New Roman, Times, serif">Regards<br>
<font face="Times New Roman, Times, serif">Jayesh Shinde</font><br>
</font></font><br>
<div class="moz-cite-prefix">On 11/04/2015 02:50 PM, Marek marx Grác
wrote:<br>
</div>
<blockquote
cite="mid:etPan.5639ce17.7ff7e2af.3afc@Mareks-MacBook-Pro.local"
type="cite">
<pre wrap="">Hi,
Thanks for a great report. I believe that problem is that in cluster.conf you set up ‘suborg=“/org-root/ls-mailbox” but on the command line you have it without “--" so it is not used at all. It is best shown at that verbose output.
On 2 November 2015 at 15:39:45, Jayesh Shinde (<a class="moz-txt-link-abbreviated" href="mailto:jayesh.shinde@netcore.co.in">jayesh.shinde@netcore.co.in</a>) wrote:
</pre>
<blockquote type="cite">
<pre wrap="">command line fencing :--
-----------------------------
[root@mailbox2 ~]# /usr/sbin/fence_cisco_ucs -a 172.17.1.30 -l KVM -p
'myPassword' -o status -v -z --plug=mailbox1 --ipport=443
suborg="/org-root/ls-mailbox" ; *echo $?*
</pre>
<blockquote type="cite">
<pre wrap="">outCookie="1446038319/bdd0ea5b-386f-4374-8eca-9ff7595c33f3"
</pre>
</blockquote>
<pre wrap="">outRefreshPeriod="600" outPriv="pn-equipment,pn-maintenance,read-only"
outDomains="" outChannel="noencssl" outEvtChannel="noencssl"
outSessionId="web_29402_B" outVersion="2.2(3d)" outName="KVM">
</pre>
<blockquote type="cite">
<pre wrap="">cookie="1446038319/bdd0ea5b-386f-4374-8eca-9ff7595c33f3"
</pre>
</blockquote>
<pre wrap="">inHierarchical="false" dn="org-root/ls-mailbox1/power"/>
</pre>
<blockquote type="cite">
<pre wrap="">cookie="1446038319/bdd0ea5b-386f-4374-8eca-9ff7595c33f3" response="yes">
</pre>
</blockquote>
</blockquote>
<pre wrap="">
As you can see dn is org-root/ls-mailbox1/... with suborg set it will be org-root/ls-mailbox/ls-mailbox1/...
It should be enough to remove sub-org part from your cluster.conf
m,
</pre>
</blockquote>
<br>
</body>
</html>