Managing Serviceguard A.11.20, March 2013

NOTE: Some of the CVM/CFS parameters cannot be modified online and requires the package
to be halted. This is due to the limitation that changing CVM/CFS parameters while they are in
use is not supported by Symantec. So, it is recommended to do this only when applications that
depend on these packages are offline.
Example of online addition and deletion of a disk group and a mount point from a modular CFS
package
For online changes, the package must be up and running.
Consider a package cfspkg1 with the following configuration:
package_name cfspkg1
node_name node1
node_name node2
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 /mnt1
cfs_volume cvm_dg1_node1/lvol1
cfs_mount_options "node1=cluster node2=cluster node3=cluster node4=cluster"
cfs_primary_policy ""
cvm_disk_group cvm_dg2_node1
cvm_activation_mode "node1=sw node2=sw node3=sw node4=sw"
cfs_mount_point /mnt2
cfs_volume cvm_dg2_node1/lvol1
cfs_mount_options "node1=cluster node2=cluster node3=cluster node4=cluster"
cfs_primary_policy ""
Before change:
cmviewcl -v -f line -p cfspkg1
cvm_concurrent_dg_operations=1
cvm_disk_group:cvm_dg1_node1|cvm_disk_group=cvm_dg1_node1
cvm_disk_group:cvm_dg1_node1|cvm_activation_mode=all=sw
cvm_disk_group:cvm_dg2_node1|cvm_disk_group=cvm_dg2_node1
cvm_disk_group:cvm_dg2_node1|cvm_activation_mode=all=sw
cfs_mount_point:/mnt1|cfs_volume=cvm_dg1_node1/lvol1
cfs_mount_point:/mnt2|cfs_volume=cvm_dg2_node1/lvol3
Now, delete the disk group cvm_dg1_node1, mount point /mnt2, and add a new disk group
cvm_dg0_node1 and mount point /mnt3.
After changing the parameters, check the configuration:
cmcheckconf -P cfspkg1.ascii
cmcheckconf: Verification completed with no errors found.
Use the cmapplyconf command to apply the configuration
Apply the configuration:
cmapplyconf -P cfspkg1.ascii
One or more of the specified packages are running. Any error in the
proposed configuration change could cause these packages to fail.
Ensure configuration changes have been tested before applying them.
Modify the package configuration ([y]/n)? y
Completed the cluster update
Verify the output:
cmviewcl -v -f line -p cfspkg1
cvm_concurrent_dg_operations=1
cvm_disk_group:cvm_dg0_node1|cvm_disk_group=cvm_dg0_node1
Configuring the Cluster 217