|
How to start Windows Application Servers in an SAP i5 System automatically ?
If you are running a 3-tier SAP system with several application servers, it is always a bit an issue to start and stop all servers at once. Therefore you should setup some special parameters.
In order to achieve this, you need to do a few different things ...
- Create batch files on the Windows SAP application servers (could be prevented and included in the following as well)
START_SAP.BAT:
c:
cd \usr\sap\sid\d00\exe
startsap name=sid nr=00 sapdiahost=appl01
STOP_SAP.BAT
c:
cd \usr\sap\sid\d00\exe
stopsap name=sid nr=00 sapdiahost=appl01
- Now you create the CL programs with REXEC clients on the i5:
ZSTARTAPPL:
PGM
DLYJOB DLY(120)
RUNRMTCMD CMD(START_SAP.BAT) RMTLOCNAME('APPL01' +
*IP) RMTUSER(sidADM) RMTPWD(pwd)
ENDPGM
ZSTOPAPPL:
PGM
RUNRMTCMD CMD(STOP_SAP.BAT) RMTLOCNAME('RAAPPL01' +
*IP) RMTUSER(sidADM) RMTPWD(pwd)
ENDPGM
- Finally, attach the new programs in the SAP start profile: (of the central instance)
Start_Program_09 local CALL PGM(ZSTARTAPPL)
Stop_program_09 local CALL PGM(ZSTOPAPPL)
Further informations is available in the following SAP Notes:
|
back
|
10/08/2024, 10:43:16
|
|