No subject


Fri Oct 28 06:41:40 UTC 2011


It seems the it is not able to find any RAs related to Stonith.

Following is the output of some crm commands:
*crm(live)ra# classes*
heartbeat
lsb
ocf / heartbeat linbit mcg pacemaker
*stonith*

*crm(live)ra# list ocf heartbeat*
AoEtarget             AudibleAlarm          CTDB
ClusterMon            Delay                 Dummy
EvmsSCC               Evmsd                 Filesystem
ICP                   IPaddr                IPaddr2
IPsrcaddr             IPv6addr              LVM
LinuxSCSI             MailTo                ManageRAID
ManageVE              Pure-FTPd             Raid1
Route                 SAPDatabase           SAPInstance
SendArp               ServeRAID             SphinxSearchDaemon
Squid                 Stateful              SysInfo
VIPArip               VirtualDomain         WAS
WAS6                  WinPopup              Xen
Xinetd                anything              apache
conntrackd            db2                   drbd
eDir88                exportfs              fio
iSCSILogicalUnit      iSCSITarget           ids
iscsi                 jboss                 ldirectord
mysql                 mysql-proxy           nfsserver
nginx                 oracle                oralsnr
pgsql                 pingd                 portblock
postfix               proftpd               rsyncd
scsi2reservation      sfex                  syslog-ng
tomcat                vmware

*crm(live)ra# list stonith*

crm(live)ra#

All the sotnith related RAs are present in
/usr/lib/stonith/plugins/external.

Following is the output of "ls command :
[root at ggns2mexsatsdp17 ~]# ls /usr/lib/stonith/plugins/external/

drac5          hetzner  ibmrsa         ipmi         kdumpcheck  nut
output   riloe  ssh      vmware  xen0-ha
dracmc-telnet  hmchttp  ibmrsa-telnet  ippower9258  libvirt     ouput
rackpdu  sbd    vcenter  xen0

Can somebody please help me with this?

Thanks and regards
Neha Chatrath

--00151758a56003dbb404b1adc222
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,<br>I am facing issue in configuring a Stonith resource in my system =
of cluster with 2 nodes.<br>Whenever I try to give the following command:<b=
r>&quot;crm configure primitive app_fence stonith::external/ipmi params hos=
tname=3D<a href=3D"http://ggns2mexsatsdp17.hsc.com">ggns2mexsatsdp17.hsc.co=
m</a> ipaddr=3D192.168.113.17 userid=3Droot passwd=3Dpass at abc123&quot; , <b=
r>
I get the following errors:<br><br>&quot;<span style=3D"color: rgb(51, 102,=
 255);">ERROR: stonith:external/ipmi: could not parse meta-data: </span><br=
 style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255=
);">Traceback (most recent call last):</span><br style=3D"color: rgb(51, 10=
2, 255);">
<span style=3D"color: rgb(51, 102, 255);">=A0 File &quot;/usr/sbin/crm&quot=
;, line 41, in &lt;module&gt;</span><br style=3D"color: rgb(51, 102, 255);"=
><span style=3D"color: rgb(51, 102, 255);">=A0=A0=A0 crm.main.run()</span><=
br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">=A0 File &quot;/usr/lib/python2.6=
/site-packages/crm/main.py&quot;, line 249, in run</span><br style=3D"color=
: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">=A0=A0=A0 i=
f parse_line(levels,shlex.split(&#39; &#39;.join(args))):</span><br style=
=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">=A0 File &quot;/usr/lib/python2.6=
/site-packages/crm/main.py&quot;, line 145, in parse_line</span><br style=
=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">=
=A0=A0=A0 lvl.release()</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">=A0 File &quot;/usr/lib/python2.6=
/site-packages/crm/levels.py&quot;, line 68, in release</span><br style=3D"=
color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">=A0=A0=
=A0 self.droplevel()</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">=A0 File &quot;/usr/lib/python2.6=
/site-packages/crm/levels.py&quot;, line 87, in droplevel</span><br style=
=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">=
=A0=A0=A0 self.current_level.end_game(self._in_transit)</span><br style=3D"=
color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">=A0 File &quot;/usr/lib/python2.6=
/site-packages/crm/ui.py&quot;, line 1524, in end_game</span><br style=3D"c=
olor: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">=A0=A0=
=A0 self.commit(&quot;commit&quot;)</span><br style=3D"color: rgb(51, 102, =
255);">
<span style=3D"color: rgb(51, 102, 255);">=A0 File &quot;/usr/lib/python2.6=
/site-packages/crm/ui.py&quot;, line 1425, in commit</span><br style=3D"col=
or: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">=A0=A0=A0=
 self._verify(mkset_obj(&quot;xml&quot;,&quot;changed&quot;),mkset_obj(&quo=
t;xml&quot;))</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">=A0 File &quot;/usr/lib/python2.6=
/site-packages/crm/ui.py&quot;, line 1324, in _verify</span><br style=3D"co=
lor: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">=A0=A0=
=A0 rc2 =3D set_obj_semantic.semantic_check(set_obj_all)</span><br style=3D=
"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">=A0 File &quot;/usr/lib/python2.6=
/site-packages/crm/cibconfig.py&quot;, line 280, in semantic_check</span><b=
r style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 25=
5);">=A0=A0=A0 rc =3D self.__check_unique_clash(set_obj_all)</span><br styl=
e=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">=A0 File &quot;/usr/lib/python2.6=
/site-packages/crm/cibconfig.py&quot;, line 260, in __check_unique_clash</s=
pan><br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 1=
02, 255);">=A0=A0=A0 process_primitive(node, clash_dict)</span><br style=3D=
"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">=A0 File &quot;/usr/lib/python2.6=
/site-packages/crm/cibconfig.py&quot;, line 245, in process_primitive</span=
><br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102,=
 255);">=A0=A0=A0 if ra_params[ name ].get(&quot;unique&quot;) =3D=3D &quot=
;1&quot;:</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">TypeError: &#39;NoneType&#39; obj=
ect is unsubscriptable</span><br>&quot;<br>From /var/log/messages: followin=
g error is being reported from lrmd: &quot;<span style=3D"color: rgb(51, 10=
2, 255);">notice: on_msg_get_metadata: can not find the class stonith</span=
>&quot;<br>
<br>It seems the it is not able to find any RAs related to Stonith. <br><br=
>Following is the output of some crm commands:<br><b><span style=3D"color: =
rgb(51, 102, 255);">crm(live)ra# classes</span></b><br style=3D"color: rgb(=
51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">heartbeat</span><br style=3D"colo=
r: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">lsb</span>=
<br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, =
255);">ocf / heartbeat linbit mcg pacemaker</span><br style=3D"color: rgb(5=
1, 102, 255);">
<b><span style=3D"color: rgb(51, 102, 255);">stonith</span></b><br style=3D=
"color: rgb(51, 102, 255);"><br style=3D"color: rgb(51, 102, 255);"><b><spa=
n style=3D"color: rgb(51, 102, 255);">crm(live)ra# list ocf heartbeat</span=
></b><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">AoEtarget=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0 AudibleAlarm=A0=A0=A0=A0=A0=A0=A0=A0=A0 CTDB=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ClusterMon=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 Delay=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Dummy</span><br s=
tyle=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);=
">EvmsSCC=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Evmsd=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Filesystem=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
ICP=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 IPaddr=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 IPaddr2</span><br style=3D"color: rgb(=
51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">IPsrcaddr=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0 IPv6addr=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 LVM=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 LinuxSCSI=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 MailTo=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Mana=
geRAID</span><br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: =
rgb(51, 102, 255);">ManageVE=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Pure-FT=
Pd=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Raid1=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 Route=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 SA=
PDatabase=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 SAPInstance</span><br style=3D"colo=
r: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">SendArp=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 ServeRAID=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 SphinxSear=
chDaemon=A0=A0=A0 Squid=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Sta=
teful=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 SysInfo</span><br style=3D"col=
or: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, 255);">VIPArip=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 VirtualDomain=A0=A0=A0=A0=A0=A0=
=A0=A0 WAS=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 WAS6=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 WinPopup=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 Xen</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">Xinetd=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 anything=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 apache=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 conntrackd=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 db2=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 d=
rbd</span><br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb=
(51, 102, 255);">eDir88=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 export=
fs=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 fio=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 iSCSILogicalUnit=A0=A0=A0=A0=A0 iSCSITarget=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 ids</span><br style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">iscsi=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 jboss=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
 ldirectord=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 mysql=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 mysql-proxy=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 nfsserve=
r</span><br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(5=
1, 102, 255);">nginx=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 oracle=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 oralsnr=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 pgsql=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
 pingd=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 portblock</span><br =
style=3D"color: rgb(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">postfix=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0 proftpd=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 rsyncd=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 scsi2reservation=A0=A0=A0=A0=
=A0 sfex=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 syslog-ng</span=
><br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102,=
 255);">tomcat=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 vmware=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span><br style=3D"color: rgb(51, 102=
, 255);">
<br style=3D"color: rgb(51, 102, 255);"><b><span style=3D"color: rgb(51, 10=
2, 255);">crm(live)ra# list stonith</span></b><br style=3D"color: rgb(51, 1=
02, 255);"><br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rg=
b(51, 102, 255);">crm(live)ra# </span><br>
<br>All the sotnith related RAs are present in /usr/lib/stonith/plugins/ext=
ernal.<br><br>Following is the output of &quot;ls command :<br><span style=
=3D"color: rgb(51, 102, 255);">[root at ggns2mexsatsdp17 ~]# ls /usr/lib/stoni=
th/plugins/external/</span><br style=3D"color: rgb(51, 102, 255);">
<br style=3D"color: rgb(51, 102, 255);"><span style=3D"color: rgb(51, 102, =
255);">drac5=A0=A0=A0=A0=A0=A0=A0=A0=A0 hetzner=A0 ibmrsa=A0=A0=A0=A0=A0=A0=
=A0=A0 ipmi=A0=A0=A0=A0=A0=A0=A0=A0 kdumpcheck=A0 nut=A0=A0=A0 output=A0=A0=
 riloe=A0 ssh=A0=A0=A0=A0=A0 vmware=A0 xen0-ha</span><br style=3D"color: rg=
b(51, 102, 255);">
<span style=3D"color: rgb(51, 102, 255);">dracmc-telnet=A0 hmchttp=A0 ibmrs=
a-telnet=A0 ippower9258=A0 libvirt=A0=A0=A0=A0 ouput=A0 rackpdu=A0 sbd=A0=
=A0=A0 vcenter=A0 xen0</span><br><br>Can somebody please help me with this?=
<br><br>Thanks and regards<br>
Neha Chatrath<br>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 <br>

--00151758a56003dbb404b1adc222--



More information about the Pacemaker mailing list