VCS command line reference
Table: VCS commands for cluster operations lists the VCS commands for cluster operations.
Table: VCS commands for cluster operations
Cluster operations
|
Command line |
Start VCS
|
hastart [-onenode]
hastart -force system_name
|
Stop VCS
|
hastop -local [-force|-evacuate|-noautodisable]
hastop -local [-force|-evacuate -noautodisable]
hastop -sys system_name [-force|-evacuate|-noautodisable]
hastop -sys system_name [-force|-evacuate -noautodisable]
hastop -all [-force]
|
Enable/disable read-write
access to VCS configuration
|
haconf -makerw
haconf -dump -makero
|
Add user
|
hauser -add user_name |
Table: VCS commands for service group, resource, and site operations lists the VCS commands for service group, resource, and site operations.
Table: VCS commands for service group, resource, and site operations
Service group, resource, or site operations
|
Command line |
Configure service groups
|
hagrp -add |-delete group_name
hagrp -modify group attribute value
hagrp -link parent_group child_group
dependency
|
Configure resources
|
hares -add resource type group_name
hares -delete resource_name
hares -modify resource attribute value
hares -link parent_resource child_resource
|
Configure agents or
resource types
|
hatype -modify type attribute value |
Bring service groups online
and take them offline
|
hagrp -online service_group -sys system_name
hagrp -online service_group -site site_name
hagrp -offline service_group -sys
system_name
hagrp -offline service_group -site site_name
|
Bring resources online and
take them offline
|
hares -online resource_name -sys system_name
hares -offline resource_name -sys
system_name
|
Freezing/unfreezing service
groups
|
hagrp -freeze group_name [-persistent]
hagrp -unfreeze group_name [-persistent]
|
Table: VCS commands for status and verification lists the VCS commands for status and verification.
Table: VCS commands for status and verification
Status and verification
|
Command line |
Cluster status
|
hastatus -summary |
LLT status/verification
|
lltconfig
lltconfig -a list
lltstat
lltstat -nvv
|
GAB status/verification
|
gabconfig -a |
AMF kernel driver status/verification
|
amfconfig
amfstat
|
Table: VCS commands for cluster communication lists the VCS commands for cluster communication.
Table: VCS commands for cluster communication
Communication
|
Command line |
Starting and stopping LLT
|
lltconfig -c
lltconfig -U
|
Starting and stopping GAB
|
gabconfig -c -n seed_number
gabconfig -U
|
Table: VCS commands for system operations lists the VCS commands for system operations.
Table: VCS commands for system operations
System operations
|
Command line |
List systems in a cluster
|
hasys -list |
Retrieve detailed
information about each
system
|
hasys -display system_name |
Freezing/unfreezing
systems
|
hasys -freeze [-persistent][-evacuate]
system_name
hasys -unfreeze [-persistent] system_name
|