User's Guide
HA_NFS_SCRIPT_EXTENSION=<pkg_type>
This will allow only the package control script of the <pkg_type>.control.script to execute the HA
NFS script.
Installation Step: LS540
The following steps will customize the
hanfs.<pkg_type>
scripts. It will customize all required directories
for the usage of the HA-NFS.
All directories that are handled by the automounter must be exported by the scripts if they are part of the
packages. Exported directories can usually be found beneath the special export directory /export for
storage option 1 of Chapter 2. There are no cross-mounts via /export required for option 2.
Example for option 1:
/export/sapmnt/<SID>
/export/usr/sap/trans
Example for option 2:
/sapmnt/<SID>
/usr/sap/trans
Exported directories can usually be found beneath the special export directory /export. The directories to
be exported are specified including their export options, using the XFS[*] array the hanfs.<pkg_type>
script out of the HA-NFS toolkit. This script is called within the runtime by the standard Serviceguard control
script
The transport directory is also part of the package in standard installations. In those cases it also has to be
mentioned here.
Only allow access from machines inside of the cluster that are configured as backup hosts and additional
application servers of this specific SAP system. Make sure to allow access for all addresses that the servers
use so they can reach the directories. Allowing the right addresses is essential if your hosts use more than
one LAN card.
Example of an hanfs.db file using cross-mounts with storage layout option 1:
XFS[0]="-o root=node1:node2:node3:trans:db:sap /export/usr/sap/trans"
XFS[1]="-o root=node1:node2:node3:trans:db:sap /export/sapmnt/<SID>"
Installation Step: LS550
A Serviceguard service monitor for the HA NFS can be configured in section
NFS MONITOR
in
hanfs.<pkg_type>
. The naming convention for the service should be
<pkgtype><SID>NFS
. Example
for SAP System C11:
NFS_SERVICE_NAME[0]="dbciC11nfs"
NFS_SERVICE_CMD[0]="/etc/cmcluster/C11/nfs.mon"
NFS_SERVICE_RESTART[0]="-r 0"
Copy the monitor file nfs.mon from the HA NFS staging area into the package directory.
Auto FS Configuration
This section describes the configuration of the HP-UX automount feature that will automatically mount NFS
file systems.
NOTE: This section only needs to be performed when using storage layout option 1.
Repeat the steps in this section for each node of the cluster and for each external application server host.
Logon as root.
Installation Step: IS800
Check that the automounter is active.
In /etc/rc.config.d/nfsconf, the section for the autofs configuration should look similar to this:
AUTOMOUNT=1
Auto FS Configuration 81