Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 450
  • Last Modified:

Configure auto-Startup and auto-Shut of SAP R/3 running on Solaris 2.8

I want to configure init.d scripts ( and rcX.d ) for restart and shut correctly SAP and oracle when OS reboot or start.

Sap is running on three server Solaris with Oracle 8.0.6, I need docs and information on the operations.

I have find how to do for Oracle Base and Listener but not for SAP R/3.

thanks at all by advance... Nicolas
0
nickhem
Asked:
nickhem
1 Solution
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
a) Copy a file as template to use:
    cp /etc/init.d/lp /etc/init.d/my-rc-file
b) Change this file to include the required command to start/stop your
    server processes.
c) Try if it works by running either
    /etc/init.d/my-rc-file stop
    or (and)
    /etc/init.d/my-rc-file start
d) If everything is working fine put the appropriate links into place
    ln /etc/init.d/rc3.d/S90my-rc-file
    ln /etc/init.d/rc2.d/K10my-rc-file
    ln /etc/init.d/rc0.d/K10my-rc-file

--------------- 8< -------------

A sample file might look like this:
case "$1" in
  'start')
     su - oracle -c /export/home/oracle/bin/dbstart
     ;;
  'stop')
     su - oracle -c /export/home/oracle/bin/dbshut
     ;;
esac
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now