Veritas Cluster Cheat Sheet Page 5

ADVERTISEMENT

offlining)
note: use the following to check "hagrp -display <group> |
grep TFrozen"
haconf -makerw
hagrp -enable <group> [-sys]
haconf -dump -makero
Enable a service group. Enabled groups can
only be brought online
Note to check run the following command "hagrp -display | grep
Enabled"
haconf -makerw
hagrp -disable <group> [-sys]
haconf -dump -makero
Disable a service group. Stop from bringing
online
Note to check run the following command "hagrp -display | grep
Enabled"
Flush a service group and enable corrective
hagrp -flush <group> -sys <system>
action.
Resources
haconf -makerw
hares -add appDG DiskGroup groupw
hares -modify appDG Enabled 1
add a resource
hares -modify appDG DiskGroup appdg
hares -modify appDG StartVolumes 0
haconf -dump -makero
haconf -makerw
delete a resource
hares -delete <resource>
haconf -dump -makero
haconf -makerw
hares -modify appDG Enabled 1
haconf -dump -makero
change a resource
Note: list parameters "hares -display <resource>"
change a resource attribute to be
hares -global <resource> <attribute> <value>
globally wide
change a resource attribute to be locally
hares -local <resource> <attribute> <value>
wide
list the parameters of a resource
hares -display <resource>
list the resources
hares -list
list the resource dependencies
hares -dep
Resource Operations
Online a resource
hares -online <resource> [-sys]
Offline a resource
hares -offline <resource> [-sys]
display the state of a resource( offline, online,
hares -state
etc)
display the parameters of a resource
hares -display <resource>
Offline a resource and propagate the
hares -offprop <resource> -sys <sys>
command to its children
Cause a resource agent to immediately
hares -probe <resource> -sys <sys>
monitor the resource
Clearing a resource (automatically initiates
hares -clear <resource> [-sys]
the onlining)
Resource Types

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 6