Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy

7. Edit the Metrocluster 3PAR attributes in hrdb_sc.config file.
8. Apply the empty Site Controller Package configuration file. Ensure that there are no packages
configured using the critical_package or managed_package attributes in the Site
Controller Package configuration file.
# cmapplyconf -P /etc/cmcluster/sc/hrdb_sc.config
When the Site Controller Package configuration is applied, the corresponding Site Safety Latch is
also configured automatically in the cluster. Use the resls command to view the Site Safety Latch
resources.
# resls -q -s /dts/mcsc/hrdb_sc
The following output is displayed:
/dts/mcsc/hrdb_sc: Resource Instance
The current value of the resource is DOWN (0)
IMPORTANT: You must adhere to the following guidelines while configuring the Site Controller
Package:
The default value of the priority parameter is set to no_priority. The Site Controller
Package must not be subjected to any movement due to package prioritization. Do not change
this default value.
The default value of the failover_policy parameter for the Site Controller Package is set
to site_preferred.
This value implies that during a Site Controller Package failover, while selecting notes 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.
Configuring the Site Safety Latch dependencies
After you apply the Site Controller package configuration, the corresponding Site Safety Latch is
automatically configured in the cluster. This section describes the procedure to configure the Site
Safety Latch dependencies.
To configure the Site Safety Latch dependencies:
1. Add the EMS resource dependency to all DG MNP packages in the RAC MNP stack on both
sites.
If you have SLVM or Veritas CVM or SG SMS CVM or CFS configured in your environment,
add the EMS resource details in the packages that are the root packages among the workload
packages in both the sites.
resource_name /dts/mcsc/hrdb_sc
resource_polling_interval 120
resource_up_value != DOWN
resource_start automatic
When using SLVM, or VERITAS CVM, or SG SMS CVM/CFS configured as a modular package,
run cmapplyconf to apply the modified package configuration.
2. Verify the Site Safety Latch resource configuration at both sites.
If you have SLVM, Veritas CVM or SG SMS CVM, or CFS configured in your environment,
run the following command to view the EMS resource details:
# cmviewcl -v p <pkg_name>
Modifying Site Controller to manage RAC MNP stack packages
1. Configure the Site Controller Package with RAC MNP stack packages of both sites:
site san_francisco
critical_package sfo_hrdb
managed_package sfo_hrdb_dg
managed_package sfo_hrdb_mp
Configuring Oracle RAC database in a SADTA 91