for i in sapmc.jar sapmc.html frog.jar soapclient.jar

do

cp /sapmnt/$1/exe/servicehttp/sapmc/$i /usr/sap/$1/$2/exe/servicehttp/sapmc/$i

done

The script needs to be called providing a SAP SID and the instance.

Example: ./cperinit.sh C11 ERS00

Replicated Enqueue Conversion: RE100

Create instance profile and startup profile for the ERS Instance.

These profiles get created as <sid>adm in the instance profile directory- /usr/sap/<SID>/ERS<INSTNR>/profile.

Even though this is a different instance, the instance number is identical to the instance number of the [A]SCS. The virtual IP address used needs to be different in any case.

Here is an example template for the instance profile <SID>_ERS<INSTNR>_<[A]REPRELOC>:

#--------------------------------------------------------------------

# system settings

#--------------------------------------------------------------------

SAPSYSTEM = <INSTNR>

SAPSYSTEMNAME = <SID> INSTANCE_NAME = ERS<INSTNR>

#--------------------------------------------------------------------

# Special settings for this manually set up instance

#--------------------------------------------------------------------

DIR_EXECUTABLE = $(DIR_INSTANCE)/exe

DIR_PROFILE = $(DIR_INSTANCE)/profile DIR_CT_RUN = /usr/sap/<SID>/SYS/exe/runU

#--------------------------------------------------------------------

# Settings for enqueue monitoring tools (enqt, ensmon)

#--------------------------------------------------------------------

enque/process_location = REMOTESA rdisp/enqname = $(rdisp/myname)

#--------------------------------------------------------------------

# standalone enqueue details from (A)SCS instance

#--------------------------------------------------------------------

SCSID = <INR>

SCSHOST = <[J]CIRELOC> enque/serverinst = $(SCSID) enque/serverhost = $(SCSHOST)

Here is an example template for the startup profile START_ERS<INSTNR>_<[A]REPRELOC>:

#--------------------------------------------------------------------

SAPSYSTEM = <INSTNR>

SAPSYSTEMNAME = <SID> INSTANCE_NAME = ERS<INSTNR>

#--------------------------------------------------------------------

# Special settings for this manually set up instance

#--------------------------------------------------------------------

SCSID = <INR>

DIR_EXECUTABLE = $(DIR_INSTANCE)/exe

DIR_PROFILE = $(DIR_INSTANCE)/profile

DIR_CT_RUN = /usr/sap/$(SAPSYSTEMNAME)/SYS/exe/runU SETENV_00 = PATH=$(DIR_INSTANCE)/exe:%(PATH) SETENV_01 = LD_LIBRARY_PATH=$(DIR_EXECUTABLE)

_PF = $(DIR_PROFILE)/<SID>_ERS<INSTNR>_<[A]REPRELOC>

#-----------------------------------------------------------------------

# Copy SAP Executables

44 Step-by-Step Cluster Conversion

Page 44
Image 44
HP Serviceguard Extension for SAP (SGeSAP) manual Scsid = INR, Pf = $Dirprofile/Sidersinstnrarepreloc