HP Serviceguard Oracle DataGuard Toolkit User Guide, April 2011
The example illustrates the creation of a package for ODG in a single-instance environment.
1. Creating a package configuration
• Create two packages: one for the primary database on the Primary Cluster and the other
for the standby database on the Standby Cluster.
• Create a directory in /etc/cmcluster, for example, “dataguard.” This directory will
eventually become TKIT_DIR and “cd” to this directory.
• Run the following commands to create the package configuration file templates. Note
that the ODG toolkit has to be used in combination with the ECMT toolkit (in case of a
single-instance database).
A combinational package is the one in which two applications are packaged together
by combining their respective Serviceguard modules into one package.
In the example below, the ODG toolkit module has been used with the ECMT Oracle modules as
follows:
#cmmakepkg -m ecmt/oracle/oracle -m tkit/dataguard/dataguard dgpkg.conf
• Specifying configuration parameters in the package
Once the package configuration file has been created, the user must specify various parameter
values. Only the parameters that are to be modified in dgpkg.conf specifically for this configuration
are shown here.
Note that the package configuration file shown below contains attributes of both the ECMT Oracle
toolkit and the ODG toolkit.
Oracle Data Guard package configuration example 25