Configuring HP Serviceguard Toolkit for Oracle Data Guard

7
Initially, the Primary package and the Data Receiver package will be up and running and the
Recovery package will be in halted state. The Primary package will bring up the Oracle database on
the Primary Cluster in Primary mode and the Data Receiver package will bring up the Oracle
database on the Recover Cluster in Standby mode. Thus, a typical Data Guard environment is set up
with data replication done from the primary database on the Primary Cluster to the standby database
on the Recovery Cluster.
When the primary database fails, Serviceguard configured on the Primary Cluster fails over the
database to another node within the Primary Cluster, thus providing HA to the primary database.
Similarly, if the standby database fails, then Serviceguard configured on the Recovery Cluster allows
the database to failover to another node within the Recovery Cluster.
When the Primary Cluster goes down, the administrator must run the cmrecoverclcommand on the
Recovery Cluster to bring up the Recovery package. This command will first halt the Data Receiver
package, which will halt the standby database, and then bring up the Recovery package, which will
bring up the database as a primary database. Note that in this case, role management is handled by
ODG Toolkit.
Restoring the cluster in a Continentalclusters to its original state is a manual process. The following
steps must be performed to restore the clusters back to their original state:
1. Halt the Recovery package.
2. Start the Primary package—this will bring up the database on Primary Cluster as a primary
database.
3. Start the Data Receiver package—this will bring up the database on the Recovery Cluster as a
standby database.
In a Continentalclusters environment, the AUTO_RUN attribute of the packages must be disabled at
the time of bringing up the packages in the Recovery group. This is because Continentalclusters does
not want the packages to be brought up when the cluster is brought up. But if this attribute is not
enabled, the local failover of the package within the cluster at the time of package failure will not
happen. In such a case, package switching can be manually enabled using the cmmodpkg
command after the packages in the Recovery group are started.
Multiple standby databases cannot be supported in a Continentalclusters setup. This is because there
can be only one Data Receiver package and only one Recovery package within a Recovery group.
However, the ODG Toolkit in Continentalclusters will not prevent users from configuring other standby
databases that are placed outside the Continentalclusters setup.