Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access EVA A.05.01

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. Steps on the recovery site where the complex workload packages are not running as follows:
a. Take a backup of the application package configurations and delete the application
packages managed by the Site Controller on the recovery site. After this step is complete,
there are no dependents on the legacy CFS mount point MNP packages. In case CFS
mount point MNP packages are not 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>
b. 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>
c. 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 then apply the
configuration.
# cmapplyconf -P <modular_cfs_package_file>
d. Edit the application's configuration file and change its dependency from legacy CFS
mount point or CVM disk group MNP packages to the newly created modular SMS
CFS/CVM package. Apply this package configuration
cmapplyconf -P <backedup_application_config>
e. Get the current configuration of the Site Controller. Modify the Site Controller configuration
with the new set of packages that need to be managed on the recovery site. Allow the
set of packages that are being managed on the primary site remain as is.
3. Restart the Site Controller on the primary site.
4. Halt the Site Controller package on the primary site. This will halt all the complex workload
packages that are running on the primary site.
5. Restart the Site Controller on the recovery site. The complex workload will start up on the
recovery site using the new modular SMS CFS/CVM packages.
6. Halt the Site Controller that is running on the recovery site in DETACH mode.
7. Repeat step 2 that was initially performed on the recovery site, on the primary site
8. Restart the Site Controller on the recovery site.
You can either continue the Site Controller package to run on the recovery site or move it back to
the primary site.
Configuring storage devices for complex workload 97