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

DocumentRoot /shared/httpd/www-site2
</VirtualHost>
For more information about configuring virtual hosts, see the Apache Web Server
documentation.
Supported configuration
This section explains the following supported configurations for Apache toolkit packages:
Local configuration
Shared configuration
Multiple instance configuration
Local configuration
In a typical local configuration, files are not shared among the nodes. Identical copies of the
Apache server configuration file and web documents reside in exactly the same locations on each
node. If you update the information in a file on one single node, you must update the files on all
the other nodes with the same changes. The administrator must ensure that all the files on all the
nodes are identical and always up-to-date. This local configuration setup is more useful in scenarios
where the information on the Web page is static and does not change very often.
Shared configuration
In a typical shared configuration, the document root directories reside on a shared file system. You
can place the server root directory in this shared file system. However, this is optional. By placing
the files and directories on a shared file system, the information automatically becomes accessible
to all the nodes in the cluster. You need not maintain copies of all the files and directories on every
node in the cluster. However, you must ensure that the mount point of the shared file system is
identical across all Apache toolkit package nodes.
NOTE: HP recommends that you use the shared configuration option for configuring this toolkit
because you do not have to maintain identical copies of the files and directories on all the nodes.
The information is automatically accessible to all the nodes.
Each website is assigned with an IP address (or domain address that maps to a particular IP
address) through the configuration file. These relocatable IP addresses are created for each Apache
toolkit package and added to its package control script. When the Apache toolkit package is
switched over from one node to another, this particular instance is stopped and IP addresses are
removed on the primary node. Then, the IP addresses are reallocated and the instance is started
on the adoptive node. Clients are automatically connected through these IP addresses to the website
on the adoptive node.
Multiple instance configuration
Apache web server is a multi-instance application, which means more than one instance of the
Apache web server runs on a single node at the same time. For example, if two nodes each are
running one Apache instance, and one node fails, the Apache instance on the failed node can
successfully fail over to the other node. In addition, the healthy node continues to run its own
instance. Multiple Apache instance configuration can be a local or shared configuration, or a
combination of both.
10 Apache Toolkit