Managing Serviceguard 13th Edition, February 2007

Building an HA Cluster Configuration
Creating a Storage Infrastructure with VERITAS Cluster File System (CFS)
Chapter 5 235
NOTE If you want to create a cluster with CVM only - without CFS, stop here.
Then, in your application package’s configuration file, add the
dependency triplet, with DEPENDENCY_CONDITION set to
SG-DG-pkg-id#=UP and LOCATION set to SAME_NODE. For more
information about the DEPENDENCY parameter, see “Package
Configuration File Parameters” on page 171.
Creating the Disk Group Cluster Packages
1. Use the cfsdgadm command to create the package SG-CFS-DG-ID#,
where ID# is an automatically incremented number, assigned by
Serviceguard when it creates the package. In this example, the
SG-CFS-DG-ID# package will be generated to control the disk group
logdata, in shared write mode:
# cfsdgadm add logdata all=sw
2. With VERITAS CFS, you can verify the package creation with the
cmviewcl command, or with the cfsdgadm display command. An
example of cfsdgadm output is shown below:
#cfsdgadm display
Node Name : ftsys9 (MASTER)
DISK GROUP ACTIVATION MODE
logdata off (sw)
Node Name : ftsys10
DISK GROUP ACTIVATION MODE
logdata off (sw)
3. Activate the disk group and Start up the Package
# cfsdgadm activate logdata
4. To verify, you can use cfsdgadm or cmviewcl This example shows the
cfsdgadm output:
# cfsdgadm display -v logdata
NODE NAME ACTIVATION MODE
ftsys9 sw (sw)
MOUNT POINT SHARED VOLUME TYPE
ftsys10 sw (sw)
MOUNT POINT SHARED VOLUME TYPE