Estos son los comandos básicos para controlar un VCS (Veritas Cluster Server) desde línea de comandos. Ver el estado del Cluster, arrancar/parar/reiniciar/mover recursos y servicios, etc.
Iniciar veritas Cluster:
[root@vcs01 ]# hastart
[root@vcs01 ]# hasys -force <NODO SERVIDOR>[root@vcs01 ]# hastop -local
[root@vcs01 ]# hastop -sys <NODO SERVIDOR>
[root@vcs01 ]# hastop -all[root@vcs01 ]# haconf -dump -makero[root@vcs01 ]# hauser -add userIniciar un grupo
[root@vcs01 ]# hagrp -online <GRUPO> -sys <NODO SERVIDOR>
[root@vcs01 ]# hagrp -online <GRUPO> -anyParar un Grupo
[root@vcs01 ]# hagrp -offline <GRUPO> -sys <NODO SERVIDOR>
[root@vcs01 ]# hagrp -offline <GRUPO> -anyBalancear recurso del cluster
[root@vcs01 ]# hagrp -switch <GRUPO> -to <NODO SERVIDOR>
[root@vcs01 ]# hagrp -switch <GRUPO> -anyFlush del servicio
[root@vcs01 ]# hagrp -flush group -sys <NODO SERVIDOR>Iniciar un recurso
[root@vcs01 ]# hares -online <RECURSO> -sys <NODO SERVIDOR>Parar un recurso
[root@vcs01 ]# hares -offline <RECURSO> -sys <NODO SEREVIDOR>Comprobar el estado del cluster (Sistema, recurso, grupos, agentes)
[root@vcs01 ]# hastatus -summaryComprobar el estado de LLT
l[root@vcs01 ]# ltconfig
[root@vcs01 ]# lltconfig -a list
[root@vcs01 ]# lltstat
[root@vcs01 ]# vlltstat -nvvComprobar el estado de GAB
[root@vcs01 ]# gabconfig -a[root@vcs01 ]# lltconfig -cParar LLT
[root@vcs01 ]# lltconfig -U[root@vcs01 ]# gabconfig -c -n <seed_number>[root@vcs01 ]# gabconfig -UCongelar un grupo
[root@vcs01 ]# hagrp -freeze <GRUPO>Descongelar un grupo
[root@vcs01 ]# hagrp -unfreeze <GRUPO>[root@vcs01 ]# hasys -freeze <NODO SERVIDOR>Descongelar un sistema
[root@vcs01 ]# hasys -unfreeze <NODO SERVIDOR>