V E R I T A S E D U C A T I O N Q U I C K R E F E R E N C E
Basic VCS Commands
SERVICE GROUPS AND RESOURCE OPERATIONS
Action Command Line
Configuring service groups hagrp –add|-delete|-online|-offline group_name
hares –add|-delete res_name type group
Modifying resources hares –online|-offline res_name –sys system_name
Modifying agents haagent –start|-stop agent_name –sys system_name
BASIC CONFIGURATION OPERATIONS
Action Command Line
hagrp -modify group_name attribute_name value
hagrp –list group_name
Service Goups
hagrp –value attribute_name
hares -modify res_name attribute_name value
Resources hares -link res_name res_name
haagent -display agent_name –sys system_name
Agents hatype –modify
VCS ENGINE OPERATIONS
Action Command Line
hastart –force|–stale system_name
Starting had hasys –force system_name
hastop –local|-all|-force|-evacuate
Stopping had hastop –sys system_name
Adding Users hauser –add user_name
STATUS AND VERIFICATION
Action Command Line
Group Status/Verification hagrp -display group_name|–state|–resource group_name
hares -display res_name
Resources Status/Verification hares –list
hares -probe res_name –sys system_name
haagent –list
Agents Status/Verification haagent -display agent_name –sys system_name
ps –ef|grep agent_name
VCS Status hastatus –group
lltconfig –a list
LLT Status/Verification lltstat|lltshow|lltdump
gabconfig –a
GAB Status/Verification gabdiskhb –l
COMMUNICATION
Action Command Line
Starting and Stopping LLT lltconfig –c|U
gabconfig –c –n #seed number
Starting and Stopping GAB gabconfig –U
ADMINISTERATION
Action Command Line
Administering Group Services hagrp –clear|-flush|-switch group_name –sys system_name
Administering Resources hares –clear|-probe res_name –sys system_name
haagent -list
Administering Agents haagent -display agent_name –sys system_name
hacf –verify
Verify Configuration
1
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.