Solved

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

Posted on 2003-10-23
3
438 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.:
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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now