This topic describes how to perform a query on status of service groups in the cluster.
Note: |
Run the hastatus command with the -summary option to prevent an incessant output of online state transitions. If the command is used without the option, it will repeatedly display online state transitions until it is interrupted by the command CTRL+C. |
To display the status of all service groups in the cluster, including resources
- Type the following command:
# hastatus
To display the status of a particular service group, including its resources
- Type the following command:
# hastatus [-sound] [-time] -group service_group
[-group service_group]...
If you do not specify a service group, the status of all service groups appears. The -sound option enables a bell to ring each time a resource faults.
The -time option prints the system time at which the status was received.
To display the status of service groups and resources on specific systems
To display the status of specific resources
To display the status of cluster faults, including faulted service groups, resources, systems, links, and agents
- Type the following command:
# hastatus -summary