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

stty erase "^?"
set -o emacs # use emacs commands
alias __A=`echo "\020"` # up arrow = back a command
alias __B=`echo "\016"` # down arrow = down a command
alias __C=`echo "\006"` # right arrow = forward a character
alias __D=`echo "\002"` # left arrow = back a character
alias __H=`echo "\001"` # home = start of line
Setup Step: MDM070
Copy files to second cluster node.
All nodes of the cluster require a copy of the configuration changes. Copy modified files to the
second cluster node.
clunode1:
scp /etc/passwd clunode2:/etc/passwd
scp /etc/hosts clunode2:/etc/hosts
scp /etc/group clunode2:/etc/group
Setup Step: MDM080
Setup the Serviceguard directory for the mdmNFS package.
Create a directory /etc/cmcluster/MDMNFS which will contain the Serviceguard templates
and scripts for NFS. These scripts will mount the appropriate storage volumes, enable virtual IP
addresses and export the NFS file systems to the NFS clients.
NOTE: The template names mdmNFS.xxxxx should be consistent with the variable
PACKAGE_NAME mdmNFS as specified in the next step.
clunode1:
mkdir /etc/cmcluster/MDMNFS
cd /etc/cmcluster/MDMNFS
cp /opt/cmcluster/nfs/* .
cmmakepkg -s /etc/cmcluster/MDMNFS/mdmNFS.control.script
cmmakepkg -p /etc/cmcluster/MDMNFS/mdmNFS.config
clunode2:
mkdir /etc/cmcluster/MDMNFS
Setup Step: MDM090
Edit the Serviceguard files for the mdmNFS package.
Edit the files for the MDM package files:
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.
144 SAP Master Data Management (MDM)