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 (Prefork, 64-bit) and Tomcat 6 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 Web and LAMP pattern. Do not use the HTTP Server 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 Section 6.4.1, Apache Server Errors after Using the HTTP Server Option in YaST.
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. See Installing and Configuring Novell Storage Services
in the OES 2015 SP1: NSS File System Administration Guide for Linux.
If you host multiple websites on a single server on NetWare, you must configure an Apache virtual host for each website on one OES node, then copy the configuration files to every OES node in the cluster.
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
/media/nss/APACHEVOL/www/mysite
The following permissions are required:
The user wwwrun must be the file owner of the website 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 an 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 6.2, Using Apache HTTP Server on OES Servers.