Managing Serviceguard Extension for SAP, December 2007
Step-by-Step Cluster Conversion
Cluster Configuration
Chapter 3 147
In the package control script <pkg_type>.control.script, specify :
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.
IS540 Installation Step:
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. On
INFORMIX installations without local database executables, access
must be granted to the database file system too.
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: