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
nickhemAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.