Appendix A. Example of Setting Up Apache HTTP Server
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
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
• 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 System from the drop-down menu.
• Enter the Name for the resource (for example,
• Choose ext3 from the File System Type drop-down menu.
• Enter the mount point in the Mount Point field (for example,
• Enter the device special file name in the Device field (for example,
3. Add an IP address for the Apache HTTP Server service.
• Click Create a Resource.
• Choose IP Address from the drop-down menu.
• Enter the IP Address to be associated with the Apache HTTP Server service.
• Make sure that the Monitor Link checkbox is left checked.
• Click OK.
4. Click the Services property.
5. Create the Apache HTTP Server service.
• Click Create a Service. Type a Name for the service in the Add a Service dialog.
• In the Service Management dialog, select a Failover Domain from the drop-down menu
90
) in the File (with path) field.
httpd-content
httpd-domain
.
).
/var/www/html/
).
/dev/sda3
was
Need help?
Do you have a question about the CLUSTER SUITE FOR ENTERPRISE LINUX 5.1 and is the answer not in the manual?
Questions and answers