rman restores control to wrong server

From: Howard Latham <howard.latham_at_gmail.com>
Date: Thu, 20 Feb 2014 17:31:42 +0000
Message-ID: <CAPCNhx2aqsBcHfmBScH7s8oUa7XDA8hszJwiqBw=dCnrOTnxig_at_mail.gmail.com>



Oracle 11.2
Redhat 5

I've been using the same procedure to create a standby for years yet now I find the rman restore controlfile command on the new standby server are writing to the primary server
Ive even tried settng the aux and target in the recovery script.

set oracle sid to sid of new standby.

connect auxiliary sys/pass
connect target sys/easy_at_primary
restore controlfile to '/data/oradata/tripstby/ctl1.ctl'; <======= writes to old server

duplicate target for standby;

Any suggestions?
On reading back this I think its because its restoring to the primary? A couple of agrees would convince me ! :-)

--

Howard A. Latham

--

http://www.freelists.org/webpage/oracle-l Received on Thu Feb 20 2014 - 18:31:42 CET

Original text of this message