cancel
Showing results for 
Search instead for 
Did you mean: 

stop and restart PRD system with script

Former Member
0 Kudos

Goodmorning,

i would restart my server every sunday.

For windows and all services i haven't a problem.

But for stop and after reboot restart "SAP R/3 System" what could i do? for do this in automatic mode?

At today i start this in handle mode.

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Fabrizio,

why do you want to reboot your server every sunday?????

If you reboot your SAP this often, you'll have performance problems every Monday. All

of your SAP internal Buffers must be filled again after an reboot. If your DB is on the

same Host, also your DB Buffer is empty.

If this is an productive System, i highly recommend you that you not reboot your SAP System this often....

(By side, thats the difference between an *nix and an Windows System.).

What is the reason for doing that?

confused

Regards Manuel

Former Member
0 Kudos

Hi,

>(By side, thats the difference between an *nix and an Windows System.).

This an Urban Legend from the days of windows NT 4.

Well managed, a windows SAP system is very stable.

We have seen uptimes of more then 6 months on our production R/3 4.7 system.

The reboot in that case was planned for a driver update.

Of course, if you have "Game boy" pseudo windows admins trying all the latest sharewares and games on the production server, Windows will be much less stable !

Regards,

Olivier

Former Member
0 Kudos

It has nothing to do with "stable"... Windows Servers ARE stable... But 6 Months..

No Security Updates 6 Months?

We have *nix Server with over 700 Days uptime.

And they are fully patched (except Kernel fixes).

Regards Manuel.

JPReyes
Active Contributor
0 Kudos

very simple...

create 2 batch files with the startsap and stopsap commands.

you can execute the stopsap.bat via windows scheduler 10 minutes before the server restart. To start the system automatically after restart just add the startsap.bat to Startup folder in windows.

Regards

Juan

Former Member
0 Kudos

Yes of course. This is the best solution. It didn't strike me at all .

Regards.

Ruchit.

JPReyes
Active Contributor
0 Kudos

alternatevely... you can also schedule the system restart via the scheduler

regards

Juan

Former Member
0 Kudos

Just understand that there are cases where you do not want the SAP system to start automatically after a reboot. For example, in the case of a system crash where a problem needs to be identified and corrected before the SAP system is restarted.

I would also question the need to reboot your system once a week in the first place. You should be able tune and stablize the system enough so shutdowns and reboots aren't necessary at all.

Best Regards,

Matt

Former Member
0 Kudos

Hello ,

You have startsap and stopsap scripts in the kernel for this. But how to do it automatically without manual intervention I am not very sure.

Regards.

Ruchit.

Former Member
0 Kudos

At Monday i do some test with script .bat

Bye and thanks