Managing Serviceguard A.11.20, March 2013

1. Create a package configuration file for the storage checkpoint:
cmmakepkg -m sg/cfs_all /etc/cmcluster/ckpt1.ascii
Package template is created. This file must be edited before it can be used.
2. Edit the following package parameters in the ckpt1.ascii package configuration file:
package_name ckpt1
node_name node1
node_name node2
ckpt_mount_point /ckpt1
ckpt_name check1
ckpt_cfs_mount_point /mnt2
ckpt_mount_options "node1=cluster node2=cluster"
ckpt_primary_policy node1 node2
NOTE: By default, the package parameters are commented out. You must uncomment them
and specify the values.
ckpt_mount_point name of the mount point for the storage checkpoint
ckpt_name name of the storage checkpoint. This checkpoint must be
created using fsckptadm(1m) command before running
the package. For more information, see the manpage.
ckpt_cfs_mount_point unique name for CFS mount point; supports nested mount
points
ckpt_mount_options the CFS mount options for the mount point to the storage
checkpoint. For detailed information about the mount options,
see the mount_vxfs (1m) manpage.
ckpt_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.
3. Configure the appropriate dependencies (if any) of the checkpoint:
dependency_name cfspkg1
dependency_condition cfspkg1 = UP
dependency_location same_node
4. Check the package configuration file:
cmcheckconf -P /etc/cmcluster/ckpt1.ascii
cmcheckconf: Verification completed with no errors found.
Use the cmapplyconf command to apply the configuration
5. Apply the package configuration file:
cmapplyconf -P /etc/cmcluster/ckpt1.ascii
Modify the package configuration ([y]/n)? y
Completed the cluster update
6. Run the checkpoint package:
cmrunpkg ckpt1
Running package ckpt1 on node node1
Running package ckpt1 on node node2
Configuring the Cluster 213