cancel
Showing results for 
Search instead for 
Did you mean: 

Autostart of SAPMMC following server restart

former_member183044
Active Participant
0 Kudos

Hi all,

We are making some changes in our BLADE server. The management is planning to make the Development server and Quality server to "AUTOSTART" after the server restarting. For that i searched and found the following steps.

  • Our sap hostname has set to start automatically in services.
  • Add one more parameter in START profile and ADD the parameter as Autostart=1

Is there are any other points i have to take care about ? Or is this enough ??

Regards

Praveen

Accepted Solutions (1)

Accepted Solutions (1)

isaias_freitas
Advisor
Advisor
0 Kudos

Hello,

If by "Our sap hostname has set to start automatically in services" you mean that the sapstartsrv process (or SAP<SID>_<InstanceNumber> Service, on Windows) will be automatically started when the OS boots, that would be enough.

Just ensure that the database is started before SAP.

Otherwise, SAP will start and stop right away.

Regards,

Isaías

former_member183044
Active Participant
0 Kudos

Hi Isaias,

The "start type" of the service in services SAP<SID>_00 is "AUTOMATIC". When the OS reboots, will the SAP MMC will automatically restart ?

Regards

Praveen

Sriram2009
Active Contributor
0 Kudos

Hi Praveen.

Yes, You can start the SAP instance by creating the bat file put in to Windows Task Scheduler.

Regards

SS

former_member183044
Active Participant
0 Kudos

Hi SS,

Can u pls explain the steps for creating such bat file ?

Regards

Praveen

Answers (3)

Answers (3)

Asha_Pillai
Active Participant
0 Kudos

Hello Praveen,

Please ensure that the parameter "Autostart=1" should not be the last line in the start profile

Regards,

Asha

Former Member
0 Kudos

Hi Praveen,

Just create a batch file with

startsap.exe name=XXX nr=00 SAPDIAHOST=xxxx.xx.xxxx  and similar for stopsap and update the scripts in GPEDIT screen as shown below..

Done.

Regards,

Prithviraj

former_member183044
Active Participant
0 Kudos

Hi prithviraj,

thanks.

Regards

praveen

former_member227283
Active Contributor
0 Kudos

Dear Praveen,

As Services are on Auto start mode in Services.msc, so AUTOSTART=1 parameter should be enough to bring SAP instance automatic up.

Regards,

Anil

isaias_freitas
Advisor
Advisor
0 Kudos

Notice the correct parameter is "Autostart = 1" (it is case sensitive ).

Sriram2009
Active Contributor
0 Kudos

Hi Praveen.

You can create the .bat or .cmd file, On windows OS create a schedule task assign the bat file after start the system.

command "\usr\sap\SID\DEVXXXX\exe\startsap name=SID nr=XX SAPDIAHOST=(SAP hostname)

Regards

SS