The following setup is required to reuse the Apache cluster resources from your NetWare cluster:
When you install OES services on the server, Novell-ready versions of Apache 2 (64-bit) and Tomcat 5 are automatically installed and configured. You manually manage Apache services with the Apache configuration files. Use a text editor to create or modify the configuration files, then gracefully restart the Apache HTTP Server daemon (rcapache2 graceful) to apply the changes.
WARNING:Do not install the Linux Section 7.4.1, Apache Server Errors after Using the HTTP Server Option in YaST.pattern. Do not use the option in YaST to configure Apache or virtual host settings on an OES server. It overwrites essential OES settings for Apache and breaks the existing setup. For recovery information, see
To reuse an NSS pool cluster resource that contains your Web content, you must install Novell Storage Services for Linux on each OES node in the cluster. For information, see OES 2 SP3: NSS File System Administration Guide for Linux.
If you host multiple Web sites on a single server on NetWare, you must configure an Apache virtual host for each Web site on one OES node, then copy the configuration files to every OES node in the cluster. For information, see Section 7.2.3, Creating and Configuring a Virtual Host for Each Web Site.
In a Novell Cluster Services cluster, the directories you specify in the DocumentRoot directive and any Alias directives for a virtual host should reside on the same cluster resource so they can fail over together. The location that contains the Web content should be a directory on the volume, not the root of the volume. Specify the full Linux path of the directory. Linux paths are case-sensitive.
For example, Novell Cluster Services scripts assume that the pool’s volumes are mounted in the default NSS location of /media/nss/<volume_name>. The full Linux path of the /www/mysite path on an NSS volume APACHEVOL is
The following permissions are required:
The user wwwrun must be the file owner of the Web site directories and files. The group can be the system root or the Apache group www.
If Web content resides on an NSS volume, the following additional permissions are required:
Enable the eDirectory user wwwrun and group www with Linux User Management (LUM). OES automatically creates and LUM-enables the user and group when you install the first OES server in a Novell eDirectory tree.
Assign the eDirectory user wwwrun as a file system trustee with Read and File Scan rights for the directory you specify in the DocumentRoot directive in the virtual host configuration file.
These permissions are also required for Web content hosted on an NCP-enabled Linux volume.
For information about the default OES setup for Apache and setting up virtual hosts, see Section 7.2, Using Apache HTTP Server on OES Servers.