29
SAP System

2.SAP Startstop Process

Embed Size (px)

Citation preview

Page 1: 2.SAP Startstop Process

SAP System

Page 2: 2.SAP Startstop Process

SAP System ArchitectureSAP System Architecture

Database Server

M

SAP Application Server(SAP Instance)

Oracle

Informix

DB2

MS SQL Server

MAX DB

G

Dispatcher

Queue

D D B V S E

SAP Buffer(Shared Mem)

SAP GUI

DIAG

Dispatcher Queue

ICM

Memory Pipe

SAP Web AS Java

Web Browser

HTTP, HTTPS

SMTP, SOAP, XML,…Web

Page 3: 2.SAP Startstop Process

Starting and Stopping SAP

System

Page 4: 2.SAP Startstop Process

Starting SAP System

Page 5: 2.SAP Startstop Process

Start SAP : Windows Server

Page 6: 2.SAP Startstop Process

Windows Service : SAP/Oracle RDBMS

Page 7: 2.SAP Startstop Process

SAP Start Process

Page 8: 2.SAP Startstop Process

Starting SAP System : Windows Server

Page 9: 2.SAP Startstop Process

MMC DEVStart

SAPDEV_00(service)

right-click

send message via name-pipe

Startup Profile

strdbs.cmdmsg_server.exedisp+work.exe

DB (if not)

Message Server

Dispatcher Default Profile

Instance Profile

Start

Gateway

ICM

WPs

DB

Start

Start

Start

read

readsapstart.log

dev_ms

dev_disp

dev_rd

dev_icm

dev_w0..w<n>

alert_DEV.log

Connect DB

Page 10: 2.SAP Startstop Process

SAPDBA (Release <= 4.6C)

Page 11: 2.SAP Startstop Process

BRTOOLS (Release >= 4.7)

Page 12: 2.SAP Startstop Process

Start SAP : Command Line

C:\startsap name=<SID> nr=<System Number> SAPDIAHOST=<Host Name>

Example :C:\startsap name=DEV nr=00

SAPDIAHOST=sap

Page 13: 2.SAP Startstop Process

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

Page 14: 2.SAP Startstop Process

Start SAP : UNIX Server

Page 15: 2.SAP Startstop Process

Starting SAP System : UNIX

Page 16: 2.SAP Startstop Process

Starting SAP System : UNIX Server

Page 17: 2.SAP Startstop Process

$ startsap

SAPosCOL(if not)

start

Startup Profile

msg_serverdisp+work

startdb script

Message Server

DispatcherDefault Profile

Instance Profile

Gateway

ICM

WPs

DB

Start

Start

Start

read

read

startdb.log

dev_ms

dev_disp

dev_rd

dev_icm

dev_w0..w<n>

startsap_DVEBMGS00.logsapstart

Start

alert_DEV.log

Connect DB

kill.sap

Page 18: 2.SAP Startstop Process

Checking Oracle Database Status using brtools

Page 19: 2.SAP Startstop Process

SAP Work Process : ps –ef | grep dw

Page 20: 2.SAP Startstop Process

Starting SAP Options : UNIX Server

Startup Database Server $ startsap db

Startup SAP Instance $ startsap r3

Page 21: 2.SAP Startstop Process

Stopping SAP System

Page 22: 2.SAP Startstop Process

Before Stopping the SAP System

• Check the status of– List users : SM04,AL08– List Active processes : SM50,SM66

• Send a system message : SM02

Page 23: 2.SAP Startstop Process

Stopping SAP : Windows Server

Page 24: 2.SAP Startstop Process

Stopping the SAP System : Windows

Page 25: 2.SAP Startstop Process

Stopping SAP System : Windows Server

Page 26: 2.SAP Startstop Process

Stopping SAP : UNIX Server

Page 27: 2.SAP Startstop Process

Stopping the SAP System : UNIX

Page 28: 2.SAP Startstop Process

Stopping SAP System : UNIX Server

Page 29: 2.SAP Startstop Process

Stopping SAP Options : UNIX Server

Stop SAP Instance $ stopsap r3

Startup Database Server $ stopsap db