Solved

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

Posted on 2003-10-23
3
440 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 Schröder 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

770 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