Veritas Cluster Services Quick Reference

539 views
466 views

Published on

This gives a quick overview of the basic VCS commands that most system engineers would use at work.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
539
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Veritas Cluster Services Quick Reference

  1. 1. 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 EBasic VCS CommandsSERVICE GROUPS AND RESOURCE OPERATIONSAction Command LineConfiguring service groups hagrp –add|-delete|-online|-offline group_name hares –add|-delete res_name type groupModifying resources hares –online|-offline res_name –sys system_nameModifying agents haagent –start|-stop agent_name –sys system_nameBASIC CONFIGURATION OPERATIONSAction Command Line hagrp -modify group_name attribute_name value hagrp –list group_nameService Goups hagrp –value attribute_name hares -modify res_name attribute_name valueResources hares -link res_name res_name haagent -display agent_name –sys system_nameAgents hatype –modifyVCS ENGINE OPERATIONSAction Command Line hastart –force|–stale system_nameStarting had hasys –force system_name hastop –local|-all|-force|-evacuateStopping had hastop –sys system_nameAdding Users hauser –add user_nameSTATUS AND VERIFICATIONAction Command LineGroup Status/Verification hagrp -display group_name|–state|–resource group_name hares -display res_nameResources Status/Verification hares –list hares -probe res_name –sys system_name haagent –listAgents Status/Verification haagent -display agent_name –sys system_name ps –ef|grep agent_nameVCS Status hastatus –group lltconfig –a listLLT Status/Verification lltstat|lltshow|lltdump gabconfig –aGAB Status/Verification gabdiskhb –lCOMMUNICATIONAction Command LineStarting and Stopping LLT lltconfig –c|U gabconfig –c –n #seed numberStarting and Stopping GAB gabconfig –UADMINISTERATIONAction Command LineAdministering Group Services hagrp –clear|-flush|-switch group_name –sys system_nameAdministering Resources hares –clear|-probe res_name –sys system_name haagent -listAdministering Agents haagent -display agent_name –sys system_name hacf –verifyVerify Configuration 1VERITAS 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 aretrademarks 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 orregistered trademarks of their respective companies. Specifications and product offerings subject to change without notice. Printed in USA and the EU. March 2002.

×