Installation guide
<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 HT T P 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. T he standard Apache HT T P Server start script, /etc/rc.d/init.d/httpd is also used within
the cluster framework to start and stop the Apache HT T P 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 HT T P Server directories
are not mounted. Then, on one node, invoke the Cluster Configurat ion T ool to add the service, as
follows. This example assumes a failover domain named httpd-dom ain was created for this service.
1. Add the init script for the Apache HTT P 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 HT T P 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.
Click Create a Resource.
In the Resource Configuration dialog, select File Syst em from the drop-down menu.
Enter the Name for the resource (for example, httpd-content.
Choose ext3 from the File Syst em Type drop-down menu.
Enter the mount point in the Mount Point field (for example, /var/www/html/).
Enter the device special file name in the Device field (for example, /dev/sda3).
3. Add an IP address for the Apache HT T P Server service.
Click Create a Resource.
Choose IP Address from the drop-down menu.
Enter the IP Address to be associated with the Apache HT T P Server service.
Make sure that the Monitor Link checkbox is left checked.
Click OK.
4. Click the Services property.
5. Create the Apache HT T P Server service.
Click Create a Service. T ype a Name for the service in the Add a Service dialog.
In the Service Managem ent dialog, select a Failover Domain from the drop-down menu or
leave it as None.
Click the Add a Shared Resource to this service button. From the available list,
Example of Setting Up Apache HTTP Server
83