Up to now, we have discussed that a SAP instance contains three components; the DB, CI, and DI instances. But what do I SEE on the OS level when my SAP instance is up and running? The answer to this is complex, and you aren’t even close to being able to understand it all, so we will just present the big picture for now.
Besides having your database software running, and any shadow processes it might spawn, your SAP instance creates many processes when it successfully comes up. It may be configured to start at least one of every type of process SAP uses during the average day, or it may be a more specialized SAP instance that just handles user communication, leaving the more muscular work for the CI elsewhere. But every SAP instance will have at least 1 work process kicked off when it starts.
The types of work processes are as follows:
Type Description Process Instance Parameter
Dialog Process user requests in foreground dw.sap
Update Server uses to process mission critical updates also dw.sap
Update2 Server uses to process less critical updates also dw.sap
Enqueue Used for lock management also dw.sap
Batch Process jobs in the background also dw.sap
Message Message server ms.sap
Gateway Gateway server gwrd N/A
Spool Used for spool management also dw.sap
So, given that the German word for update starts with a V, the standard SAP instance that is the first instance on a server – i.e. System Number 00 – you get DVEBMGS00. So I can tell just by looking at the \usr\sap\
Just looking at the processes running on a server, you can pretty much tell if your SAP instance came up sucessfully or not. First, the message server comes up, and then the gateway/dispatcher starts and connects to the message server. And finally, the disp+work work threads for the dialogs, batch, and update processes start, the enqueue and spooling specific ones first. One depends on the other, the dw’s can’t start unless the gateway/dispatcher is up which can’t start unless the message server has come up successfully. The reverse is true during instance shutdown, first the dw’s go then the gateway/dispatcher, and finally the message server shutdown will always be the last thing in your log when you stop your SAP instance, it isn’t down until that messsage shows in the log.
No comments:
Post a Comment