Querying VCS
VCS enables you to query various cluster objects, including resources, service groups, systems, resource types, agents, and clusters. You may enter query commands from any system in the cluster. Commands to display information on the VCS configuration or system states can be executed by all users: you do not need root privileges.
Querying Service Groups
To display the state of a service group on a system
# hagrp -state [service_group] [-sys system]
For a list of a service group's resources
# hagrp -resources service_group
For a list of a service group's dependencies
# hagrp -dep [service_group]
To display a service group on a system
# hagrp -display [service_group] [-sys system]
If service_group is not specified, information regarding all service groups is displayed.
To display attributes of a system
# hagrp -display [service_group] [-attribute attribute] [-sys system]
Note
System names are case-sensitive.
|