Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access for P9000 and XP A.11.00
5. Validate the package configuration file.
# cmcheckconf -P <modular_sg_ecm_mc.conf>
6. Apply the package configuration with the modular configuration file created in step 3
# cmapplyconf -P <modular_sg_ecm_mc.conf>
7. Run the package on a node in the Serviceguard cluster.
# cmrunpkg -n <node_name><package_name>
8. Enable global switching for the package.
cmmodpkg -e <package_name>
Configuring storage devices for complex workload
The following sections describes how to configure storage devices managed by SG SMS CFS or
CVM as a legacy package on both the source disk site and the target site. The last section describes
how to migrate such packages to modular style.
Configuring the storage device for the complex workload at the Source Disk Site
using SG SMS CFS or CVM
To configure a storage device using SG SMS CFS or CVM in a legacy style package:
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. Create Serviceguard Disk Group MNP packages for the disk groups with a unique name in
the cluster.
# cfsdgadm add <cvm_dg_name><cvm_dg_pkg_name> all=sw\
<node1><node2>
where node1 and node2 are the nodes in the Source Disk Site.
4. Activate the CVM disk group in the Source Disk Site CFS sub-cluster.
# cfsdgadm activate <cvm_dg_name>
5. Create a volume from the disk group.
# vxassist -g <cvm_dg_name> make <cvm_dg_vol_name> 4500m
6. NOTE: Skip the following steps if you want to use the storage devices as raw CVM volumes.
To configure the storage devices using CFS,
Create a file system using the created volume
# newfs -F vxfs \
/dev/vx/rdsk/<cvm_dg_name>/<cvm_dg_vol_name>
7. Create mount points for the complex workload data and set appropriate permissions.
# mkdir /cfs
# chmod 775 /cfs
# mkdir /cfs/<cvm_dg_name>
8. Create the Mount Point MNP package with a unique name in the cluster.
# cfsmntadm add <cvm dg name> <cvm_dg_vol_name> \
/cfs/<cvm_dg_name> <cfs_mount_point_pkg_name> all=rw \
176 Legacy packages