Skip to Content
avatar image
Former Member

stop and restart PRD system with script

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Apr 04, 2008 at 02:20 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 04, 2008 at 02:37 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Juan Reyes

      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

  • avatar image
    Former Member
    Apr 08, 2008 at 08:29 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.