Managing Serviceguard Extension for SAP Version B.05.10, September 2010
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
of the database software. At a later step the SGeSAP specific scripts will be added to the package.
Depending on the goal chose either option:
• (a) = Single MDM Serviceguard package - create a mgroupMDM package.
• (b) = Multiple MDM Serviceguard packages - create a mdbMDM package
At this stage the steps in option (a) or (b) are the same. Only the package name is different - the
storage volume used is the same in both cases.
Setup Step:
Level: MDM200
(a) Single MDM Serviceguard package - create a mgroupMDM package.
Create Serviceguard templates and edit the files for the mgroupMDM package. For information
on the variables used in this step see the configuration step of the nfsMDM package above.
clunode1:
mkdir /etc/cmcluster/MDM
cmmakepkg -s /etc/cmcluster/MDM/mgroupMDM.control.script
cmmakepkg -p /etc/cmcluster/MDM/mgroupMDM.config
vi /etc/cmcluster/MDM/mgroupMDM.config
PACKAGE_NAME mgroupMDM
NODE_NAME *
RUN_SCRIPT /etc/cmcluster/MDM/mgroupMDM.control.script
RUN_SCRIPT_TIMEOUT NO_TIMEOUT
HALT_SCRIPT /etc/cmcluster/MDM/mgroupMDM.control.script
HALT_SCRIPT_TIMEOUT NO_TIMEOUT
vi /etc/cmcluster/MDM/mgroupMDM.control.script
IP[0]="172.16.11.97"
SUBNET[0]="172.16.11.0"
VG[0]="vgmdmoradb"
LV[0]="/dev/vgmdmoradb/lvmdmoradb"; \
FS[0]="/oracle/MDM"; \
FS_MOUNT_OPT[0]=""; \
FS_UMOUNT_OPT[0]=""; \
FS_FSCK_OPT[0]=""; \
FS_TYPE[0]="vxfs"
scp –pr /etc/cmcluster/MDM clunode2:/etc/cmcluster/MDM
cmapplyconf -P /etc/cmcluster/MDM/mgroupMDM.config
cmrunpkg mgroupMDM
Setup Step: MDM202
138 SAP Master Data Management (MDM)