?
Solved

11g rman active database duplication

Posted on 2011-09-12
5
Medium Priority
?
659 Views
Last Modified: 2012-05-12
We have a DB server that hosts  a DB, we need to use RMAN 11g active duplication to duplicate the DB to a new host;
Can we duplicate this DB to the new host and end up with a database(on the new host) that has the same db_name and instance_name.
For RMAN 11g active duplication I know that the newly created DB will have a new DBID;
but we want to also to keep the same db_name and sid_name.
Is this possible?

thanks,
0
Comment
Question by:it-rex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36524596
I've never done it but cannot think of a reason you cannot use the same names on a different server as long as you understand the potential problems having two databases with the same name.

If there some reason you think you might not be able to do this?
0
 
LVL 11

Author Comment

by:it-rex
ID: 36524811
Not really,was just wondering.
0
 
LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 400 total points
ID: 36530344
I read a little about active duplication and it sort of implies you get a database with the same name.

There is a reference in the docs for DB_NAME but only when sharing ORALCE_HOMES:

http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmdupdb.htm

DB_NAME
 

The same name used in the DUPLICATE command.
 
The DB_NAME setting for the duplicate database must be unique among databases in its Oracle home.
 
0
 
LVL 7

Accepted Solution

by:
Piloute earned 1600 total points
ID: 36530653
Hi,

RMAN duplication (active or not) implies a new DBID. But there's no restriction about what your db name is. It works fine even if you go for the same name (tested on 11.2/linux).

Cheers,
P
0
 
LVL 11

Author Closing Comment

by:it-rex
ID: 36531419
thanks
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question