Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Setting up a physical standby on a server with a different structure

gzmzpzJun 28 2012 — edited Jun 29 2012
I am having a few issues trying to set up a physical standby database.

The primary database has a different naming structure than the standby and they are at different sites.
Physical is /var/hpsrp/ctrorp03/oradata/u0x/<DB_NAME>/<DB_UNIQUE_NAME> and standby is /var/hpsrp/drforp03/oradata/u0x/<DB_NAME>/<DB_UNIQUE_NAME>.

I have set db_file_name_convert to '<PRIMARY PATH>', '<STANDBY PATH>' times the number of paths as pairs.
I have created a blank database for standby and having taken a full backup of primary with control file and standby control file.

Now I hit the issues:
The DB incarnation numbers are different.
When I try and do a normal restore e.g. set dbid, restore controlfile; mount; it fails as it is trying to find files in the primary structure and not standby structure.
When I try renaming via set newname or auxname it can't find files to restore I guess due to the incarnation id's.
If I set the incarnation id and try to restore backup it fails as the incarnation id's don't match.

I have tried looking through various forums and the documentation but can't find a solution, probably can't see the wood for the trees though as there is so much.

Has anyone done this type of setup before and can give me some advice?
This post has been answered by mseberg on Jun 28 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 27 2012
Added on Jun 28 2012
18 comments
877 views