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

2 Apache Toolkit
Overview
HP Serviceguard toolkit for Apache on Linux (Apache toolkit) enables you to integrate the Apache
web server application with HP Serviceguard. Using Apache toolkit simplifies application integration,
and eases deployment and maintenance of the application in a Serviceguard cluster environment.
The Apache toolkit consists of a set of scripts that are used to start, stop, and monitor the Apache
web server application. The toolkit simplifies the task of integrating Apache with SG/LX. This toolkit
contains files that are installed in specific locations, corresponding to the respective distributions.
These files enable you to manage your environment.
NOTE: To use the Apache toolkit in your environment, the Apache web server must be installed
on all the cluster nodes configured to run an Apache toolkit package.
In a typical configuration of an Apache web server application, one node is configured as a
primary node and the others are configured as standby or adoptive nodes. The Apache web server
application runs on the primary node and accepts (HTTP/S) requests and serves clients. If the
primary node fails, a standby node takes over the server activities. This take over is seamless and
does not interrupt any of the processes in the environment. For this seamless transition to occur,
all Apache server configuration information of all the nodes must be identical and all the resources
must be available to all the nodes.
The Apache web server supports multiple instances of server daemons that are running on a node
simultaneously. For each instance of an Apache server, an Apache toolkit package is created with
its own server root directory, toolkit files, and configuration information. Each instance can support
one or more websites, depending on whether or not an instance has been configured to use
virtual hosts.
The Apache server root directory contains the configuration file that specifies how an Apache
server instance is configured. The Apache configuration directives within this file determine the
location of the log files, web documents, and the domain name address for the specific Apache
server instance.
NOTE: If you have a Red Hat Enterprise Linux system in your environment, then the configuration
file resides in the conf/httpd.conf file in the Apache server root directory.
Advantages
When Apache server is deployed in an SG/LX environment, following are the advantages:
Provides monitoring for Apache daemons.
Enables easy integration of Apache web server in an SG/LX environment.
Provides high availability for the Apache web server.
Prerequisites
Apache toolkit package requires the following to function:
SG/LX must be installed on all the nodes that must be configured in the cluster.
The toolkit must be installed on all the target nodes, where the package is configured to run.
Apache web server must be installed and configured on all the target nodes.
Overview 7