cancel
Showing results for 
Search instead for 
Did you mean: 

Stop/Start SAP Instance

Former Member
0 Kudos

We would like to set up the stop/start process in SAP to run automatically. Right now this is a manual process using SAPMMC. We shut down SAP to clear the buffers and apply the Windows patches every week. Can anyone tell me how to set this up or if a script needs to be in place?

Thanks

Stephanie

Accepted Solutions (1)

Accepted Solutions (1)

JPReyes
Active Contributor
0 Kudos

You can use a script for sure...just add to your script the following:

stopsap <r3,db or all> name=<SID> nr=<system_number>

and

startsap <r3,db or all> name=<SID> nr=<system_number>

that should do..

Regards

Juan

Answers (3)

Answers (3)

Former Member
0 Kudos

The MMC is showing a green status. A co-worker has created a .bat file to stop and start the process. I will have him try the above suggestion.

Thanks!

Former Member
0 Kudos

We tried adding the above script and now we can't bring the system down even manuallly. Please help

JPReyes
Active Contributor
0 Kudos

Whats the status on the SAPMMC?

If the MMC does not show status you could stop the DB manually and restart the box.

Now theres no reason for SAP to stop responding... try using stopsap all name=<sid> nr=<system_number>

Regards

Juan

Former Member
0 Kudos

Thanks much. We will give it a try.