HP Serviceguard Linux Contributed Toolkit Suite A.04.02.01 User Guide (696979-001, June 2012)

3. Create the package configuration template using the cmmakepkg command:
Configuration template: # cmmakepkg -m tkit/apache/apache pkg_apache.conf
4. Edit the following attributes of Apache toolkit parameters:
DescriptionAttribute
This directory holds the toolkit configuration file. This
parameter directs the cmapplyconf command to
TKIT_DIR
generate the hahttp.conf file under this directory.
To put toolkit into maintenance mode, create
apache.debug under this directory. This is synonymous
with the package directory acronym.
Define a configuration file httpd.conf for this specific
Apache server instance.
HTTPD_CONFIG_FILE
For example,
HTTPD_CONFIG_FILE/etc/httpd_s1/httpd.conf
NOTE: For Red Hat, set the ServerRoot directive in
this file as per the requirement.
Fail criteria for monitoring the Apache processes. When
started, the httpd spawns a number of sub-processes
FAIL_CRITERIA
to handle high-traffic http requests. You can select to
monitor the http parent process, all processes, or any
of the processes. This criteria change the behavior of
monitor process. You must uncomment one of the
following definitions.
You can select only one among the three options:
The monitoring process monitors only parent httpd
process
If any one of the parent or child processes dies, the
package fails.
The http package fails when all the processes are
dead.
PID file holds the main httpd process ID of this Apache
instance. This PID file must correspond to the Apache
PID_FILE
PidFile directive in the httpd.conf. Under
SERVER_ROOT/conf or SERVER_ROOT directory.
NOTE: The PID file must be in the local hard disk.
This parameter is used to bring this toolkit into
maintenance mode. If this parameter is set to yes then
MAINTENANCE_FLAG
it enables maintenance feature in the toolkit. Apache
toolkit searches the apache.debug file in the Apache
toolkit package file directory where all the apache toolkit
files reside.
If the file exists, monitoring is paused, and you can bring
down Apache for maintenance. The package does not
fail over to the adoptive node even though the Apache
instance is brought down for maintenance.
After the maintenance work, ensure that Apache is
brought up. You must delete the apache.debug file in
the package directory. This enables the toolkit to
continue monitoring Apache web server application.
NOTE: If the Maintenance flag is set to no, then this
feature does not work.
The time interval in seconds to monitor the Apache server
instance. The default value is 30.
MONITOR_INTERVAL
16 Apache Toolkit