
andrew at beekhof
Sep 5, 2010, 11:28 PM
Post #6 of 6
(390 views)
Permalink
|
On Fri, Sep 3, 2010 at 2:00 AM, Ivan Gromov <gromivan [at] rambler> wrote: > Hello, Andrew > > I try to reformulate the question, sorry for confusion. "Icrm_resource > --list" shows up clone Fencing with other clones. But I wonder whether > exists way (function, command) to define stonith resources (id=Fencing > in my example) which RAs were installed and configured on my system. > Something like is_stonith (resource) procedure. It isn't "crm ra list > stonith" which shows up all possible stonith files. Works for me: [root [at] f1 ~]# crm ra list stonith apcmaster apcmastersnmp apcsmart baytech bladehpi cyclades drac3 external/drac5 external/dracmc-telnet external/hmchttp external/ibmrsa external/ibmrsa-telnet external/ipmi external/kdumpcheck external/rackpdu external/riloe external/sbd external/ssh external/vmware external/xen0 external/xen0-ha ibmhmc ipmilan meatware null nw_rpc100s rcd_serial rps10 ssh suicide wti_mpc wti_nps > > Thanks a lot for your help, > Ivan > > * Andrew Beekhof <andrew [at] beekhof> [Thu, 2 Sep 2010 08:49:41 +0200]: >> crm_resource --list should do it if I understand the question > correctly >> >> On Mon, Aug 30, 2010 at 10:16 AM, Ivan Gromov <gromivan [at] rambler> >> wrote: >> > Dear all, >> > >> > Is it possible to get name of stonith (clone id) resource from some >> > command? For instance, I have cluster with stonith like presented >> below. >> > I want to get clone id (Fencing) >> > <clone id="Fencing"> >> > <meta_attributes id="fencing"> >> > <nvpair id="Fencing-unique" name="globally-unique" value="false"/> >> > </meta_attributes> >> > <primitive id="rsa" class="stonith" type="external/ibmrsa"> >> > <operations> >> > <op id="rsa-mon-1" name="monitor" interval="120s"/> >> > </operations> >> > <instance_attributes id="rsa-parameters"> >> > <nvpair id="rsa-attr-1" name="hostname" value="node1 node2 node3 >> > node4"/> >> > </instance_attributes> >> > </primitive> >> > </clone> >> > >> > Or more general question: how can I get list of resources which have >> > appropriate class (heartbeat, lsb, ocf, stonith). >> > For ocf class I can simple type: 'crm ra list ocf'. But for stonith >> > class it doesn't return what I want. >> > >> > -- >> > Thank in advance, >> > Ivan Gromov. >> > >> > _______________________________________________ >> > Linux-HA mailing list >> > Linux-HA [at] lists >> > http://lists.linux-ha.org/mailman/listinfo/linux-ha >> > See also: http://linux-ha.org/ReportingProblems >> > >> _______________________________________________ >> Linux-HA mailing list >> Linux-HA [at] lists >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems > > > _______________________________________________ > Linux-HA mailing list > Linux-HA [at] lists > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list Linux-HA [at] lists http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
|