6 Using an Apache Toolkit in a HP Serviceguard Cluster

This chapter describes the toolkit that integrates and runs HP Apache in the HP Serviceguard environment. This chapter is intended for users who want to install, configure, and execute the Apache web server application in a Serviceguard clustered environment. It is assumed that users of this document are familiar with Serviceguard and the Apache web server, including installation, configuration, and execution.

NOTE: This toolkit supports:

HP Serviceguard versions

A.11.19

A.11.20

Apache version that is available with HP Web Server Suite(WSS) 2.X and 3.X and,

HP-UX 11i v2 and HP-UX 11i v3

At the time of publication, this version supports the above mentioned SG, application, and HPUX versions. More recent versions of these products may be certified with B.06.00. For the latest information, see the compatibility matrix available at: http://www.hp.com/go/ hpux-serviceguard-docs —>HP Serviceguard

NOTE: This version of the toolkit supports both, legacy and modular style packages.

Unless otherwise stated, this toolkit supports all filesystems, storage and volume managers that Serviceguard supports.

This toolkit includes support for the following:

HP Serviceguard A.11.19 with VERITAS Cluster File System (CFS) 5.0 on HP-UX 11i v2, and HP-UX 11i v3.

HP Serviceguard A.11.19 with CFS 5.0.1 on HP-UX 11i v3.HP Serviceguard A.11.20 with CFS 5.1 SP1 on HP-UX 11i v3

To use CFS, install the appropriate version of HP Serviceguard Storage Management Suite. For more details see the Serviceguard Release Notes at: http://www.hp.com/go/ hpux-serviceguard-docs ->Serviceguard and the Storage Management Suite Release Notes .

This toolkit consists of a set of shell scripts for configuring, starting, monitoring, and stopping the Apache web server application. The toolkit works with the Serviceguard package control script, managed by Serviceguard in case of legacy packages and Serviceguard master control script in case of modular packages. Each Apache instance is configured in its own Serviceguard package. This chapter assumes that users have used swinstall to properly install both Serviceguard and the Enterprise Cluster Master Toolkit (referred to as the ECMT), which includes the scripts for Apache. Table 23 (page 97) lists the files needed during installation, that are in/opt/cmcluster/ toolkit/apache.

Table 23 Files in Apache Toolkit

File Name

Description

 

 

README

The content of this README has been moved to this user guide.

 

 

hahttp.conf

User defined variables for customizing this toolkit for your environment.

 

 

hahttp.sh

The main shell script.

 

 

hahttp.mon

Script that monitors the health of the Server application.

 

 

97