Re: Automatically Start/Stop Ora on AIX?

From: Tedd W. Gimber <tgimber_at_rma.edu>
Date: 1998/12/17
Message-ID: <36785B9C.F9A5E045_at_rma.edu>#1/1


Add the shutdown command (dbshut, lsnrctl stop) to /etc/rc.local. I don't have the exact syntax, but it is similar to what you already have in inittab.

Tedd

Scott Dudley wrote:

> The Oracle 8 install guide tells how to setup a script and inittab
> entry for automatic startup but absolutely nothing for shutdown. They
> tell you to create a shell script that first does a dbshut followed by
> the shutdown command. IMHO, this is lame. There must be a better
> way....
>
> On Mon, 14 Dec 1998 01:34:55 GMT, joel-garry_at_nospam.home.com (Joel
> Garry) wrote:
>
> >On Fri, 11 Dec 1998 20:35:20 GMT, Scott Dudley <scott_at_telesoft.com> wrote:
> >>
> >>Forgive me if this isn't the correct forrum for this question. I'm
> >>not intimately familiar with AIX admin but need to setup a script on
> >>AIX 4.3 to automatically start/stop the database and tns listener.
> >>I've done this on other Unixes but don't know how to setup on AIX for
> >>shutdown. What I've done is create a script, /etc/rc.oracle, that
> >>takes two arguments, start and stop. I'm currently calling this
> >>script via /etc/inittab for run level 2 passing the start argument.
> >>How do I ensure a graceful shutdown?
> >>
> >>Many thanks in advance.
> >
> >This should be in your install guide. Personally, I've had a lot of problems
> >with various things deciding not to let Oracle shutdown, to the point of not
> >even trying to gracefully shutdown with the rc, rather just implement
> >operational procedures to ensure someone does it manually, and shell scripts
> >for the times something will be done automatically (with checking and perhaps
> >kills for the things that prevent shutdown, ie, webservers, custom
> >applications, and people staying logged on).
> >
> >jg
> >--
> >These opinions are my own.
> >http://ourworld.compuserve.com/homepages/joel_garry Remove nospam to reply.
> >mailto:joel-garry_at_nospam.home.com Available for Oracle DBA work.
Received on Thu Dec 17 1998 - 00:00:00 CET

Original text of this message