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

For example:

# crm resource list
 stonith-sbd    (stonith:external/sbd) Started
 IP1 (ocf::heartbeat:IPaddr2) Started
 IP2 (ocf::heartbeat:IPaddr2) Started
 FS1 (ocf::heartbeat:Filesystem) Started
 FS2 (ocf::heartbeat:Filesystem) Started

I'd like to be able to filter by the resource agents- for example the
ocf::heartbeat:Filesystem agent.

Much like:
# crm resource list | grep ocf::heartbeat:Filesystem
 FS1 (ocf::heartbeat:Filesystem) Started
 FS2 (ocf::heartbeat:Filesystem) Started

Obviously I can use grep but I'd love to know if there were a native
way of doing this.

Thanks,
-Don

_______________________________________________
Pacemaker mailing list: Pacemaker@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://bugs.clusterlabs.org

Reply via email to