Managing Serviceguard Extension for SAP Version B.05.10, September 2010

The file /etc/cmcluster/MDMNFS/mdmNFS.config contains information on the Serviceguard
package name ( mdmNFS), the cluster nodes ( *) the package can run on and the scripts to execute
for running and halting (/etc/cmcluster/MDMNFS/mdmNFS.control.script) this package.
clunode1:
vi /etc/cmcluster/MDMNFS/mdmNFS.config
PACKAGE_NAME mdmNFS
NODE_NAME *
RUN_SCRIPT /etc/cmcluster/MDMNFS/mdmNFS.control.script
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /etc/cmcluster/MDMNFS/mdmNFS.control.script
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
The file /etc/cmcluster/MDMNFS/mdmNFS.control.script contains information on the
volume groups (VG[0]) , the LVM logical volumes (LV[0]), the file system mount point and
options (FS...) as well as the virtual IP address (IP[0]...) to be used for this package.
vi /etc/cmcluster/MDMNFS/mdmNFS.control.script
VG[0]="vgmdmuser"
LV[0]="/dev/vgmdmuser/lvmdmuser";
FS[0]="/export/home/mdmuser"; \
FS_MOUNT_OPT[0]=""; \
FS_UMOUNT_OPT[0]=""; \
FS_FSCK_OPT[0]=""; \
FS_TYPE[0]="vxfs"
IP[0]="172.16.11.96"
SUBNET[0]="172.16.11.0"
The file hanfs.sh contains NFS directories that will exported with export options. These variables
are used by the command exportfs -i to export the file systems and the command exportfs
-u to unexport the file systems.
vi /etc/cmcluster/MDMNFS/hanfs.sh
XFS[0]="-o root=clunode1:clunode2 /export/home/mdmuser"
All nodes of the cluster require a copy of the configuration changes. Copy the MDM NFS
Serviceguard files to the second cluster node:
scp -rp /etc/cmcluster/MDMNFS clunode2:/etc/cmcluster/MDMNFS
Setup Step: MDM100
Register the Serviceguard mdmNFS package in the cluster and run it:
clunode1
cmapplyconf -P /etc/cmcluster/MDMNFS/mdmNFS.config
cmrunpkg mdmNFS
NOTE: The commands executed buy the mdmNFS package are saved in
/etc/cmcluster/MDMNFS/nfsMDM.control.script.log
After the cmrunpkg completes the "NFS export" directory /export/home/mdmuser should
now be mounted on the system clunode1.
Setup Step: MDM110
Add /home/mdmuser to the automounter configuration.
The NFS exported directory will be mounted as a NFS client directory. Edit the file
/etc/auto.direct and add the /home/mdmuser directory.
vi /etc/auto.direct
/home/mdmuser -vers=3,proto=udp \16.58.246.81:/export/home/mdmuser
Installation and Configuration Considerations for MDM 5.5 in a Serviceguard legacy environment 137