your configuration. For example:
• Specify the directory that contains the HTML files. Also specify this mount point when
adding the service to the cluster configuration. It is only required to change this field if the
mount point for the web site's content differs from the default setting of
/var/www/html/
.
For example:
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 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).
Installing and Configuring the Apache HTTP
89
Содержание CLUSTER FOR ENTERPRISE LINUX 5.0
Страница 4: ...Configuring and Managing a Red Hat Cluster ...
Страница 16: ...Figure 1 4 luci cluster Tab Chapter 1 Red Hat Cluster Configuration and Management Overview 6 ...
Страница 22: ...12 ...
Страница 36: ...26 ...
Страница 96: ...86 ...
Страница 102: ...92 ...
Страница 112: ...102 ...