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 3.3.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, seeYou can use the Novell Storage Services (NSS) file system or Linux file systems to host your Web content:
NSS volumes:
Install the Installing and Configuring Novell Storage Services
in the OES 2 SP3: NSS File System Administration Guide for Linux.
Novell Cluster Services supports cluster resources for NSS pools. For information about creating clustered NSS pools and volumes, see Configuring Cluster Resources for Shared NSS Pools and Volumes
in the OES 2 SP3: Novell Cluster Services 1.8.8 Administration Guide for Linux.
Linux volumes: Linux POSIX file systems (such as Btrfs, Ext2, Ext3, Reiser, and XFS) are installed automatically.
To use NCP-enabled Linux volumes, install NCP Services and Novell Remote Manager on each OES node in the cluster. For information, see the OES 2 SP3: NCP Server for Linux Administration Guide.
Novell Cluster Services supports cluster resources for shared Linux POSIX volumes on . For information about creating clustered Linux POSIX volumes, see Configuring and Managing Cluster Resources for Shared Linux POSIX Volumes
in the OES 2 SP3: Novell Cluster Services 1.8.8 Administration Guide for Linux. For information about enabling NCP on the volume, see Configuring NCP Volumes with Novell Cluster Services
in the OES 2 SP3: NCP Server for Linux Administration Guide.
You can host multiple Web sites on the same server. You must configure an Apache virtual host for each Web site. In a Novell Cluster Services cluster, you must configure an Apache virtual host on one OES node, then copy the configuration files to every OES node in the cluster. For information, see Section 3.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 pool 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, the full Linux path of the /www/mysite path on an NSS volume APACHEVOL is
/media/nss/APACHEVOL/www/mysite
For Linux POSIX volumes, the /www/mysite path should be added to the volume’s mount point path, such as:
/mnt/apachevol/www/mysite
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 or an NCP-enabled Linux 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.
For information about the default OES setup for Apache and setting up virtual hosts, see Section 3.2, Using Apache HTTP Server on OES Servers.