HP Serviceguard Toolkit for Oracle Data Guard Creating Serviceguard package using Modular method

Models: Serviceguard Toolkit for Oracle Data Guard

1 140
Download 140 pages 15.58 Kb
Page 107
Image 107

packages fail. This e-mail is generated only when packages fail, and not when a package is halted by the operator. To send this e-mail message to multiple recipients, a groupe-maill ID must be created and specified for this parameter. When e-mail ID is not specified for this parameter, the script does not send out this e-mail.

The following information provides the steps for configuring the toolkit and running the package. This includes configuring the Apache toolkit user configuration file.

NOTE: Before working on the toolkit configuration, the package directory (for example, /etc/ cmcluster/pkg/http_pkg1) must be created and all toolkit scripts copied to the package directory.

1.Edit the Apache Toolkit user configuration file.

In the package directory, edit the user configuration file ( hahttp.conf) as indicated by the comments in that file.

For example:

SERVER_ROOT="/shared/apache1/httpd" PID_FILE="/var/run/httpd1.pid" SSL="yes"

MAINTENANCE_FLAG="yes"

2.Copy the entire package directory at the same path on all nodes configured for the package. For this example, each package node must have the following files in the package directory:

http_pkg.conf

#Package configuration file

http_pkg.cntl

#Package control file

hahttp.conf

#Apache toolkit user configuration file

hahttp.mon

#Apache toolkit monitor program

hahttp.sh

#Apache toolkit main script

toolkit.sh

#Interface file between the package

 

#control file and the toolkit

3.Apply the Serviceguard package configuration using the command cmapplyconf -P http_pkg.conf.

Use the same procedures to create multiple Apache instances for Serviceguard packages that will be running on the cluster.

Creating Serviceguard package using Modular method.

Follow the steps below to create Serviceguard package using Modular method:

1.Create a directory for the package.

#mkdir /etc/cmcluster/pkg/apache_pkg/

2.Copy the toolkit template and script files from apache directory.

#cd /etc/cmcluster/pkg/apache_pkg/ #cp /opt/cmcluster/toolkit/apache/* ./

3.Create a configuration file (pkg.conf) as follows.

#cmmakepkg -m ecmt/apache/apache pkg.conf

4.Edit the package configuration file.

NOTE: Apache toolkit configuration parameters in the package configuration file have been prefixed by ecmt/apache/apache when used in Serviceguard A.11.19.00 or later.

For Example:

/etc/cmcluster/pkg/apache_pkg/pkg.conf

Creating Serviceguard package using Modular method. 107

Page 107
Image 107
HP Serviceguard Toolkit for Oracle Data Guard manual Creating Serviceguard package using Modular method