Veritas Cluster – Commands

Veritas Cluster – Commands

VRTSvcs        VERITAS Cluster Server
VRTSvcswz      VERITAS Cluster Server Wizard
VRTScsga       VERITAS Cluster Server Graphical Administrator
VRTSgab        VERITAS Group Membership and Atomic Broadcast
VRTSllt        VERITAS Low Latency Transport
VRTSvcsor      VERITAS Cluster Server Oracle Enterprise Extension
VRTSvcssy      VERITAS Cluster Server Sybase Enterprise Extension
VRTSperl       VERITAS Perl for VRTSvcs

Read more for more details :  
Cluster        Name of your HA environment
Nodes          Physical systems that make up the cluster
Service group  Abstract container of related resources
Resource       Cluster components (i.e. NICs, IPs, disk groups,
volumes, mounts, processes, etc...)
Attributes     Parameter values that define the resources
Dependencies   Links between resources or service groups

Cluster Mgr    Cluster Monitor : Log in, add clusters, change preferences
Cluster Mgr    Cluster Explorer: Monitor systems, service grps,
resources, attributes & dependencies
Cluster Mgr    Log Desk        : Monitor log messages received
from engine, view GUI commands
Cluster Mgr    Command Center  : Build VCS commands and send to engine
LLT            Low Latency transport provides fast kernel-kernel
comm. & monitors network connx.
GAB            Grp membership & Atomic Broadcast maintains a synch.
state & monitors disk comm.

Config files   VCS etc directory   
$VCSETC=/etc/VRTSvcs
Config files   VCS configuration directories 
$VCSCONF=/etc/VRTSvcs/conf/config
Binary files   VCS opt directory
$VCSOPT=/opt/VRTSvcs
Binary files   VCS binary path
$VCSBIN=/opt/VRTSvcs/bin
Log files      VCS log path
$VCSLOG=/var/VRTSvcs/log
Config files   VCS configuration file
/etc/VRTSvcs/conf/config/main.cf
LLT tab file   LLT configuration file
/etc/llttab
LLT hosts file LLT host name database
/etc/llthosts
GAB file       Grp membership & Atomic Broadcast file
/etc/gabtab

quick-start    VCS Quick-start wizard
# $VCS_HOME/wizards/config/quick_start
quick-NFS      VCS Quick-NFS wizard
# $VCS_HOME/wizards/services/quick_nfs
llt            Verify LLT                           
# /sbin/llstat -n
llt            Get interface MAC Address
# /opt/VRTSllt/getmac device_name
llt            Check network connectivity
# /opt/VRTSllt/dlpiping -s|-c -v device_name
gab            Verify GAB
# /sbin/gabconfig -a ; /sbin/gabconfig -l
hasys          List systems in cluster
# /opt/VRTSvcs/bin/hasys -list
hasys          Detailed info on each cluster node
# /opt/VRTSvcs/bin/hasys -display (sysname)
hasys          Increase system count in gabtab startup
# /opt/VRTSvcs/bin/hasys -add (sysname)
hasys          Delete a system
# /opt/VRTSvcs/bin/hasys -delete (sysname)
hastart        Start VCS cluster
# /opt/VRTSvcs/bin/hastart
hastart        Force start a stale VCS cluster 
# /opt/VRTSvcs/bin/hastart -force -stale
hastop         Stop VCS on all systems
# /opt/VRTSvcs/bin/hastop -all
hastop         Stop VCS had, keep srvc-groups running
# /opt/VRTSvcs/bin/hastop -local -force
hastop         Stop VCS, migrate srvc-groups to sysname
# /opt/VRTSvcs/bin/hastop -sys (sysname) -evacuate
hastatus       Provide continual status of service grps
# /opt/VRTSvcs/bin/hastatus
hastatus       Verify status of service groups
# /opt/VRTSvcs/bin/hastatus -summary
hacf           Check for syntax errors in main.cf
# /opt/VRTSvcs/bin/hacf -verify /etc/VRTSvcs/conf/config/main.cf
hacf           Generate dependency tree in main.cf
# /opt/VRTSvcs/bin/hacf -generate /etc/VRTSvcs/conf/config/main.cf

hares          List all resources 
# /opt/VRTSvcs/bin/hares -list
hares          List a resource's dependencies
# /opt/VRTSvcs/bin/hares -dep (resource_name)
hares          Get detailed info on a resource
# /opt/VRTSvcs/bin/hares -display (resource)
hares          Add a resource
# /opt/VRTSvcs/bin/hares -add (resource_name (resource_type (service_group)
hares          Modify attributes of the new resource 
# /opt/VRTSvcs/bin/hares -modify (resource_name (attribute_name (value)
hares          Delete a resource
# /opt/VRTSvcs/bin/hares -delete (resource_name)
hares          Online a resource
# /opt/VRTSvcs/bin/hares -online (resource_name) -sys (system_name)
hares          Offline a resource
# /opt/VRTSvcs/bin/hares -offline (resource_name) -sys (system_name)
hares          Monitor resource on a system
# /opt/VRTSvcs/bin/hares -probe (resource_name) -sys (system_name)
hares          Clear a faulted resource
# /opt/VRTSvcs/bin/hares -clear (resource_name) [-sys system_name]
hares          Make a resource's attribute value local
# /opt/VRTSvcs/bin/hares -local (resource_name) (attribute_name) value)
hares          Make a resource's attribute value global
# /opt/VRTSvcs/bin/hares -global (resource_name) (attribute_name) value)
hares          Specify a dependency between 2 resources
# /opt/VRTSvcs/bin/hares -link (parent_res) (child_res)
hares          Remove dependency between 2 resources
# /opt/VRTSvcs/bin/hares -unlink (parent_res) (child_res)
hares          Modify a Share res. by adding options
# /opt/VRTSvcs/bin/hares Share_cicgt-as4-p_apps Options "%-o rw,root=dcsa-cln1"

hagrp          List all service groups 
# /opt/VRTSvcs/bin/hagrp -list
hagrp          List a service group's resources
# /opt/VRTSvcs/bin/hagrp -resources [service_group]
hagrp          List a service group's dependencies
# /opt/VRTSvcs/bin/hagrp -dep [service_group]
hagrp          Detailed info about a service group
# /opt/VRTSvcs/bin/hagrp -display [service_group]
hagrp          Start service group, bring res. online
# /opt/VRTSvcs/bin/hagrp -online (service_group) -sys (system_name)
hagrp          Stop service group, bring res. offline
# /opt/VRTSvcs/bin/hagrp -offline (service_group) -sys (system_name)

hagrp          Switch service group between nodes
# /opt/VRTSvcs/bin/hagrp -switch (service_group) -to (system_name)
hagrp          Freeze svcgroup, (disable onl. & offl.)
# /opt/VRTSvcs/bin/hagrp -freeze (service_group) [-persistent]
hagrp          Thaw a svcgroup, (enable onl. & offl.)
# /opt/VRTSvcs/bin/hagrp -unfreeze (service_group) [-persistent]
hagrp          Enable a service group
# /opt/VRTSvcs/bin/hagrp -enable (service_group) [-sys system_name]
hagrp          Disable a service group
# /opt/VRTSvcs/bin/hagrp -disable (service_group) [-sys system_name]
hagrp          Enable all resources in a service group
# /opt/VRTSvcs/bin/hagrp -enableresources (service_group)
hagrp          Disable all resources in a service group
# /opt/VRTSvcs/bin/hagrp -disableresources (service_group)
hagrp          Specify dependenciy between 2 svc groups
# /opt/VRTSvcs/bin/hagrp -link (parent_group) (child_group) (relationship)
hagrp          Remove dependenciy between 2 svc groups
# /opt/VRTSvcs/bin/hagrp -unlink (parent_group) (child_group)
hagrp          Auto-Enable a servicegroup marked
# /opt/VRTSvcs/bin/hagrp -autoenable (service_group) [-sys system_name]
disabled due to prob with system_name.

hatype         List resource types
# /opt/VRTSvcs/bin/hatype -list
hatype         Detailed info on a resource type
# /opt/VRTSvcs/bin/hatype -display (resource_type)
hatype         List all resources of a part. type
# /opt/VRTSvcs/bin/hatype -resources (resource_type)
hatype         Add a resource type
# /opt/VRTSvcs/bin/hatype -add (resource_type)
hatype         Set static attribute values
# /opt/VRTSvcs/bin/hatype -modify ...
hatype         Delete a resource type
# /opt/VRTSvcs/bin/hatype -delete (resource_type)
haattr         Add Attribute to a Type definition
# /opt/VRTSvcs/bin/haattr -add (resource_type) (attribute_name) /
(attribute_type -integer, -string, -vector)
haattr         Delete a Entry in a Type definition
# /opt/VRTSvcs/bin/haattr -delete (resource_type) (attribute_name)
haconf         Set VCS configuration file to r/w mode
# /opt/VRTSvcs/bin/haconf -makerw
haconf         Set VCS configuration file to read mode
# /opt/VRTSvcs/bin/haconf -dump -makero
hauser         Add a user with r/w access to VCS
# /opt/VRTSvcs/bin/hauser -add (user_name)
hauser         Add a user with read access only to VCS
# /opt/VRTSvcs/bin/hauser -add VCSGuest
hauser         Update a user
# /opt/VRTSvcs/bin/hauser -update (user_name)
hauser         Delete a user 
# /opt/VRTSvcs/bin/hauser -delete (user_name)
hauser         Display all users
# /opt/VRTSvcs/bin/hauser -display
haagent        Start agents manually
# haagent -start (agent_name) -sys (system_name)
haagent        Stop agents manually
# haagent -stop (agent_name) -sys (system_name)
hagui          Start Cluster Manager   
# /opt/VRTSvcs/bin/hagui
hagui          Start Cluster Manager in debug mode
# /opt/VRTSvcs/bin/hagui -D

Product Terminology comparisons
Sun SC 2.2   Veritas VCS 1.1
------------------------------------------------------
cluster name                    cluster name
admin workstation               -
physical node A                 local system
physical node B                 remote system
physical node IP address        maintenance IP address
logical host                    service group
logical host IP address         service group IP address
-                               resources
disk group                      disk group
private heartbeats              communication channels
-                               GAB disk (disk heartbeat)
Quorum disk                     -
Admin filesystem                -
scinstall                       Quick-Start wizard
split-brain                     network partition

configuration files:
/etc/llthosts
/etc/llttab
/etc/gabtab
/etc/VRTSvcs/conf/config/main.cf
/etc/VRTSvcs/conf/config/sysname

Source: Unix Blog

By akuadi

73 thoughts on “Veritas Cluster – Commands”
  1. I have a hacked psp 2000 with 5.50 GEN D-3 installed and it’s not reading any battery’s correctly. The “charge level” and “hours left” correspondingly are read at extremely low levels. For example: With a 91% 2200 mAh, the psp 2000 reads roughly 3 hours and 5 minutes. With a 100% 1200 mAh, the psp 2000 reads roughly 1 hour and 48 minutes.However when I put the same batterys into my alternative psp 2000 (5.50 GEN D-3) and/or my psp 3000 (6.20 OFW), the correct readings show: With a 90% 2200 mAh, the alternative psp 2000/3000 reads roughly 8 hours. With a 100% 1200 mAh, the alternative psp 200/300 reads roughly 4 hours and 20 minutes.

  2. Latest headline: “July 10th, 2011 – Major earthquake strikes off the northern coast of Japan.”
    The hits just keep coming.
    As more and more people cover every inch of landmass on the planet, major events will keep happening that put large populations at risk. People need to prepare now, before something happens, not after. It’s obvious that it’s only a matter of time before a minor or major disaster happens near me, or anyone else. It should be mandatory that each citizen is able to take care of their basic needs should all power, water, medical, and other services get interrupted for a length of time.

  3. Excellent read, I just passed this onto a friend who was doing some research on that. And he just bought me lunch because I found it for him smile Thus let me rephrase that: Thanks for lunch! “England and America are two countries separated by the same language.” by George Bernard Shaw.

  4. Ok so I have looked around a lot on this matter and I keep finding stuff like VNC (or VNSea) that allows you to access the computers on your WiFi network, but all of these require you to install something onto the computer itself. Is there a way to access the computer WITHOUT even touching the computer?. . Thanks in advance!.

  5. I’ve been absent for some time, but now I remember why I used to love this web site. Thanks, I’ll try and check back more frequently. How frequently you update your web site?

  6. Oh my goodness! an incredible article dude. Thanks However I’m experiencing problem with ur rss . Don know why Unable to subscribe to it. Is there anyone getting equivalent rss downside? Anyone who is aware of kindly respond. Thnkx

  7. Nice read, I just passed this onto a colleague who was doing some research on that. And he just bought me lunch because I found it for him smile Therefore let me rephrase that: Thanks for lunch! “How beautiful maleness is, if it finds its right expression.” by D. H. Lawrence.

  8. This is a false dilemma known as Euthyphros dilemma. You have given two options. The third option is that an objective standard exists However, the standard is not external to God, but internal. Morality is grounded in the immutable character of God, who is perfectly good. His commands are not whims, but rooted in His holiness. It is a question of the ontological nature of God.

  9. hello!,I like your writing so much! proportion we communicate more about your article on AOL? I require an expert on this space to resolve my problem. Maybe that is you! Having a look ahead to peer you.

  10. What’s Going down i am new to this, I stumbled upon this I’ve found It absolutely helpful and it has aided me out loads. I am hoping to give a contribution & help other users like its aided me. Good job.

  11. I like what you guys are up also. Such clever work and reporting! Keep up the superb works guys I’ve incorporated you guys to my blogroll. I think it will improve the value of my website :).

  12. I like what you guys are up too. Such clever work and reporting! Keep up the superb works guys I have incorporated you guys to my blogroll. I think it will improve the value of my web site :).

  13. Very interesting points you have noted , appreciate it for putting up. “I don’t know what you could say about a day in which you have seen four beautiful sunsets.” by John Glenn.

  14. the best hair flat iron is chi flat iron,chi hair straightener,the best fit sport shoes is five finger shoes,5 finger shoes,the best sound effects is Beats By Dre,dr dre beats,monster beats,the best learning language software is

  15. Hiya, I am really glad I’ve found this information. Today bloggers publish only about gossips and web and this is really annoying. A good web site with interesting content, this is what I need. Thanks for keeping this web-site, I’ll be visiting it. Do you do newsletters? Cant find it.

  16. She teaches that bring a keyboard. We sing and each of our teacher had accompaniment and say soothing sounds slightly also not exaggeration. The teacher is even now dusting straight quart we’re smart. We are learning throughout bridge retinoid. Let us find the impression and clap your hands within the last eight times. She sang the lead and then let us sings. You also don ‘t say the lyrics as well as the tones also need n’t need to blurt out. That song I don’t forget quite nicely was an exceptional song for your creature beats by dre 2011 earphones. Superior time passed so rapidly after which it suddenly the class was over. The teacher thanks all of us and we also thank her to be with her wonderful class. The teacher also said the next back to us talks, we all shouted it can be great. Hope the next moment the wonderful teacher nonetheless gives us lectures. Like the music inside immersing themselves. After that its possible it could be additionally a kind of catharsis. Depressing tunes which incorporates a man ‘s enjoy standard water. Throughout enjoy with favorite music, I then make by using entries to show a regrettable and also perspicacit

  17. I am full of admiration and positive impressions. Very nice, clean and pleasant. All the best for the author. Dorothy from gejownia.pl

  18. This website leaves a optimistic materials that may well ‘t be disregarded in particular it incorporates and displays us an additional stage of extremely impressive impression.

  19. Heya i¡¯m for the primary time here. I found this board and I find It really useful & it helped me out a lot. I’m hoping to provide something back and help others like you aided me.

  20. With the Daintree Rainforest and the Great Barrier Reef right on our doorstep, a vibrant economy and a passionate local population, it’s no wonder Cairns remains Australia’s favourite tropical holiday destination.

Leave a Reply

Your email address will not be published. Required fields are marked *