24.12.2012 Views

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

Backing Up Oracle - Computing at Cornell

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7. Day-to-day monitoring of <strong>Oracle</strong> backups on UNIX<br />

Once the TDP for <strong>Oracle</strong> implement<strong>at</strong>ion and environment has been set up,<br />

as described in the preceding chapters, it is recommended th<strong>at</strong> the regular<br />

day-to-day tasks be monitored and autom<strong>at</strong>ed for more efficient execution.<br />

This chapter details some of the processes and tasks which can be used.<br />

7.1 Autom<strong>at</strong>ing d<strong>at</strong>abase tasks<br />

There are some <strong>Oracle</strong> d<strong>at</strong>abase tasks which can be autom<strong>at</strong>ed as detailed<br />

in the following sections. These are best determined by the <strong>Oracle</strong> DBA.<br />

7.1.1 Starting SQL*Net and RDBMS services <strong>at</strong> system reboot<br />

During the boot of a UNIX system, /etc/inittab is processed. The file<br />

/etc/inittab controls process disp<strong>at</strong>ching by init. The processes most<br />

typically disp<strong>at</strong>ched by init are daemons — but there is also a section in the<br />

inittab, where user defined scripts are executed.<br />

We chose to start <strong>Oracle</strong> services when the system is switching to run level 3,<br />

which is also called extended multi-user mode. In this mode, all important<br />

system resources are available.<br />

On both systems, AIX and Sun Solaris, we placed a kill-script and a<br />

start-script into:<br />

/etc/rc.d/rc3.d for AIX<br />

/etc/rc3.d for Sun Solaris<br />

The start scripts first start SQL*Net services, and then the RDBMS is started.<br />

Because it runs under root authority, a superuser command to the <strong>Oracle</strong><br />

instance owner is issued. An example of the start script follows:<br />

© Copyright IBM Corp. 2001 89

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!