Installing and Configuring Apache Toolkit for Serviceguard for Linux

This command installs the Apache toolkit. By default, the Apache toolkit directory is created in the
following location:
#/usr/local/cmcluster/apachetoolkit
On SUSE Linux Enterprise Server:
Change to your rpm package directory and enter the following command:
#rpm i apache-toolkit-<release_version>.product.suse.noarch.rpm
This command installs the Apache toolkit. By default, the Apache toolkit directory is created in the
following location
opt/cmcluster/apachetoolkit
In order to verify the Linux Apache toolkit installation, you can either run the ‘rpm qa | grep apache’
command or you can ensure the presence of all the toolkit scripts in the toolkit installation directory
/usr/local/cmcluster/apachetoolkit .
CONFIGURING APACHE WEB SERVER PACKAGES IN AN SG/LINUX
ENVIRONMENT
After installing the Apache Web Server, you need to configure the packages. Apache Web Server is
a multi-instance application. This implies that multiple instances of the Apache Web Server can run
on the same node simultaneously. This multi-instance feature of this package ensures that the
package is always up and running. For example, if two nodes are each running an instance of
Apache and one node fails, the Apache instance on the failed node can fail over to the healthy
node. In addition, the healthy node can continue to run its own instance of the Apache Server.
You can configure multiple instances of Apache using either the local or shared storage
configuration or a combination of both. The subsequent sections explain how to configure Apache
Web Server as a single instance package and as a multiple instance package using the High
Availability Apache Toolkit. These sections also describe how to configure the Apache package in
maintenance mode.
Configuring a Single Instance
For easy comprehension, the following naming conventions have been used in this section:
A Serviceguard Apache packages is referred to as APACHE1. The corresponding service
name is referred to as apache1_service.
The Apache instance listens to a relocatable IP address of 15.70.191.6.
It assumed that you have already configured the Serviceguard cluster, including details such as
configuring the cluster name and the node names, determining the heartbeat IP address and so on.
The following node names are used in this section:
photon3
photon4
For more information on configuring a Serviceguard cluster, refer the Managing HP Serviceguard
for Linux user guide.
To configure a volume, you can select one of the following methods:
Local Configuration
With this method, you configure volumes on the local file system. The server root directory and the
document root directory are maintained in the local file system.
Shared Configuration: