Managing Serviceguard 12th Edition, March 2006
Planning and Documenting an HA Cluster
Package Configuration Planning
Chapter 4180
:
Package Control Script Variables
The control script that accompanies each package must also be edited to
assign values to a set of variables. The following variables can be set:
PATH
Specify the path to be used by the script.
VGCHANGE Specifies the method of activation for LVM volume
groups. Leave the default (VGCHANGE=“vgchange -a
e”) if you want volume groups activated in exclusive
mode. This assumes the volume groups have been
initialized with vgchange -c y at the time of creation.
Use VGCHANGE=“vgchange -a e -q n” if your disks are
mirrored on separate physical paths.
Use VGCHANGE=“vgchange -a e -q n -s” if your disks
are mirrored on separate physical paths and you want
the mirror resynchronization to occur in parallel with
the package startup.
Use VGCHANGE=“vgchange -a y” if you wish to use
non-exclusive activation mode. Single node cluster
configurations must use non-exclusive activation.
CVM_ACTIVATION_CMD
Specifies the command for activation of VERITAS CVM
disk groups.
Use the default CVM_ACTIVATION_CMD=“vxdg -g
\$DiskGroup set activation=exclusivewrite” if
you want disk groups activated in exclusive write
mode.
Use CVM_ACTIVATION_CMD=“vxdg -g \$DiskGroup
set activation=readonly” if you want disk groups
activated in read-only mode.
Use CVM_ACTIVATION_CMD=“vxdg -g \$DiskGroup
set activation=sharedread” if you want disk groups
activated in shared read mode.
Use CVM_ACTIVATION_CMD=“vxdg -g \$DiskGroup
set activation=sharedwrite” if you want disk
groups activated in shared write mode.