You are on page 1of 12

SAP START/STOP SEQUENCE (HA

Anurag
[Email address]
Contents
1. SAP STARTUP SEQUENCE:-..................................................................................................................2
SAP START SEQUENCE….......................................................................................................................2
1.1 FIRST PHASE :....................................................................................................................................3
1.2 SECOND PHASE:..............................................................................................................................3
1.3 THIRD PHASE :-..................................................................................................................................4
1.3.1 START CENTRAL INSTANCE..........................................................................................................5
1.3.2 START DIALOG INSTANCE............................................................................................................5
2. SAP STOP SEQUENCE:-.......................................................................................................................7
2.1 FIRST PHASE :-...................................................................................................................................8
2.1.1 STOP DIALOG INSTANCE…...............................................................................................................8
2.1.2 STOP CENTRAL INSTANCE….............................................................................................................9
2.2 SECOND PHASE:-........................................................................................................................10
2.3 THIRD PHASE:-...........................................................................................................................11
1. SAP Startup Sequence:-
To Start the SAP three steps are as below:-

1) Start the OS
2) Start Database
3) Start Application

*Start message and enqueue server first.

*Start the other instances

SAP START SEQUENCE….

DATABASE CENTRAL INSTANCE DIALOG INSTANCE


1.1 First Phase :
OS (operating system) must be running and if not contact the OS team and make it running first.

Screenshot for running OS is as below for your reference:

Now you can login to DATABASE and APPLICATION server user ‘root’ or ‘sidadm’ user.

1.2 SECOND PHASE:


Start the Database:-

To Start the database :-

 Switch to sidadm user using below command


‘ su – sidadm’
 Now start the database using below command
‘ sapcontrol -nr <instance no.> -function StartSystem HDB’
OR
“HDB start”

 Now check the status of database server using below command:-

‘ sapcontrol -nr <instance no.> -function GetProcessList’


1.2.1 Start Database Instance:-

1.2.2 Now check the status of database services


using below command:-
‘ sapcontrol -nr <instance no.> -function GetProcessList’

1.3 Third phase :-

 Now start the application running on the above mentioned database using below Command:-
‘ su – sidadm’

‘ sapcontrol -nr <instance no.> -function StartSystem’

Check status:-

‘sapcontrol -nr <instance no.> -function GetProcessList’

1.3.1 START CENTRAL INSTANCE

1.3.2 START DIALOG INSTANCE


All are green means all services are running.
Now Application is running.
2. SAP Stop Sequence:-
It consist of three phases or steps:-

1) Stop application instances

 Stop instance first on which dispatcher is running.

 Stop instance last on which message and enqueue is running.

2) Stop the database .

3) Stop OS (operating system)

SAP STOP SEQUENCE…

DIALOG INSTANCE CENTRAL INSTANCE DATABASE


2.1 First Phase :-

Stop the application using below commands -

‘Su – sidadm’

‘Sapcontrol -nr <instance no.> -function StopSystem’

2.1.1 Stop Dialog Instance…


2.1.2 Stop Central Instance….

Check the status using below command:-

‘Sapcontrol -nr <instance no.> -function GetProcessList’


2.2 SECOND PHASE:-

 Stop the Database using below commands:-

‘ su – sidadm’

‘sapcontrol -nr <instance> -function StopSystem HDB’

OR

‘HDB Stop’

 Check the status of the Database services using below command:-

‘sapcontrol -nr <instance> -function GetProcessList’

Status of Database services...


As per the above screenshot, Database is in
stopped state now
2.3 THIRD PHASE:-

Once the application and DB has been stopped, we can shutdown the OS using below command.

“init 0”

Screen appears after the OS shutdown is as below:-

Now the OS is also down.

You might also like