VCS Monitoring and Status Commands (UNIX)

The following table describes the basic UNIX commands used to monitor the cluster.

Command

Variation

Description

haclus

-display

Displays information about the cluster.

-modify

Requires root permission to use.

-help

 

hagrp

-add <system group>

Adds a system group to the cluster.

-clear <system group>

Clears the system group of faults.

-state <service_group> -sys <system>

Displays state of service group on system.

-switch <system> to <system>

Initiates the failover of one system to the other.

-display

Displays service groups.

-dep <service_group>

Lists dependencies of a service group.

-resources <service_group>

Lists the resources in a service group.

-list

 

hasys

-add

Adds a new system to the cluster.

-display <system>

Displays information about the system specified or about all systems if none are specified.

-force

 

-load

 

-modify

 

-state <system>

Displays the state of the system specified, or of all systems if none are specified.

-list

Displays a list of systems in the cluster.

-nodeid

 

-help

 

hares

-add <service_group>

Adds a resource to the service group specified.

-local

 

-global

 

-clear

Clears resource faults.

NOTE: When a resource faults, it stops the onlining of all dependencies. To attempt a new onlining, you must clear the faults on the resource first.

-online

 

-offline

 

-modify

 

-state <service_group>

Displays the state of the resource specified, or of all resources if none are specified

-display

-display -group

Displays information on the resources of the service group.

-dep

Lists the resources dependencies.

-list

Displays a list of all resources.

-help

 

hastatus

 

Displays the status of all service groups in the cluster, including resources.

-summary

Displays the status of cluster faults, including faults of service groups, resources, systems, links, and agents.

-group

Displays the status of the service group.

hamsg

-help

Displays a usage list for Log Data Files (LDFs).

-list

Displays a list of available LDFs.

-info LDF

Displays general LDF data.