Managing Serviceguard Extension for SAP Version B.05.10, December 2012
Non-default SAP parameters that can be defined include
EXEDIR
for the SAP access path to the
SAP kernel executables (default:
/usr/sap/<SID>/SYS/exe/run
) and
JMSSERV_BASE
(default:3900) for the offset from which the message server port of JAVA SCS instances will be
calculated as
JMSSERV_BASE+<INSTNR>.
Example:
EXEDIR for a Unicode system:
EXEDIR= /usr/sap/<SID>/SYS/exe/runU
JMSSERV_BASE for most XI add-in installations:
JMSSERV_BASE=3600
HA NFS Toolkit Configuration
The cross-mounted file systems need to be added to a package that provides HA NFS services.
This is usually the (j)db(j)ci package, the (j)db package or the standalone sapnfs package. Logon
as root to the primary host:
NOTE: This installation section does not need to be performed when using the HP Serviceguard
Storage Management Suite with CFS and shared access Option 3 (chapter 2ââPlanning the
Storage Layoutâ)
Installation Step: LS530 (Legacy Only)
If legacy-style HA NFS functionality is intended to be integrated into a legacy-style SGeSAP package,
copy the HA NFS toolkit scripts into the package directory
.
Since the SGeSAP package directory can have entries for both, a database and a Central Instance
package, it is required to add a package type suffix to the NFS toolkit files during the copy
operation. Otherwise, all packages of the package directory would act as NFS server. This is
usually not intended. In standard setups, only the combined DBCI package or the dedicated SAPNFS
package or the DB package needs NFS server functionality.
In a package directory, only one package of any of these package types should exist. Renaming
is mandatory when using multiple package types. The monitoring script nfs.mon does not need
to be renamed.
The following is an example of copy operations, whereas <pkg_type> can be db, dbci or
sapnfs:
cp /opt/cmcluster/nfs/hanfs.sh etc/cmcluster/<SID>/hanfs.<pkg_type>
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.
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:
104 Step-by-Step Cluster Conversion