Configuring the Storage Device using SG SMS CVM in a Legacy Style Package

Configuring the Storage Device using VERITAS CVM

Configuring the Storage Device using SLVM

Configuring the Storage Device using CFS or SG SMS CVM in a Modular Style Package

By using modular style packages, Serviceguard enables you to manage all the CVM diskgroups and the CFS mountpoints required by an application within a single package. This helps in significantly reducing the number of packages to be managed by a cluster administrator.

Complete the following procedure on the CVM cluster master node in the primary cluster to set up the CVM disk group volumes:

1.Initialize the source disks of the replication pair:

#/etc/vx/bin/vxdisksetup -i <replicated_disk_1>

#/etc/vx/bin/vxdisksetup -i <replicated_disk_2>

2.Create a disk group for the complex workload data:

#vxdg –s init <cvm_dg_name> <replicated_disk_1> <replicated_disk_2>

3.Activate the CVM disk group in the primary cluster:

#vxdg -g <cvm_dg_name> set activation=sw

4.Create a volume from the disk group:

#vxassist -g <cvm_dg_name> make <cvm_dg_vol_name> 4500m

5.Create a filesystem:

#newfs -F vxfs /dev/vx/rdsk/<cvm_dg_name>/<cvm_dg_vol_name>

Skip this step if CVM raw volumes will be used for storing the data.

6.Create a package configuration file:

#cmmakepkg -m sg/cfs_all /etc/cmcluster/cfspkg1.ascii

7.Edit the following package parameters in the cfspkg1.ascii package configuration file:

node_name <node1> node_name <node2> package_name <siteA_cfs_pkg_name> cvm_disk_group <cvm_dg_name>

cvm_activation_mode "node1=sw node2=sw" cfs_mount_point <cvm_mount_point> cfs_volume <cvm_dg_name>/<cvm_dg_vol_name> cfs_mount_options "node1=cluster node2=cluster" cfs_primary_policy ""

Where node1 and node2 are the nodes at the primary cluster.

Do not configure any mount specific attributes like cfs_mount_point, cfs_mount_options if SG SMS CVM will be configured as raw volumes.

8.Check the package configuration file:

#cmcheckconf -P cfspkg1.ascii

9.Apply the package configuration file:

#cmapplyconf -P cfspkg1.ascii

10.Run the package:

#cmrunpkg <siteA_cfs_pkg_name>

For instructions on how to migrate legacy CFS package to modular CFS package, see the latest edition of Managing Serviceguard available at:

www.hp.com/go/hpux-serviceguard-docs-> HP Serviceguard

Configuring the Storage Device using CFS in a Legacy Style Package

NOTE: HP recommends you to use the modular style of packaging.

Support for Complex Workloads in a Continentalclusters Environment using SADTA 129