Re: Rman "Duplicate target" Using TDPO
Date: Fri, 4 Mar 2011 10:28:26 -0300
It's rather simply... if you have root in the new machine ;-)
cd /usr/tivoli/tsm/client/oracle/bin64 (assuming 64 bit) ./tdpoconf -password -TDPO_OPTFILE=<path to the opt you are using>
you will need to know the node's password, but you can probably get that if you have root access ;-)
Oh, and a few tricky things about TSM and duplicate, you need to specify the same client name in both the source and target so TSM will know that it's allowed to send the data to the target node.
I don't have any active TSM at the moment or I'd send you my opt... :-(
On Thu, Mar 3, 2011 at 8:35 PM, MacGregor, Ian A. <ian_at_slac.stanford.edu>wrote:
> The password for TDPO can be stored using the old method which produced a
> file named something like
> TDPO.<node1>-rman. To duplicate a database using RMAN backups to say
> node2. You have to copy the password file,
> TDPO.<node1>-rman, to node2. This works well.
> However, TDPO has "new" method of storing a password which is written to a
> file called TSM.PWD. The people who are responsible for Tivoli are happy
> with this new method, because they do not need to change the password
> manually. It will be machine-generated periodically.
> The problem is that you cannot simply copy the file from one server to
> another. You can name it differently, but the problem , at least my best
> guess at it, is that the new method of storing the password includes the
> name of the node on which the fie was created.
> The old method of storing passwords still works, but again is not liked by
> our storage group. We are doing more and more duplications. Has anyone
> figured out how to use the TSM.PWD style password file with the rman
> duplicate target command.
> Ian MacGregor
> SLAC National Accelerator Laboratory--