Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF

4. NOTE: Skip the following steps if you want to use the storage devices as raw CVM volumes.
Create the mount point directories for the complex workload cluster file systems.
# mkdir /cfs
# chmod 775 /cfs
# mkdir /cfs/<cvm_dg_name>
5. Create the Mount Point MNP package with a unique name in the cluster.
# cfsmntadm add <cvm_dg_name><cvm_dg_vol_name>\
cvm_dg_name> </cfs/<cfs_mount_point_pkg_name> all=rw\
<node1><node2>
where node1 and node2 are the nodes at the target disk site.
6. Mount the cluster file systems in this CFS sub-cluster.
# cfsmount /cfs/<cvm_dg_name>
Migrating complex workloads using legacy SG SMS CVM/CFS packages to modular
packages with minimal downtime
To migrate all the legacy SG SMS CVM/CFS packages managed by a Site Controller package
to modular SG SMS CVM/CFS packages:
1. Halt the Site Controller that is running on the primary site in DETACH mode. When the Site
Controller package is halted in the DETACH mode, the Site Controller package goes down
without bringing down the complex workload packages. This is done by creating a file DETACH
in the Site Controller's package directory on the node where the Site Controller package is
running, and then executing the cmhaltpkg command:
# cd <site_controller_pkg_dir>
# touch DETACH
# cmhaltpkg <site_controller_package_name>
2. On the recovery site where the complex workload packages are not running:
Take a backup of the application package configurations and delete the application
packages managed by the Site Controller on the recovery site. After completing this step,
there would be no dependents on the legacy CFS mount point MNP packages. In case
CFS mount point MNP packages have not been configured, this step ensures that there
are no dependents on the legacy CVM diskgroup MNP packages:
# cmgetconf -p <application_pkg_name> > <backedup_appl_config>
# cmdeleteconf -p <application_pkg_name>
Use the cfsmntadm command to delete all the legacy disk group and mount point MNP
packages managed by the Site Controller from a node in the recovery site. Use the
cfsdgadm command if there are no CFS mounts configured.
# cfsmntadm delete <mount point>
or
# cfsdgadm delete <cvm_diskgroup_name>
Configure all the CVM diskgroups and the mount points required by an application in a
single modular SMS CFS /CVM package. Add the EMS resource and apply the
configuration.
# cmapplyconf -P <modular_cfs_package_file>
96 Legacy packages