Managing Serviceguard Extension for SAP Version B.05.10, September 2010
PRODUCT_HA:MDM:o:mdm:sap \
PRODUCT_HA_INI:MDM:o:mdm:sap \
PRODUCT_HA_NOREAL:MDM:o:mdm:sap \
"
MDM_CRED="Admin: "
MDM_MONITOR_INTERVAL=60
MDM_MASTER_DEPEND="mdbMDM mdsMDM mdisMDM mdssMDM"
Copy file sap.config to second node.
scp -pr /etc/cmcluster/MDM/sap.config \
clunode2:/etc/cmcluster/MDM
Setup Step: MDM246
(a) Enable SGeSAP monitoring for the "Single" mgroupMDM package
The SGeSAP scripts include check functions to monitor the health of MDM processes. The
variableMDM_MONITOR_INTERVAL=60 in file sap.config determines how often the monitor
function is executed. To enable monitoring it has to be configured in the Serviceguard package
configuration files. The name "mgroupMDMmon" will be used as the "monitor name" /
SERVICE_NAME. Edit both Serviceguard package files.
vi /etc/cmcluster/MDM/mgroupMDM.config
SERVICE_NAME mgroupMDMmon
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 60
vi /etc/cmcluster/MDM/mgroupMDM.control.script
SERVICE_NAME[0]="mgroupMDMmon"
SERVICE_CMD[0]="/etc/cmcluster/MDM/sapmdm.sh check mgroup"
SERVICE_RESTART[0]=""
To activate the changes in the configuration files run the following commands:
cmapplyconf -P /etc/cmcluster/MDM/mgroupMDM.config
cmrunpkg mgroupMDM
Setup Step: MDM248
(b) Enable SGeSAP monitoring for "Multiple" MDM packages
The SGeSAP scripts include check functions to monitor the health of MDM processes. The variable
MDM_MONITOR_INTERVAL=60 in file sap.config determines how often the monitor function
is executed. To enable monitoring it has to be configured in the Serviceguard package
configuration files. For the mdsMDM Serviceguard package - the name "mdsMDMmon" will be used
as the monitor name /SERVICE_NAME. Edit both Serviceguard package files.
vi /etc/cmcluster/MDM/mdsMDM.config
SERVICE_NAME mdsMDMmon
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 60
vi /etc/cmcluster/MDM/mdsMDM.control.script
SERVICE_NAME[0]="mdsMDMmon"
SERVICE_CMD[0]="/etc/cmcluster/MDM/sapmdm.sh check mds"
SERVICE_RESTART[0]=""
To activate the changes in the Serviceguard configuration files run the following command:
cmapplyconf -P /etc/cmcluster/MDM/mdsMDM.config
Repeat the above steps for the mdbMDM, mdisMDM and mdsMDM packages.
152 SAP Master Data Management (MDM)