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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

E.3.2.1 Backup on the production machine<br />

Our backup script in the production machine looks like this:<br />

essorcp /orc8/app/oracle/product/815/admin/tokyo/adhoc/tokyo.ess swiss<br />

/tmp/tokyotmp<br />

The following is an explan<strong>at</strong>ion of the command and its parameters:<br />

essorcp<br />

This is the TDP for ESS backup executable for the production machine.<br />

setup filename<br />

This is our setup file:<br />

/orc8/app/oracle/product/815/admin/tokyo/adhoc/tokyo.ess.<br />

TSM node name of the backup machine<br />

Because the node name was not explicitly specified in the dsm.sys of<br />

backup machine, it defaulted to the hostname. In our case the backup<br />

machine’s node name is swiss. This is the TDP for ESS node name and<br />

not the TDP for <strong>Oracle</strong> node name.<br />

temporary file name<br />

A temporary file is cre<strong>at</strong>ed by essorcp which contains parameters th<strong>at</strong> are<br />

needed by the backup machine to perform its backup. This file is backed<br />

up in the TSM server, and l<strong>at</strong>er on transported to the backup machine by<br />

the backup process. We put the temporary file in /tmp/tokyotmp.<br />

From our observ<strong>at</strong>ion, the backup process basically performs the following:<br />

1. Makes an RMAN backup to TSM of the control files<br />

2. Performs a FlashCopy of the source volumes<br />

3. Backs up the backup script and configur<strong>at</strong>ion files to TSM<br />

4. Cre<strong>at</strong>es a temporary file<br />

5. Performs backup of the temporary file<br />

E.3.2.2 Backup on the backup machine<br />

We did not use a backup script on the backup machine, We ran our backup<br />

directly on the shell, and the command looks like this:<br />

[root@swiss> /] $ essorcb auckland /tmp/tokyotmp<br />

238 <strong>Backing</strong> <strong>Up</strong> <strong>Oracle</strong> using Tivoli Storage Management

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

Saved successfully!

Ooh no, something went wrong!