On Aug 21, 3:44*am, situ <SRIDHAR...@rediffmail.comwrote:
Greeting,
I'm using Db2 9.5 for windows.
would anybody please suggest me on how to "automate log shipping "?
Regards,
situ
There are parameters in your db cfg that allow you to do that. HADR
is one possibility.
The simplest is to use LOGARCHMETH1 and LOGARCHMETH2.
You can use the first parm. to archive a copy wherever you need:on
system disk, tape, remote disks, TASM, Veritas, ....
You use the the second parm. to do the same to archive any of the
other places but the one you chose for the first parm.
So if you can map your receiving drives on the remote system where you
want to ship to your DB2 system then all you need to do is update, in
your db cfg:
LOGRETAIN=RECOVERY and LOGARCHMETH1 or METH2 to <remote data path>
From then on, any time a log file fills, whatever the state of the
transactions in it, the log will automatically ship to the target.
Hope this helps, Pierre.