
Complete the following procedure on the CVM cluster master node in the primary
1.Initalize the source disks of the replication pair:
#/etc/vx/bin/vxdisksetup
#/etc/vx/bin/vxdisksetup
2.Create a disk group for the complex workload data:
#vxdg
3.Activate the CVM disk group in the primary
#vxdg
4.Create a volume from the disk group:
#vxassist
5.Skip this step if CFS is not required and SG SMS CVM will be used as raw volumes. Create a filesystem:
#newfs
6.Create a package configuration file:
#cmmakepkg
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
Do not configure any mount specific attributes like cfs_mount_point, cfs_mount_options if SG SMS CVM is configured as raw volumes.
8.Check the package configuration file:
#cmcheckconf
9.Apply the package configuration file:
#cmapplyconf
10.Run the package:
#cmrunpkg <siteA_cfs_pkg_name>
For instructions on how to migrate legacy CFS package to modular CFS package, see “Migrating Complex Workloads Using Legacy SG SMS CVM/CFS Packages to Modular SG SMS CVM/CFS Packages with Minimal Downtime” (page 399).
Configuring the Storage Device using CFS in a Legacy Style Package
NOTE: HP recommends you to use the modular style of packaging.
Complete the following procedure to configure a storage device using CFS in a legacy style package:
1.Initialize the source disks of the replication pair.
#/etc/vx/bin/vxdisksetup
#/etc/vx/bin/vxdisksetup
2.Create a disk group for the complex workload data.
#vxdg
348 Designing a Disaster Recovery Solution Using Site Aware Disaster Tolerant Architecture