This topic describes how to perform queries on resources:
To display resource attribute values across clusters
hares -value resource attribute [system] [-clus cluster | -localclus]
The option -clus displays the attribute value on the cluster designated by the variable cluster; the option -localclus specifies the local cluster.
If the attribute has local scope, you must specify the system name, except when querying the attribute on the system from which you run the command.
To display the state of a resource across clusters
hares -state [resource -sys system] [-clus cluster | -localclus]
The option -clus displays the state of all resources on the specified cluster; the option -localclus specifies the local cluster. Specifying a system displays resource state on a particular system.
To display resource information across clusters
hares -display [resources] [-attribute attributes] [-group service_groups] [-type types] [-sys systems] [-clus cluster | -localclus]
The option -clus lists all service groups on the cluster designated by the variable cluster; the option -localclus specifies the local cluster.