Serviceguard Toolkits for Contrib User Guide Version A.12.00.00

To create multiple Apache toolkit packages for multiple Apache instances:
1. Configure volume groups for each Apache instance.
To create volume groups applicable for both shared and local configuration:
a. Create another volume group, such as vgtry2.
b. Create a logical volume lvol in the volume group that you just created.
c. Create a file system on this logical volume and mount it.
For example: /mnt/vgtry2/apache
d. Copy all the files from the server root directory to /mnt/vgtry2/apache.
Configuring modular Apache toolkit packages
To configure modular Apache toolkit packages:
1. Create the package configuration template using the cmmakepkg command:
Configuration template: # cmmakepkg -m tkit/apache/apache pkg_apache.conf
2. Edit the following attributes of Apache toolkit parameters. Table 6 (page 12) lists all the
attributes of Apache toolkit parameters that you can edit.
Table 2 List of attributes that you can edit
DescriptionAttribute
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:
Set the ServerRoot directive in this file as per the
requirement.
Apache toolkit does not support online modification
of this attribute.
On RHEL, the default configuration file is /etc/
httpd/conf/httpd.conf.
On SLES, the default configuration file is
/etc/apache2/httpd.conf.
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.
Apache toolkit does not support online modification
of this attribute.
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.
12 Apache Toolkit