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.

5.1.4 Registering with the TSM server<br />

For our d<strong>at</strong>abase server, we decided to use different TSM node names. Each<br />

node name is bound by its domain name and policy name to an appropri<strong>at</strong>e<br />

management class.<br />

The nodenames we are using in our dsm.sys file are listed in Table 3.<br />

Table 3. Nodes and servers<br />

Nodename Server name Purpose<br />

sol_e brazil_ba Generic backup/archive clients<br />

sol_oracle sol_oracle TDP for <strong>Oracle</strong><br />

sol_db2 brazil-db2 DB2 backups and log archives<br />

See 4.8, “Node consider<strong>at</strong>ions” on page 52, for more details about the setup<br />

used.<br />

5.1.5 Initialize the password<br />

TDP for <strong>Oracle</strong> ships a program, aobpswd, to simul<strong>at</strong>e the TSM function<br />

PASSWORDACCESS=GENERATE. This elimin<strong>at</strong>es the need to enter a<br />

password manually, allowing RMAN to establish a session with the TSM<br />

Server without prompting each time for a password. The aobpswd program<br />

encrypts the TSM password and stores it in a secure file loc<strong>at</strong>ed with the<br />

DSMO_PSWDPATH environment variable. The password is then passed to<br />

the TSM API to the TSM server without user intervention.<br />

To initialize the TDP for <strong>Oracle</strong> password, perform the following steps as root<br />

user:<br />

1. Export DSMO_NODE=sol_oracle.<br />

2. Export DSMI_CONFIG=/opt/tivoli/tsm/api/bin/dsm.opt.<br />

3. Export DSMI_LOG=$PWD.<br />

4. Set PASSWORDACCESS PROMPT in the options file (dsm.sys).<br />

5. Start the aobpswd program.<br />

a. Enter the current node password.<br />

b. You are prompted for a new password. If you just press the Enter key,<br />

the password will not be changed.<br />

Successful execution of the aobpswd program gener<strong>at</strong>es a password file<br />

named TDPO. in your default install<strong>at</strong>ion directory.<br />

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