Thanks a lot for your help. I think it is what I need.
* Andrew Beekhof <[email protected]> [Fri, 30 Jul 2010 08:24:53 +0200]: > On Wed, Jul 28, 2010 at 7:06 PM, Ivan Gromov <[email protected]> > wrote: > > Hello, everyone > > > > In my perl script, which looks after the cluster, I use crm_failcount > -G > > -U node_id -r resource_id command to get failcount of the resource_id. > > But I have a problem with clones because I don't know how to get list > of > > clones. > > Try: > crm_resource -l > > (thats a lowercase L) > > > I would add to resource_id colon and number, but as announced in the > > documentation it is bad idea: "In > > particular, the list of active copies will not always be an unbroken > > sequence, nor always start at 0 ". > > So, is it possible to get at least list of clone resources (like a: > > clone:0, clone:1... ) on the cluster or list of clone resources > started > > on the particular node (for instance, with command like: crm_resource > -G > > -U node_id --clone_list Clone)? > > > > -- > > Thanks in advance, > > Ivan Gromov. > > > > > > _______________________________________________ > > Linux-HA mailing list > > [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > See also: http://linux-ha.org/ReportingProblems > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
