
Following are the guidelines that you must follow while configuring the Site Controller Package:
•The default value of the priority parameter is set to no_priority. The Site Controller Package should not be subjected to any movement because of package prioritization. So do not change this default value.
•The default value of the failover_policy parameter for the Site Controller Package is set to site_preferred. Based on your requirement, the value can be set to site_preferred_manual.
The site_preferred value implies that during a Site Controller Package failover, while selecting nodes from the list of the node_name entries, the Site Controller Package fails over to the nodes that belong to the site of the node it last ran on, rather than the nodes that belong to the other site. The site_preferred_manual failover policy provides automatic failover of packages within a site and manual failover across sites.
Complete the following procedure to configure the Site Controller Package for the complex workload:
1.Create the Site Controller Package directory on all nodes at both sites: mkdir
2.From any node, create a Site Controller Package configuration file using the dts/sc module. cmmakepkg
IMPORTANT: When using Metrocluster with Continuous Access XP A.10.00 or later, Metrocluster with Continuous Access EVA A.05.00 or later, or Metrocluster with EMC SRDF A.09.00 or later, the cmmakepkg command must be used in conjunction with the
For example, for Metrocluster with Continuous Access for P9000 and XP, the command is:
cmmakepkg
For Metrocluster with Continuous Access EVA, the command is:
cmmakepkg
For Metrocluster with EMC SRDF, the command is:
cmmakepkg
3.Edit the cw_sc.config file and specify the following:
IMPORTANT: Ensure there are no packages configured with the critical_package or managed_package attributes in the Site Controller Package configuration file.
a.Name for the package_name attribute: package_name cw_sc
b.Names of the nodes explicitly using the node_name attribute.
c.The directory created in step 1 for the dts/dts/dts_pkg_dir attribute. dts/dts/dts_pkg_dir /etc/cmcluster/cw_sc
It is recommended that the Site Controller package configuration file is located in the dts/dts/dts_pkg_dir directory.
d.Specify a name for the log file.
script_log_file /etc/cmcluster/cw_sc/cw_sc.log
e.Specify the sites without any packages.
Do not specify any packages using the critical_package or managed_package attributes.
site site1
356 Designing a Disaster Recovery Solution Using Site Aware Disaster Tolerant Architecture