VCS 6.1 : How to Manage Cluster Systems using hasys
 

hasys – add, modify, delete, display, or list information about a system. The hasys command allows administrators to manage information about each system. (A system is an object representing an individual computer within a cluster.)
Example From a script, to use the -wait option to direct the hasys command to block until system S1 goes into the RUNNING state, enter:
# hasys -wait S1 SysState RUNNING
::: To display a list of systems in the cluster
 #hasys -list
:::To display information about each system
# hasys -display [system]
If you do not specify a system, the command displays attribute names and values for all systems.
::: To display the value of a specific system attribute
# hasys -value system attribute
::: To display system attributes related to resource utilization
Use the following command to view the resource utilization of the following system attributes:
- Capacity
- Â HostAvailableForecast
- Â HostUtilization
# hasys -util system
- The -util option is applicable only if you set the cluster attribute Statistics to Enabled and define at least one key in the cluster attribute HostMeters.
- The command also indicates if the HostUtilization, and HostAvailableForecast values are stale.