3. Installing and Configuring the Apache HTTP Server
DocumentRoot "/mnt/httpdservice/html"
•
Specify a unique IP address to which the service will listen for requests. For example:
Listen 192.168.1.100:80
This IP address then must be configured as a cluster resource for the service using the
Cluster Configuration Tool.
•
If the script directory resides in a non-standard location, specify the directory that con-
tains the CGI programs. For example:
ScriptAlias /cgi-bin/ "/mnt/httpdservice/cgi-bin/"
•
Specify the path that was used in the previous step, and set the access permissions to
default to that directory. For example:
<Directory /mnt/httpdservice/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Additional changes may need to be made to tune the Apache HTTP Server or add mod-
ule functionality. For information on setting up other options, refer to the Red Hat Enter-
prise Linux System Administration Guide and the Red Hat Enterprise Linux Reference
Guide.
2.
The standard Apache HTTP Server start script,
the cluster framework to start and stop the Apache HTTP Server on the active cluster node.
Accordingly, when configuring the service, specify this script by adding it as a Script re-
source in the Cluster Configuration Tool.
3.
Copy the configuration file over to the other nodes of the cluster (or nodes of the failover
domain, if configured).
Before the service is added to the cluster configuration, ensure that the Apache HTTP Server
directories are not mounted. Then, on one node, invoke the Cluster Configuration Tool to add
the service, as follows. This example assumes a failover domain named
ated for this service.
1.
Add the init script for the Apache HTTP Server service.
•
Select the Resources tab and click Create a Resource. The Resources Configura-
tion properties dialog box is displayed.
•
Select Script form the drop down menu.
/etc/rc.d/init.d/httpd
66
is also used within
was cre-
httpd-domain
Need help?
Do you have a question about the Cluster for Enterprise Linux 5 and is the answer not in the manual?
Questions and answers