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.

shark_target_volume<br />

We only used one volume for our test. If your d<strong>at</strong>abase uses many ESS<br />

volumes for your d<strong>at</strong>afiles, and other <strong>Oracle</strong> files, you should specify this<br />

parameter for each volume you use.<br />

We initially put in here the serial number of the FlashCopy device,<br />

followed by two dashes (‘- -’). The dashes was upd<strong>at</strong>ed l<strong>at</strong>er with the<br />

source volume serial number, and the size of the volume when the backup<br />

script was run on the production machine.<br />

You must note th<strong>at</strong> the FlashCopy device must be accessible to the<br />

backup machine, but must not be known to the oper<strong>at</strong>ing system when the<br />

backup process is running. When the backup process starts on the backup<br />

machine, TDP for ESS runs the Configur<strong>at</strong>ion Manager and makes the<br />

disks and filesystems known to the oper<strong>at</strong>ing system, runs the backup,<br />

then removes the file system and disks from the oper<strong>at</strong>ing system.<br />

We had problems because of this and the errors produced in the trace file<br />

were not th<strong>at</strong> obvious.<br />

Our backup script file as specified in d<strong>at</strong>abase_backup_script_file in the<br />

production machine looks like this:<br />

run {<br />

alloc<strong>at</strong>e channel t1 type 'sbt_tape' parms<br />

'ENV=(DSMO_NODE=auckland,DSMI_ORC_CONFIG=/usr/tivoli/tsm/client/api/bin/dsm.opt,<br />

DSMI_LOG=/orc8/app/oracle/product/815/admin/tokyo/adhoc,DSMO_OWNER=oracle8)';<br />

backup<br />

(d<strong>at</strong>abase);<br />

release channel t1;<br />

}<br />

Here are some things to note on the backup script:<br />

TDP for <strong>Oracle</strong> environment variables<br />

The environment variables used by channel t1 are wh<strong>at</strong> you would<br />

normally use for TDP for <strong>Oracle</strong>.<br />

DSMO_NODE<br />

This is the TSM node name to be used to backup the d<strong>at</strong>abase. This is the<br />

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

236 <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!