Definition
When you start an SAP instance on a host, the start profile defines which SAP services are started (message server, dialog, gateway or enqueue process. for example). The startsap program is responsible for starting these service processes, and it uses a start profile to begin the startup process.
The processes that can be started include:
- Application server
- Message server
- SNA Gateway
- System log send demon
- System log receive demon
Apart from the general profile parameters, such as the name of the SAP System ( SAPSYSTEMNAME ), instance number ( SAPSYSTEM ) and name of the SAP instance ( INSTANCE_NAME ), the only parameter names that are permitted in a start profile are:
- Execute_xx (xx = 00-99) : To start operating system commands, which prepare the SAP System start. For example, you can use this parameter to start the SAP-related database or to set up links to executables on UNIX platforms.
- Start_Program_xx (xx = 00-99) : To start an SAP instance, for example, on an application server.
- Stop_Program_xx (xx = 00-99) : To start an operating system command or SAP program after the SAP instance was stopped. For example, the halting or removal of shared memory areas that were used by the SAP System.
The number xx defines the execution sequence. The programs specified in Execute_ parameters are executed before the programs listed in the Start_Program parameters. After the SAP instance has been stopped, the programs specified in the Stop_Program parameters are started. Here is an example of a start profile used to start a message server, an application server and an SNA gateway:
#.***************************************************************
#.* Start profile START_DVEBMG47
#.*
#.* Version = 000003
#.* last changed by = WATT
#.* last changed on = 21.03.1995, 15:05:19
#.***************************************************************
SAPSYSTEMNAME = K11
INSTANCE_NAME = DVEBMG47
#----------------------------------------------------------------
# start message server
#----------------------------------------------------------------
_MS = ms.sapK11_DVEBMG47
Execute_01 = local ln -s -f $(DIR_EXECUTABLE)/msg_server $(_MS)
Start_Program_01 = local $(_MS) pf=$(DIR_PROFILE)/K11_DVEBMG47
#----------------------------------------------------------------
# start application server
#----------------------------------------------------------------
_DW = dw.sapK11_DVEBMG47
Execute_02 = local ln -s -f $(DIR_EXECUTABLE)/disp+work $(_DW)
Start_Program_02 = local $(_DW) pf=$(DIR_PROFILE)/K11_DVEBMG47
#----------------------------------------------------------------
# start SNA-Gateway
#----------------------------------------------------------------
Use
To run a program on the local host, place the word ‘ local ’ in front of the relevant parameter value:
Execute_00 = local sapmsesa 53 remove
To execute a program on a remote host, place the host name in front of the parameter value.
Execute_00 = hs0011 sapmsesa 53 remove
You can choose any name for a start profile. The start profile files generated by SAP are structured as follows: START_
START_DVEBMGS53, START_DVEBMGS53_hs0311
To start the same SAP service processes on several hosts, you can use a single start profile. Each SAP instance does not have to have its own start profile.
No comments:
Post a Comment