Managing Serviceguard 14th Edition, June 2007

Building an HA Cluster Configuration
Creating a Storage Infrastructure with Veritas Cluster File System (CFS)
Chapter 5248
NAME STATE ID
logdata enabled, shared, cds 11192287592.39.ftsys9
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 DEPENDENCY_LOCATION set to SAME_NODE. For
more information about these parameters, see “Package Parameter
Explanations” on page 281.
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