Red Hat ENTERPRISE LINUX 4 - ADMINISTRATION Manual page 95

Configuring and managing a red hat cluster
Hide thumbs Also See for ENTERPRISE LINUX 4 - ADMINISTRATION:
Table of Contents

Advertisement

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, /etc/rc.d/init.d/httpd is also 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 Configuration Tool to add the
service, as follows. This example assumes a failover domain named httpd-domain was created 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 Configuration
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.
2. Add a device for the Apache HTTP Server content files and/or custom scripts.
Installing and Configuring the Apache HTTP Server
85

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 4 - ADMINISTRATION and is the answer not in the manual?

Questions and answers

Table of Contents