typeset MDM_SCR="/etc/cmcluster/MDM/sapmdm.sh" typeset MDM_ACTION="stop"

typeset MDM_COMPONENT="mgroup"

${MDM_SCR} "${MDM_ACTION}" "${MDM_COMPONENT}" test_return 52

}

Setup Step: MDM238

(b)Multiple Serviceguard package - continue with mdsMDM, mdisMDM, mdsMDM andmasterMDM configuration

If the Multiple Serviceguard package option was chosen in the beginning of this chapter, continue with the configuration of the mdsMDM, mdisMDM, mdssMDM and masterMDM packages. Insert in the function customer_defined_run_cmds and customer_defined_halt_cmds the following shell scripts. These scripts are responsible for executing the SGeSAP specific scripts e.g. for running and halting the MDM server components. The key statements for this package are in the beginning:

MDM_SCR is the script to execute

MDM_ACTION is start for running a package and stop for halting a package

MDM_COMPONENT which of MDM components should be started or stopped, in this case they are mds or mdis or mdss or the master component

This code logs extensive status on the script and functions being executed.The following documents the changes for the mdsMDM package - only the variable MDM_COMPONENT=mds is changed for the customer_defined_run_cmdsand the customer_defined_halt_cmds functions.

Repeat the steps below for the other packagesmdisMDM, mdssMDM and masterMDM.

vi/etc/cmcluster/MDM/mdsMDM.control.script function customer_defined_run_cmds

{

typeset MDM_SCR="/etc/cmcluster/MDM/sapmdm.sh" typeset MDM_ACTION="start"

typeset MDM_COMPONENT="mds"

${MDM_SCR} "${MDM_ACTION}" "${MDM_COMPONENT}" test_return 51

}

function customer_defined_halt_cmds

{

typeset MDM_SCR="/etc/cmcluster/MDM/sapmdm.sh" typeset MDM_ACTION="stop"

typeset MDM_COMPONENT="mds"

${MDM_SCR} "${MDM_ACTION}" "${MDM_COMPONENT}" test_return 52

}

Setup Step: MDM240

Configure sap.config

File /etc/cmcluster/MDM/sap.config contains the SGeSAP specific parameters for MDM.

The following table is an excerpt and explains the parameters that can be set for the MDM configuration.

132 SAP Master Data Management (MDM)

Page 132
Image 132
HP Serviceguard Extension for SAP (SGeSAP) manual SAP Master Data Management MDM