This topic describes how to perform a query on global cluster service groups:
To display service group attribute values across clusters
hagrp -value service_group 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 service group across clusters
hagrp -state [service_groups -sys systems] [-clus cluster | -localclus]
The option -clus displays the state of all service groups on a cluster designated by the variable cluster; the option -localclus specifies the local cluster.
To display service group information across clusters
hagrp -display [service_groups] [-attribute attributes] [-sys systems] [-clus cluster | -localclus]
The option -clus applies to global groups only. If the group is local, the cluster name must be the local cluster name, otherwise no information is displayed.