In addition to the above parameters, cvm_concurrent_dg_operations and cfs_concurrent_mount_unmount_operations can also be modified online.

IMPORTANT: Modifying the cvm_disk_group, cfs_mount_point, ckpt_mount_point or snapshot_mount_point is an offline operation. When you modify any of these parameters, though cmapplyconf will succeed, it is considered that the existing disk group, mount point, checkpoint mount point, or snapshot mount point are deleted and new ones are added respectively.

CAUTION: During online changes of modular CVM/CFS parameters, it is recommended not to apply two CFS packages related to each other in the same cmapplyconf command. This is because Serviceguard does not validate the inter-dependency existing between the packages during cmapplyconf and as a result, it may cause the packages to fail.

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_node1cvm_disk_group=cvm_dg1_node1 cvm_disk_group:cvm_dg1_node1cvm_activation_mode=all=sw cvm_disk_group:cvm_dg2_node1cvm_disk_group=cvm_dg2_node1 cvm_disk_group:cvm_dg2_node1cvm_activation_mode=all=sw cfs_mount_point:/mnt1cfs_volume=cvm_dg1_node1/lvol1 cfs_mount_point:/mnt2cfs_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

212 Building an HA Cluster Configuration

Page 212
Image 212
HP Serviceguard manual Cmviewcl -v -f line -p cfspkg1, Cmcheckconf -P cfspkg1.ascii