Well i have tried to explain the concept behind the starting and stopping of SAP systems.
SAP has provided 2 tools for start and stop of SAP AS ABAP instances
SAP has provided 2 tools for start and stop of SAP AS ABAP instances
- On Windows OS , SAP MMC (Microsoft Management Console) is provided
- On Unix OS , the commands startsap and stopsap are provided
Sequence of Startup:-
The SAP System comprises of Database Instance , Central Services and finally the multiple Dialog Instances
The sequence of startup is extremely important. Starting the processes of sequence will result in an inconsistent state and may spawn zombie processes on the OS which will have to be killed.
To startup the SAP system , you should login to SAP with the <sid>adm OS user
The <sid>adm OS user belongs to the Unix Group called sapsys on the Unix OS
The <sid>adm OS users belongs to the Windows Group called SAP_<sid>_GlobalAdmin and Administrators Group
The underlying element of the SAP system is the database instance.Therefore this has to be started first
If Central Services has been setup , this has to be started next.This means that the Enqueue Service and the Message service should be started.
An independent program called SAP OS Collector (saposcol) is started alongwith the remaining ABAP work processes in the Central Instance.The dispatcher work process is started next.
Saposcol collects statistical data from the operating system such as CPU and Memory usage parameters
Finally , the individual dialog instances can be started. There is no dependency between the dialog instances
Role of SAP profiles in STARTUP
Each SAP instance , whether it is application instance or a dialog instance , has three profiles
The three profiles and the sequence in which they are read :
START PROFILE
DEFAULT PROFILE
INSTANCE PROFILE
The start profile is read by the sapstartsrv process and inputs are provided on the SAP system ID and number , as well the physical filepaths of the sap executables for starting message service and enqueue service
Once the dispatcher work process is started, the Default Profile file is read.This file provides the necessary information to the dispatcher on the memory and sap application performance settings required to run the instance
No comments:
Post a Comment