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.

# find / -name 'libobk.*' -ls 2>/dev/null<br />

4737 0 lrwxrwxrwx 1 bin bin 42 Mar 28 11:20 /usr/lib/libobk<br />

.a -> /usr/tivoli/tsm/client/oracle/bin/libobk.a<br />

86272 392 -rwxr-xr-x 1 bin bin 398258 Mar 29 10:16 /usr/tivoli/tsm<br />

/client/oracle/bin/libobk.a<br />

86215 392 -rwxr-xr-x 1 bin bin 398308 Mar 21 18:32 /usr/tivoli/tsm<br />

/client/oracle/bin/libobk.a.old<br />

55509 0 lrwxrwxrwx 1 oracle dba 38 Mar 21 11:19 /usr/app/oracle<br />

/product/8.1.7/lib/libobk.a -> /usr/tivoli/client/oracle/bin/libobk.a<br />

B.1.3 Running a TSM CONFIG trace<br />

You can waste a lot of time troubleshooting before finding out th<strong>at</strong> you were<br />

using the wrong options file. There is a simple trace th<strong>at</strong> can be run th<strong>at</strong><br />

provides a lot of useful inform<strong>at</strong>ion. To run this trace, add two trace lines to<br />

your dsm.opt file (for both UNIX and Windows):<br />

traceflag config<br />

tracefile c:\temp\apitrace.out<br />

Modify the p<strong>at</strong>h and filename of the TRACEFILE line to your oper<strong>at</strong>ing<br />

system. The p<strong>at</strong>h must exist.<br />

On Windows, our dsm.opt file looks like this after adding these trace lines.<br />

commmethod tcpip<br />

tcpport 1500<br />

tcpserveraddress 193.1.1.11<br />

nodename jamaica_db2<br />

passwordaccess gener<strong>at</strong>e<br />

traceflag config<br />

tracefile c:\temp\apitrace.out<br />

With the trace lines in the client options file, the next time a backup using<br />

TSM is run, a file will be cre<strong>at</strong>ed as specified by the tracefile command.<br />

If this file is cre<strong>at</strong>ed, you have already verified something important. Th<strong>at</strong> the<br />

client options file th<strong>at</strong> you modified is the one th<strong>at</strong> the TSM client is using.<br />

Open this file with a text editor. This trace will show you inform<strong>at</strong>ion regarding<br />

the level of the TSM API, tcpserveraddress, commmethod, errorlogname,<br />

ds_dir, passwordaccess, and so on. Pay special <strong>at</strong>tention to the errorlogname<br />

and the ds_dir.<br />

Appendix B. Troubleshooting 201

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

Saved successfully!

Ooh no, something went wrong!