HP Serviceguard Toolkits for Database Replication Solutions User Guide, March 2012

#
# "vg" is used to specify which volume groups are used by this package.
#
vg vgora
------------------------------------------------------------------------
#
# "fs_name", "fs_directory", "fs_mount_opt", "fs_umount_opt", "fs_fsck_opt",
# and "fs_type" specify the file systems which are used by this package.
#
fs_name /dev/vgora/lvol1
fs_directory /oradb
fs_type "vxfs"
fs_mount_opt "-o rw"
#fs_umount_opt
#fs_fsck_opt
------------------------------------------------------------------------
RAC environment
The below mentioned example illustrates the creation of a package for ODG in a RAC environment.
1. To create a package configuration
a. Create two packages. One for the primary RAC database on the primary cluster and the
other for the standby RAC database on the standby cluster.
b. Create a directory in /etc/cmcluster,
for example, /etc/cmluster/pkg/racdgpkg
This directory becomes TKIT_DIR and cd to this directory.
c. Run the commands to create the package configuration file Templates. In this example,
the ODG toolkit module is used with the SGeRAC toolkit modules as follows:
#cmmakepkg -m sg/multi_node_all -m sgerac/erac_tk_rac -m
tkit/dataguard/dataguard dgpkg.conf
NOTE: In the RAC environment, the ODG toolkit must be used in combination with the
SGeRAC toolkit.
2. To specify configuration parameters in the package:
After the package configuration file is created, you must specify various parameter values.
The parameters that must be modified in dgpkg.conf specifically for this configuration are
shown here.
NOTE: The following package configuration contains attributes of both SGeRAC toolkit and
the ODG toolkit.
The following attributes are specific to the SGeRAC RAC database module:
------------------------------------------------------------------------
#
# "package_name" is the name that is used to identify the package.
# Package names must be unique within a cluster.
#
package_name dgpkg
------------------------------------------------------------------------
#
# "package_description" specifies the application that the package runs.
#
package_description "SGeRAC Toolkit RAC instance package"
------------------------------------------------------------------------
#
# "package_type" is the type of package.
# The package_type attribute specifies the behavior for this package.
#
package_type multi_node
28 Serviceguard toolkit for Oracle Data Guard