Managing Serviceguard Extension for SAP Version B.05.10, December 2012
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
Distribute /etc/auto.direct to all cluster members with scp.
scp -p /etc/auto.direct clunode2:/etc/auto.direct
Restart nfs subsystem on all cluster members.
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.client start
Creating an initial Serviceguard package for the MDB Component
The following steps will depend if the MDM Database will be configured as "Single" or "Multiple"
MDM Serviceguard package configurations as described earlier. An "initial" Serviceguard package
means that initially only the storage volumes, the file systems and the virtual IP address will be
configured as a Serviceguard package. The goal is just to provide a file system for the installation
Installation and Configuration Considerations for MDM 5.5 in a Serviceguard legacy environment 145