Solved

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

Posted on 2003-10-23
3
441 Views
Last Modified: 2013-12-21
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
Comment
Question by:nickhem
3 Comments
 
LVL 16

Accepted Solution

by:
Hanno P.S. earned 50 total points
ID: 9626561
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question