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.

tsm: BRAZIL>define schedule api_domain backup_offline action=command<br />

object="c:\oracle\admin\scripts\autorman.cmd backup_offline_beach"<br />

ANR2500I Schedule BACKUP_OFFLINE defined in policy domain API_DOMAIN.<br />

2. DEFINE ASSOCIATION<br />

Now we associ<strong>at</strong>e this schedule with the node th<strong>at</strong> will execute the command.<br />

Our Windows DB2 backups use JAMAICA_ORACLE as the nodename, so<br />

th<strong>at</strong> is wh<strong>at</strong> we used for this command:<br />

tsm: BRAZIL>define associ<strong>at</strong>ion api_domain backup_offline jamaica_oracle<br />

ANR2510I Node JAMAICA_ORACLE associ<strong>at</strong>ed with schedule BACKUP_OFFLINE in policy<br />

domain API_DOMAIN.<br />

11.2.1.2 TSM client steps for scheduling<br />

Once the schedule has been defined on the TSM server, and the schedule<br />

has been associ<strong>at</strong>ed with the nodename, the only thing left to do is set up a<br />

scheduler service.<br />

We want to use a different scheduler service for the TDP for <strong>Oracle</strong> backups<br />

to make it easier to check whether the commands executed. In our Windows<br />

environment, we chose scheduling mode client polling.<br />

If you have more than one scheduler service on a machine and you are using<br />

server prompted scheduling mode, you MUST specify the TCPCLIENTPORT<br />

option in one of the scheduler service’s to be different from the default.<br />

Otherwise, both services will try to listen on the same port.<br />

The TSM backup archive client provides a wizard to assist with installing a<br />

scheduler service. We chose to use the command line utility dsmcutil.exe<br />

loc<strong>at</strong>ed in the ...\baclient directory. In order to keep this service separ<strong>at</strong>e from<br />

the backup client scheduler service, you must specify options for NAME,<br />

NODE, PASSWORD, OPTFILE, SCHEDLOG, and ERROR.LOG.<br />

If you do not use different values for SCHEDLOG and ERROR.LOG, both<br />

scheduler services will write to the same log files:<br />

C:\Program Files\Tivoli\TSM\baclient>dsmcutil install /name:"TSM Scheduler <strong>Oracle</strong>"<br />

/node:"jamaica_oracle" /password:"jamaica_oracle"<br />

/optfile:"c:\progra~1\tivoli\tsm\agentoba\dsm.opt"<br />

/schedlog:"c:\progra~1\tivoli\tsm\agentoba\dsmsched.log"<br />

/errorlog:"c:\progra~1\tivoli\tsm\agentoba\dsmerror.log"<br />

Chapter 11. Day-to-day monitoring on Windows 2000 173

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

Saved successfully!

Ooh no, something went wrong!