They will be switched between the cluster nodes later.

su - <sid>adm

cd /usr/sap/<SID>/ERS<INSTNR>

mkdir data log exe work profile

Starting with SAP kernel 7.0, the following subdirectory structure also needs to be created:

mkdir -p exe/servicehttp/sapmc

Replicated Enqueue Conversion: RE095

A couple of required SAP executables should be copied from the central executable directory /sapmnt/<SID>/exe to the instance executable directory /usr/sap/<SID>/ERS<INSTNR>/exe

For SAP kernel 6.40 the list includes:

enqt, enrepserver, ensmon, libicudata.so.30, libicui18n.so.30, libicuuc.so.30, libsapu16_mt.so, libsapu16.so, librfcum.so, sapcpe and sapstart.

For some releases, the shared library file extension .so is replaced by .sl. Apart from this, the procedure remains the same. Copy these files and add a file named ers.lst in the instance executable directory. Theers.lstshould include these lines

enqt enrepserver ensmon libicudata.so.30 libicui18n.so.30 libicuuc.so.30 libsapu16_mt.so libsapu16.so librfcum.so sapcpe sapstart ers.lst

For SAP kernel 7.00 or higher, the following executables need to be copied in addition:

sapstartsrv

sapcontrol

servicehttp/sapmc/sapmc.jar

servicehttp/sapmc/sapmc.html

servicehttp/sapmc/frog.jar

servicehttp/sapmc/soapclient.jar

For SAP kernel 7.00 or higher, the ers.lst file needs to have additional lines:

sapstartsrv

sapcontrol

servicehttp

The following script example cperinit.sh performs this step for 7.00 kernels.

for i in enqt enrepserver ensmon libicudata.so.30 libicui18n.so.30 libicuuc.so.30 libsapu16_mt.so libsapu16.so librfcum.so sapcpe sapstart sapstartsrv sapcontrol

do

cp /sapmnt/$1/exe/$1 /usr/sap/$1/$2/exe echo $i >> /usr/sap/$1/$2/exe/ers.lst

done

echo servicehttp >> /usr/sap/$1/$2/exe/ers.lst echo ers.lst >> /usr/sap/$1/$2/exe/ers.lst

SAP Preparation 43

Page 43
Image 43
HP Serviceguard Extension for SAP (SGeSAP) manual Mkdir -p exe/servicehttp/sapmc, Sapstartsrv Sapcontrol Servicehttp