Please login or register. December 15, 2019, 10:03:01 PM

Author Topic: start/stop oracle automatically in AIX  (Read 15467 times)

0 Members and 1 Guest are viewing this topic.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1195
  • Karma: +0/-0
start/stop oracle automatically in AIX
« on: January 24, 2007, 08:35:47 AM »
Quote
Topic:   start/stop oracle automatically in AIX 5.3 ML04
Posted by: Acoel ? 01/22/2007, 02:02:31
Author Profile | Post Reply | Alert | Recommend | Current page | Edit | Main Forum
hello,
I am a new AIX user,
I want to automate my oracle start/stop and I do not know where can I put my start/stop script.
Do you have the procedure on how to start/stop my oracle automatically (if I shutdown/reboot the server)?
Add'l info, my server is p52A and I have oracle 10g on it.

Thanks in advance,
Acoel

wwells

  • Full Member
  • ***
  • Posts: 18
  • Karma: +0/-0
Re: start/stop oracle automatically in AIX
« Reply #1 on: January 26, 2007, 12:01:44 AM »
Typically, startup scripts are put in /etc and called rc.something. For oracle, a typical startup script would be called /etc/rc.oracle.

To make AIX call it on startup, you can either add it directly into the inittab file or place a call to it in another rc script.

For shutdown, you can set up a script called /etc/rc.shutdown. The shutdown command will run this script at the start of the shutdown process.

See the man pages for inittab and shutdown for further info.