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

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
#-----------------------------------------------------------------------
_CPARG0 = list:$(DIR_EXECUTABLE)/ers.lst
Execute_00 = immediate $(DIR_EXECUTABLE)/sapcpe $(_CPARG0) pf=$(_PF)
#--------------------------------------------------------------------
# start enqueue replication server
#--------------------------------------------------------------------
_ER = er.sap$(SAPSYSTEMNAME)_$(INSTANCE_NAME)
Execute_01 = immediate rm -f $(_ER)
Execute_02 = local ln -s -f $(DIR_EXECUTABLE)/enrepserver $(_ER)
Start_Program_00 = local $(_ER) pf=$(_PF) NR=$(SCSID)
The DIR_CT_RUN in these profiles should equal the value of DIR_CT_RUN (if specified) or
DIR_EXECUTABLE from the [A]SCS instance profile. It is essential that the binaries from [A]SCS
and ERS instances are from the same binary set.
Make sure that the [A]SCS instances are not configured for automatic restart in the SAP profile.
HP-UX Configuration
A correct HP-UX configuration ensures that all cluster nodes provide the environment and system
configuration required to run SAP Application Server based business scenarios.
56 Step-by-Step Cluster Conversion