Start and Stop Process: Microsoft Windows

Start Processing

...

1. Starting the SAP services

When the Microsoft Windows system is booted, the SAP service ( SAP_, such as SAPC11_00) is always automatically started. The service evaluates entries from the Microsoft Windows start profile, copies the adm user environment to the registry, and reads the required environment variables from the registry.

2. Starting the SAP Processes

You can start the SAP processes using the Microsoft Management Console (MMC). To do this, select an instance and choose Start in the context menu. For more information, see Microsoft Management Console: Windows.

DCOM communication is set up with the SAP service and messages for starting the appropriate SAP instance are sent to the service. The SAP service interprets the Microsoft Windows start profile (see Evaluating the Start Profile below) and starts the processes of which the instance consists. (The processes are started by the program sapstartsrv.exe.)

The message to start the desired instance can also be issued using the command line program sapstart.exe.

The following diagram illustrates the interaction of the individual processes during the start process:

This graphic is explained in the accompanying text

Evaluating the Start Profile

When you start an instance, the SAP service executes all commands in the Microsoft Windows start profile that contain an Execute_ statement. The SAP service then starts the processes of the SAP instance in the order in which the Start_Program_ statements are listed in the profile.

Shutdown Processing

You are stopping the SAP system with the MMC or another utility program. The SAP service waits for a stop message from the MMC or from a command line program (such as sapsrvkill) and then stops the SAP system. The service itself is not stopped.

Caution

The database is not stopped with this shutdown process.

No comments:

topics