[Pacemaker] Regarding Stonith RAs
manish.gupta at ionidea.com
manish.gupta at ionidea.com
Mon Nov 14 11:37:33 UTC 2011
On Mon, November 14, 2011 4:36 pm, neha chatrath wrote:
> Hello,
>
>
> I have tried with single ":" in the crm configure command but there is no
> change in the result. LRM and crm are showing the same errors.
>
> Thanks and regards
> Neha Chatrath
>
>
> Date: Mon, 14 Nov 2011 09:49:52 +0100
> From: Michael Schwartzkopff <misch at clusterbau.com>
> To: The Pacemaker cluster resource manager
> <pacemaker at oss.clusterlabs.org
>
>>
> Subject: Re: [Pacemaker] Regarding Stonith RAs
> Message-ID: <201111140949.53351.misch at clusterbau.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>> Hello,
>> I am facing issue in configuring a Stonith resource in my system of
>>
> cluster
>> with 2 nodes. Whenever I try to give the following command:
>> "crm configure primitive app_fence stonith::external/ipmi params
>> hostname= ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
>> passwd=pass at abc123" ,
>
> try
>
> crm configure primitive app_fence stonith:external/ipmi (...)
>
> please note the ONE column. Providers are only known in the OCF RA class.
>
>
>
> --
> Dr. Michael Schwartzkopff
> Guardinistr. 63
> 81375 M?nchen
>
>
> Tel: (0163) 172 50 98
>
>
>
> On Mon, Nov 14, 2011 at 2:05 PM, neha chatrath
> <nehachatrath at gmail.com>wrote:
>
>
>> Hello,
>> I am facing issue in configuring a Stonith resource in my system of
>> cluster with 2 nodes. Whenever I try to give the following command:
>> "crm configure primitive app_fence stonith::external/ipmi params
>> hostname= ggns2mexsatsdp17.hsc.com ipaddr=192.168.113.17 userid=root
>> passwd=pass at abc123" , I get the following errors:
>>
>>
>> "ERROR: stonith:external/ipmi: could not parse meta-data:
>> Traceback (most recent call last):
>> File "/usr/sbin/crm", line 41, in <module>
>> crm.main.run() File "/usr/lib/python2.6/site-packages/crm/main.py", line
>> 249, in run
>> if parse_line(levels,shlex.split(' '.join(args))): File
>> "/usr/lib/python2.6/site-packages/crm/main.py", line 145, in
>> parse_line lvl.release() File
>> "/usr/lib/python2.6/site-packages/crm/levels.py", line 68, in
>> release self.droplevel() File
>> "/usr/lib/python2.6/site-packages/crm/levels.py", line 87, in
>> droplevel self.current_level.end_game(self._in_transit) File
>> "/usr/lib/python2.6/site-packages/crm/ui.py", line 1524, in end_game
>> self.commit("commit") File "/usr/lib/python2.6/site-packages/crm/ui.py",
>> line 1425, in commit
>> self._verify(mkset_obj("xml","changed"),mkset_obj("xml")) File
>> "/usr/lib/python2.6/site-packages/crm/ui.py", line 1324, in _verify
>> rc2 = set_obj_semantic.semantic_check(set_obj_all) File
>> "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 280, in
>> semantic_check rc = self.__check_unique_clash(set_obj_all) File
>> "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 260, in
>> __check_unique_clash
>> process_primitive(node, clash_dict) File
>> "/usr/lib/python2.6/site-packages/crm/cibconfig.py", line 245, in
>> process_primitive if ra_params[ name ].get("unique") == "1": TypeError:
>> 'NoneType' object is unsubscriptable
>> "
Is python and python-cruses rpm are installed in your system,
crm command require python-cruses to be installed.
>> From /var/log/messages: following error is being reported from lrmd:
>> "notice:
>> on_msg_get_metadata: can not find the class stonith"
>>
>>
>> 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
>>
>>
>>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>
More information about the Pacemaker
mailing list