Managing Serviceguard Nineteenth Edition, Reprinted June 2011

node_name node3
node_name node4
cvm_disk_group cvm_dg1_node1
cvm_activation_mode "node1=sw node2=sw node3=sw node4=sw"
cfs_mount_point /mnt2
cfs_volume cvm_dg1_node1/lvol1
cfs_mount_options "node1=cluster node2=cluster node3=cluster node4=cluster"
cfs_primary_policy ""
NOTE: By default, the package parameters are commented. You must uncomment them and
specify the values.
If you wish to run the disk group and mount point packages on all nodes that the package
can run, you must specify “all=cluster” as the value for the cfs_mount_options and “all=sw”
for cvm_activation_mode in the cfspkg1.ascii file. Note that all=cluster does not configure
the packages to run on all nodes in the cluster, but only on the nodes configured in the package.
The dependency parameters must be specified only if the disk groups and mount points are
in separate packages.
cvm_disk_group name of the shared disk group
cvm_activation_mode activation mode for the shared disk group. Legal values are
"sw", "sr", "ew", and "ro", which expands to shared write,
shared read, exclusive write, and read only.
cfs_mount_point unique mount point name; supports up to two levels of nested
mount points
cfs_volume Diskgroups/Logical volume pair used by the CFS mount point.
cfs_mount_options the CFS mount options for the mount point. Legal values are
cluster, “tmplog, “delaylog, etc. For detailed information
about the mount options, see the mount_vxfs (1m)
manpage.
cfs_primary_policy sets the primary migration policy for the mount point. This
option sets up the order in which hosts assume the cluster file
system primary ownership if the primary node fails. If no host
specified in the list is active when the primary node fails, a
node is chosen at random to be the new primary. When the
policy is set, if the first host name specified in the list is not the
current primary, a primary migration is triggered to the first
host in the list. For details, see the fsclustadm (1m)
manpage.
Of the parameters listed above, cfs_mount_options and cfs_primary_policy can
be edited even when the package is running.
3. Check the package configuration file:
cmcheckconf -P /etc/cmcluster/cfspkg1.ascii
cmcheckconf: Verification completed with no errors found.
Use the cmapplyconf command to apply the configuration
4. Apply the package configuration file:
cmapplyconf -P /etc/cmcluster/cfspkg1.ascii
Modify the package configuration ([y]/n)? y
Completed the cluster update
Configuring the Cluster 197