|
|
< Previous | Next > |
| Product: Cluster Server Guides | |
| Manual: Cluster Server 4.1 User's Guide | |
Conditional StatementsSome query commands include an option for conditional statements. Conditional statements take three forms: Attribute=Value (the attribute equals the value) Attribute!=Value (the attribute does not equal the value) Attribute=~Value (the value is the prefix of the attribute, for example a query for the state of a resource = ~FAULTED returns all resources whose state begins with FAULTED.) Multiple conditional statements can be used and imply AND logic. hagrp -display, described in section Querying Service Groups.
# hagrp -list [conditional_statement] If no conditional statement is specified, all service groups in the cluster are listed.
# hares -list [conditional_statement] If no conditional statement is specified, all resources in the cluster are listed.
# haagent -list [conditional_statement] If no conditional statement is specified, all agents in the cluster are listed. |
| ^ Return to Top | < Previous | Next > |
| Product: Cluster Server Guides | |
| Manual: Cluster Server 4.1 User's Guide | |
|
VERITAS Software Corporation
www.veritas.com |