SAP System
SAP System Architecture Dispatcher Queue ICM Memory Pipe SAP Web AS Java Web Browser HTTP, HTTPS SMTP, SOAP, XML,… SAP GUI DIAG SAP Application Server(SAP Instance) Web Dispatcher M Queue SAP Buffer (Shared Mem) D D B V S E G Oracle Informix DB2 MS SQL Server MAX DB Database Server
Starting and Stopping SAP System
Starting SAP System
Start SAP : Windows Server
Windows Service : SAP/Oracle RDBMS
SAP Start Process
Starting SAP System : Windows Server
MMC DEV Start DB right-click send message via name-pipe SAPDEV_00 read Startup Profile strdbs.cmd msg_server.exe disp+work.exe sapstart.log SAPDEV_00 (service) read Start alert_DEV.log DB (if not) dev_ms Message Server read dev_disp Dispatcher Default Profile Start Instance Profile Start dev_rd Gateway Start dev_icm ICM dev_w0..w<n> WPs Connect DB DB
SAPDBA (Release <= 4.6C)
BRTOOLS (Release >= 4.7)
Start SAP : Command Line C:\startsap name=<SID> nr=<System Number> SAPDIAHOST=<Host Name> Example : C:\startsap name=DEV nr=00 SAPDIAHOST=sap
Remove/Reinstall SAP Service for Windows Server Remove SAP Service C:\usr\sap\DEV\SYS\exe\run\ntscmgr remove SAPDEV_00 Reinstall SAP Service C:\usr\sap\DEV\SYS\exe\run\ntscmgr install SAPDEV_00 -b c:\usr\sap\DEV\SYS\exe\run\sapntstartb.exe -p pf=c:\usr\sap\DEV\SYS\profile\START_DVEBMGS00_sap
Start SAP : UNIX Server
Starting SAP System : UNIX
Starting SAP System : UNIX Server
DB kill.sap $ startsap start startdb script read sapstart Start SAPosCOL(if not) alert_DEV.log startdb.log startdb script Startup Profile msg_server disp+work read startsap_DVEBMGS00.log sapstart kill.sap Start dev_ms Message Server read Default Profile dev_disp Dispatcher Instance Profile Start Start dev_rd Gateway Start ICM dev_icm WPs dev_w0..w<n> Connect DB DB
Checking Oracle Database Status using brtools
SAP Work Process : ps –ef | grep dw
Starting SAP Options : UNIX Server Startup Database Server $ startsap db Startup SAP Instance $ startsap r3
Stopping SAP System
Before Stopping the SAP System Check the status of List users : SM04,AL08 List Active processes : SM50,SM66 Send a system message : SM02
Stopping SAP : Windows Server
Stopping the SAP System : Windows
Stopping SAP System : Windows Server
Stopping SAP : UNIX Server
Stopping the SAP System : UNIX
Stopping SAP System : UNIX Server
Stopping SAP Options : UNIX Server Stop SAP Instance $ stopsap r3 Startup Database Server $ stopsap db