Managing Serviceguard Extension for SAP Version B.05.10, December 2012

/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 of
the hanfs.<pkg_type> script out of legacy-style HA-NFS toolkit package. This script is called
within the runtime by the standard Serviceguard control script. In modular-style packages, specify
the parameter nfs/hanfs_export/XFS instead.
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:
Legacy Style:
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>"
Modular Style:
nfs/hanfs_export/XFS "-o root=node1:node2:node3:trans:db:sap /export/usr/sap/trans"
nfs/hanfs_export/XFS "-o root=node1:node2:node3:trans:db:sap /export/sapmnt/<SID>"
Installation Step: LS550
A Serviceguard service monitor for the HA NFS
nfs_upcc.mon
is configured by default with
modular-style packages. For legacy-style packages it 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"
For legacy-style packaging, 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_MASTER="/etc/auto_master"
AUTOMOUNT_OPTIONS="-f $AUTO_MASTER"
AUTOMOUNTD_OPTIONS= -L
AUTOFS=1
Older installations on HP-UX and installations without autofs require a slightly different syntax for
the "old" automounter:
Auto FS Configuration 105