Sunday, June 18, 2006
Basic VCS Commands
Basic VCS Commands
CLUSTER OPERATIONS
Action Command Line
Start VCS
hastart [-force|-stale]
hasys force system
Stop VCS
hastop local [-force|-evacuate]
hastop sys system [-force|-evacuate]
hastop all [-force]
Open/Save/Save and Close Configuration
haconf makerw|-dump|-dump -makero
Add User
hauser add user
BASIC CONFIGURATION
Action Command Line
Configure Service Groups
hagrp add|-delete group
hagrp -modify group attribute value
hagrp link parent_group child_group dependency firm|soft
Configure Resources
hares add resource type group
hares delete resource
hares -modify resource attribute value
hares -link parent_resource child_resource
Configure Agents/Types
hatype modify type attribute value
BASIC OPERATIONS
Action Command Line
Online/Offline/Switch/Flush Service Group
hagrp online group sys system; hagrp online group -any
hagrp offline group sys system; hagrp offline group -any
hagrp switch group to system; hagrp switch group -any
hagrp flush group sys system
Online/Offline Resource
hares online [-ignoreparent] resource sys system
hares offline [-ignoreparent] resource sys system
Clear Faulted Resources
hares clear resource [-sys system]
hagrp clear group [-sys system]
hares probe resource sys system
STATUS AND VERIFICATION
Action Command Line
VCS Status (system/group/resource/agent)
hastatus summary
LLT Status/Verification
lltconfig; lltconfig a list; lltstat; lltstat nvv
GAB Status/Verification
gabconfig a; gabdiskhb l; gabdiskx l
COMMUNICATION
Action Command Line
Starting and Stopping LLT
lltconfig c; lltconfig -U
Starting and Stopping GAB
gabconfig c n seed_number; gabconfig -U
ADMINISTRATION
Action Command Line
Freezing/Unfreezing Groups
hagrp freeze group [-persistent]; hagrp unfreeze group [-persistent]
Freezing/Unfreezing Systems
hasys freeze system [-persistent][-evacuate]
hasys unfreeze system [-persistent]
Autoenabling Groups
hagrp autoenable group sys system
########################################################################
VERITAS Education http://us.training.veritas.com 800-327-2232 (option 2)
Copyright © 2002 VERITAS Software Corporation. All Rights Reserved.
VERITAS, VERITAS Software, the VERITAS logo, and all other VERITAS product
names and slogans are
trademarks or registered trademarks of VERITAS Software Corporation in the
US and/or other countries. Other product names and/or slogans mentioned
herein may be trademarks or
registered trademarks of their respective companies. Specifications and
product offerings subject to change without notice. Printed in USA and the
EU. March 2002.
1