Chapter 5. Setting Up Apache HTTP Server
Specify a unique IP address to which the service will listen for requests. For ex-
•
ample:
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
•
contains 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
module functionality. For information on setting up other options, refer to the Red
Hat Enterprise Linux System Administration Guide and the Red Hat Enterprise
Linux Reference Guide.
2. The standard Apache HTTP Server start script,
used within 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 resource 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 Configura-
tion Tool to add the service, as follows. This example assumes a failover domain named
was created for this service.
httpd-domain
1. Add the init script for the Apache HTTP Server service.
Select the Resources tab and click Create a Resource. The Resources Config-
•
ureation properties dialog box is displayed.
Select Script form the drop down menu.
•
Enter a Name to be associated with the Apache HTTP Server service.
•
Specify the path to the Apache HTTP Server init script (for example,
•
/etc/rc.d/init.d/httpd) in the File (with path) field.
Click OK.
•
/etc/rc.d/init.d/httpd
79
is also
Need help?
Do you have a question about the CLUSTER SUITE - CONFIGURING AND MANAGING A CLUSTER 2006 and is the answer not in the manual?
Questions and answers