[Pacemaker] Listing all resources of a specific type

Lars Marowsky-Bree lmb at suse.com
Wed Feb 20 11:15:49 EST 2013


On 2013-02-19T15:42:21, Donald Stahl <don at blacksun.org> wrote:

> Is there some way of listing all resources that use a specific
> resource agent using crm shell?

Not using the crm shell, but cibadmin can do this via an xpath query.
For example:

# cibadmin -Ql -A "//primitive[@type='o2cb']"

Modify to taste.


Regards,
    Lars

-- 
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde





More information about the Pacemaker mailing list