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

Maintaining Oracle database 10gR2 RAC MNP packages on a site
The RAC MNP package is a SGeRAC toolkit package. To complete maintenance procedures on
the RAC MNP package, follow the procedures recommended by the SGeRAC toolkit for RAC MNP
package maintenance. A maintenance operation on the RAC MNP package at a site can also
involve halting the RAC MNP package. To halt the RAC MNP.
# cmhaltpkg <RAC MNP package name>
Because the RAC MNP is down, as it is halted in the cluster, the Site Controller Package does not
interpret it as a failure. The Site Controller Package continues to run on the same site and the Site
Safety Latch will remain open.
After the maintenance procedures are done, restart the RAC MNP package at the same site. To
restart the RAC MNP package, run the following command:
# cmrunpkg <RAC MNP package name>
However, if the Site Controller Package is halted when the RAC MNP package is halted for
maintenance, the RAC MNP stack on that site shuts down. In this scenario, the RAC MNP package
can only be started by restarting the Site Controller Package. This is because the Site Safety Latch
closes when the Site Controller Package halts.
Maintaining Oracle database 10gR2 RAC
A RAC database configured using SADTA has two replicas of the RAC database configuration;
one at each site. The database configuration is replicated between the replicas using a replicated
storage. Most of the maintenance changes done at the site with the active database configuration
are propagated to the other site. However, some changes, such as service configuration, and
Oracle patch installation, are not replicated. Such maintenance operations must be performed on
the RAC database configurations at both the sites. For more information on maintaining an Oracle
RAC database, see the Oracle documentation. You must also see the Serviceguard Extension for
Oracle RAC manual available at http://www.hp.com/go/hpux-serviceguard-docs->HP Serviceguard
Extension for RAC.
To complete maintenance operations that require that the RAC database or its instance to be halted,
requires the SGeRAC toolkit MNP package in the cluster or its instance to be halted. To halt the
SGeRAC MNP package, run the following command:
# cmhaltpkg <RAC MNP package name>
The Site Controller Package does not interpret halting of the RAC MNP Stack package as a failure
and continues to run uninterrupted. Once the maintenance procedures are complete, restart the
RAC MNP package. To restart the RAC MNP package, run the following command:
# cmrunpkg <RAC MNP package name>
However, if the Site Controller Package is halted while the RAC MNP package was halted for
maintenance, the RAC MNP stack can only be started by restarting the Site Controller Package.
Moving a Site Aware Disaster Tolerant Oracle RAC database to a remote site
To perform maintenance operations that require the entire site to be down, you can move the
disaster tolerant Oracle RAC database to a remote site. To move the RAC database to a remote
site, the local RAC database configuration must be first shut down and then the remote RAC
database configuration must be started.
To move the database to a remote site:
1. Halt the Site Controller Package of the RAC database.
# cmhaltpkg <site_controller_package_name>
2. Ensure the RAC MNP stack packages are halted successfully.
# cmviewcl -l package
3. Start the Site Controller Package on a node in the remote site.
# cmrunpkg <site_controller_package_name>
130 Configuring Oracle RAC in SADTA