Clone a RAC database to a new RAC server

Hi,
How can clone a RAC database to a new RAC environment ?
I installed Cluster and RDBMS 10g R1 in a new RAC server and I need to copy my database "dbrest" to the new server, my new database must have the same name ("dbrest"). My actual dbrest database is in ASM and I need to use ASM for the new database too.
I don't have any database in the new RAC environment.
At the end I need to have this configuration:
Source configuration:
SERVER:
Node 1: srvprod1
Node 2: srvprod2
CLUSTER DB: dbrest using ASM
Node 1: dbrest1
Node 2: dbrest2
Clone configuration:
SERVER:
Node 1: dupenv1
Node 2: dupenv2
CLUSTER DB: dbrest using ASM
Node 1: dbrest1
Node 2: dbrest2
How can I do this?
How can I copy my dbrest database to

use rman Duplicate Database on srvprod* to dupenv*
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#BRADV165
When duplicate database can run on both dupenv1 and dupenv2.
use "srvctl" to add database, instance and services (if you have)
Usage: srvctl add database -d <name> -o <oracle_home> [-m <domain_name>] [-p <spfile>] [-A <name|ip>/netmask] [-r {PRIMARY | PHYSICAL_STANDBY | LOGICAL_STANDBY}] [-s <start_options>] [-n <db_name>] [-y {AUTOMATIC | MANUAL}]
Usage: srvctl add instance -d <name> -i <inst_name> -n <node_name>
Usage: srvctl add service -d <name> -s <service_name> -r "<preferred_list>" [-a "<available_list>"] [-P <TAF_policy>]
Usage: srvctl add service -d <name> -s <service_name> -u {-r "<new_pref_inst>" | -a "<new_avail_inst>"}

Similar Messages

  • How to migrate SharePoint 2013 Content and Configuration DataBases to a new SQL Server and DataBases in it?

    Hi,
    We need to migrate Our current 1 clustered SQL Server, Many Configurations DataBases and Many Content DataBases to a brand new clustered SQL server and brand new databases in it.
    How can I do this?
    Can someone list the steps involved?
    Thanks.  

    Hi,
    According to your description, you want to move Content databases  and Configuration databases to a new SQL Server,  refer to this article:
    https://technet.microsoft.com/en-us/library/cc512725.aspx?f=255&MSPPError=-2147217396
    Besides, here is a similar post, you can use as a reference:
    https://social.technet.microsoft.com/Forums/office/en-US/2cd46f7a-d583-41b2-82c2-ddc6d7c43fb8/how-to-move-sharepoint-databases-to-new-sql-server?forum=sharepointadminprevious
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • R12 DB clone from RAC - ASM DB to Non RAC DB

    Dear Friends,
    I am using E-Biz- R12 PROD with 11g R2 RAC database.
    I have an R12 DEV Instance (single node with Non RAC).
    I want to perform DB clone from RAC - ASM DB (PROD) to Non RAC DB (TEST)
    I am using RMAN backup on PROD database.
    Please provide me the Metalink Note / steps to perform the same.
    Regards,
    DB

    Please provide me the Metalink Note / steps to perform the same.Certified RAC Scenarios for E-Business Suite Cloning [ID 783188.1]
    Cloning Oracle Applications Release 12 with Rapid Clone [ID 406982.1]
    Rapid Clone Documentation Resources For Release 11i and 12 [ID 799735.1]
    Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone [ID 559518.1]
    Thanks,
    Hussein

  • Database startup after reboot of RAC server

    Hello,
    My config : 2 nodes w2k3 with 15 dbs . Oracle 10.2.0.3
    I started to scheduled my rac server reboot so i follow the oracle doc to shutdown properly all db,asm,service,listener,etc...
    Today one the server reboot, but some instance doesn't start (only five , and the last five in alphabetic order)
    In the log :
    db log : nothing just the shutdown
    crs_log : the start of the 10 db but nothing for the last five !!
    just a trace on one listener service :
    StartResource error for ora.sqyora01.LISTENER_1522_SQYORA01.lsnr error code = 1
    2010-08-11 02:56:08.000: [  CRSRES][3008]32Start of `ora.sqyora01.LISTENER_1522_SQYORA01.lsnr` on member `sqyora01` failed.
    2010-08-11 02:56:08.125: [  CRSRES][3008]32Skip online resource: ora.sqyora01.LISTENER_SQYORA01.lsnr
    On windows services : the OracleServiceSID service isn't started.
    Any help is welcome to understand this problem.
    Thanks.

    user4511076 wrote:
    IMO : (i am not a great oracle dba, because i have not enough time to spend with, and my collegue need really simple think to do, like startup/shutdown a database, no more investigation)Why startup/shutdown a database? I have databases that work 24x7 and uptimes of over a year. The record so far, has been over 24 months uptime (1st downtime were caused by a powerfailure to the rack cabinet). And for a database instance that runs a number of processes and deals with 100's to 1000's of inserts per second.
    it's easier to view that an oracle process take more cpu and so investigate in that database what's appens. Rather than search in my v$sql table to find witch schema doing wrong thinksNot sure what you are trying to say here. Single or multiple database instances do not change how a session looks like, or how SQLs are executed.. and thus not how you troubleshoot problems. Nor does it change resource requirements, or how you address these. But multiple instances do impact resource availability and requires one to split resources amongst instances - the end result of this is less flexibility.
    It's easier to affect cpu ressource to a process, rather than configuring it in oraclePlease explain.
    It's easier to stop a database rather than "put offline a schema"This is a "silly" statement to make IMO. Why do you want to offline a schema? Availability of applications and data are a critical feature in today's information system landscape. So why argue the complete opposite and say it is now more complex to make something less available?
    By the same token, why do you want to offline a database? A down database is even less useful than a downed server - at least you can use the downed server as a doorstop.. ;-)
    And if a database crash it only affect one application.Yeah.. and these happens when? Every few minutes? Every hour? Once a day?
    This is not a valid argument. Oracle instances very seldom crashes just for the heck of it. Most often it is due to incorrect o/s configuration, problematic hardware, uncertified components, old drivers, etc. Or plain old application abuse of Oracle.
    There is the theorical approach and practical one : I'm not alone is that case :
    http://oracledoug.com/serendipity/index.php?/archives/1339-The-Reality-Gap-3-A-Single-Instance-per-Server.html
    http://www.dba-oracle.com/art_dbazine_server_consolidation.htm
    I have never done RDBMS as a theoretical thing. The most dynamic table (ito SQLs against it) I have, grows by more than 450 million rows per day. This is as real world as real world gets. And that is what shapes my experience and opinion. And Burleson and I have never seen eye to eye on a number of subjects - so quoting his views on consolidation does little to persuade me to change my opinion.
    have you any ideas where can i found an error message that explain why my database doesn't start ? (like not enough ressource ;-) )Troubleshooting a problem starts with a very basic principle - isolation. Isolate the layer or moving part where the problem occurs. As the other instances are running, it means that the CRS software layer is up and running, that the storage layer is up and running and so on. So the problem should be with the instance that for some reason refuses to start? Confirm this by using sqlplus to start a down instance and looking at what its alert log file says. It should have some kind of pointer to what dependency that has not been met.

  • Need suggestion on new environment (server - database combi).

    Hello,
    We have two database instances (DB1 and DB2 - Both 10g) each of size 10TB. Currently, both the databases are mounted on same AIX server.
    There are several schemas in each database. There will be data transfer activity between two databases. Currently we are using DB links for the same.
    We are planning to build a new environment(Server / Servers) with data from both the databases.Need your inputs and suggestions on building / designing the new environment.
    2 Servers with DB1 and DB2 mounted on each seperately. - Pros and cons ?
    1 server with DB1 and DB2 mounted on the same server. - Pros and cons ?
    1 server with 1 DB (Merging both schemas from DB1 and DB2). - Pros and cons ?
    Please suggest your thoughts, advantages and constraints of the different approaches.
    A few things which come to my mind instantly are : Modularity , Data transfer , Security , Ease of maintenance , Expandability of business , Architectural recommendations , Backup and Restore.
    Thanks,
    Anand.

    Hi Arjun.Singh,
    Now can I create a new database with name JKL at Server B with backup of PQR?You need a target to use the duplicate command in rman.
    Is your backup of PQR a image copy?
    If so you could use a classic clone procedure to create a new database.
    Regards,
    Tycho

  • Restore from cold backup (rac server)

    Hi All,
    Oracle version : 10g
    OS : SunOS dixie1 5.10 Generic_118855-36 i86pc i386 i86pc
    I am having cold backup of RAC server (2 nodes), I want to restore from cold backup.
    The problem is that : when i performed the cold backup using rman at that time Oracle was having 3 ASM diskgroups.But unforunately that disk is no more in use due to some fault.
    Now my question is how can i restore from the cold backup as when i'll restore from the cold backup this will ask for the same ASM diskgroups.Even more if i creates the same diskgroup with the same name and same configuration then my doubt is that rman will allow me to restore the same from the cold backup as ASM disk header changed now ?
    Thanks,
    Vipin

    VipinK wrote:
    Hi All,
    Oracle version : 10g
    OS : SunOS dixie1 5.10 Generic_118855-36 i86pc i386 i86pc
    I am having cold backup of RAC server (2 nodes), I want to restore from cold backup.
    The problem is that : when i performed the cold backup using rman at that time Oracle was having 3 ASM diskgroups.But unforunately that disk is no more in use due to some fault.
    Now my question is how can i restore from the cold backup as when i'll restore from the cold backup this will ask for the same ASM diskgroups.Even more if i creates the same diskgroup with the same name and same configuration then my doubt is that rman will allow me to restore the same from the cold backup as ASM disk header changed now ?
    Yes.You can do these and restore/recover your database.First you need startup your ASM instance then create your ASM disk groups and do following:
    1.Edit pfile and change controlfile location to diskgroup(Consder that +dgr1)
    2.Restore controlfile to this disk group using backup of controlfiles(you say that is cold backup)
    rman target /
    /*Instance  need starting up from pfile*/
    startup nomount ;
    /*then restore controlfile,give full path of controlfile from coldbackup*/
    restore controlfile from 'coldbackup_location\coltrolfile';
    alter database mount;
    catalog start with 'coldbackup_location';
    backup as copy database format  '+dgr1';
    switch database to copy;
    alter database open;

  • Move database to the new server

    Hello,
    I have 10.2.0.1 Standard Edition database (7GB, not in archivelog mode) on Windows2003 server, and need to move it to the new server (same environment). I thought to use OEM Clone option, but it appears cloning to the other host is working only in Grid - and I have DB Control.
    I know about manual cloning/recreation, but now looking into export and import option. So I think to install Oracle database on the new server, then import some relevant tablespaces exported from the old database. I will use datapump utility in OEM, under system username.
    Is that a good approach ? What rules should be applied to avoid problems in that case ? Sorry if it's very basic question, never moved database before.
    Marina

    Options for porting the database from one server to another after installing Oracle on the new server incldue
    Export/Import using expdp/impdp
    Rman duplicate to compatiable hardware
    Rman file conversion to non-compatiable hardware
    On advantage of expdp/impdp is this option supports reconfiguring the database tablespace/file/object storage layout as part of the migration. Also the adoption of new features like ASSM.
    A disadvantage is that using expdp/impdp will probably be slower and involve more DBA work than using file copies via rman. There are approaches to reduce the clock time necessary to support export/import and the work is often beneficial for long-term database management efforts.
    There have been threads on this topic before and failry recently. You might want to hunt one or two of them down.
    HTH -- Mark D Powell --

  • Clone the pilot database to test database

    How we can clone the pilot database to test database? both DBs are already there...
    Can we do export/import or how?

    Through FTP copy the datafiles to the folders on other server.
    Make new control file.
    Change parameter if needed in init.ora.
    Startup

  • Changing a SQL Report server Database to a new One Using Powershell script

    Hi,
    I have an existing report server (Native Mode) and a pre-configured report server database. I have created a new database and want to assign it new report server database. How can i automate this process using powershell?
    Here is the detail requirement
    If there is a Report Server database seeded on the xxxxx server, follow the below steps:
    ◾Click the Database button on the left. Click on the Change Database button, choose option Choose an existing report server database. Enter the RPT server name (e.g. xxxxxx) in Server Name text box and click Next.
    ◾In the Report Server Database selection, select the ReportServer database. Then click next button to complete the process.
    Any help in this regard will be very much helpfull.
    Sushruta Banerjee

    Hi Sushruta,
    To query export from Report server Database, the scripts below may be helpful for you:
    Export RDL Files from ReportServer Database with PowerShell
    SQL Database Reports with PowerShell
    I hope this helps.

  • How to create a new database after copying an existing database with a new name

    hi
    i have an existing database and want to copy with a new name in sql server 2005 how do it is possible 
    spose
    i have a db name attached in sql server StoreManagementDB now i want to copy this database with all the transactions as StoreManagementDB_1.
    thanks

    Use a two steps to use a backup file to restore a database with a new name.
    ----You need to have a full backup of your database:
    --Step 1:
    RESTORE FILELISTONLY
    FROM DISK = 'C:\bk\TEST.BAK'
    --Find out the LogicalName of data file and log file
    -- in this case: the data file: TEST and the log file LogicalName: TEST_log
    --Both names will be used in the MOVE command
    --Step 2:
    -- Restore the files for test1.
    RESTORE DATABASE test1
    FROM DISK = 'C:\bk\TEST.BAK'
    WITH RECOVERY,
    MOVE 'TEST' TO 'C:\bk\test1_Data.mdf',
    MOVE 'TEST_log' TO 'C:\bk\test1_Log.ldf'
    GO

  • How can I clone my old macbook to my new Macbook Pro 768GB SSD

    Hi,
    I have a 2 year old macbook and have just received my new Macbook Pro Retina dispaly with a 768gb SSD.
    How can I clone my old drive to my new Macbook as the unit is sealed so I cant ge the drive out.
    thanks.

    Bootable clones can only be used with the same model machine as there are machine specific hardware drivers involved that are different between different models of Mac's.
    Probally the fastest way would be to clone the old Mac boot drive to a external drive using Carbon Copy Cloner, then connecting it to the new Mac and booting the new Mac (first time) into Setup Assistant and then use that to "migrate" accounts and programs over. Takes a few hours.
    Transfering via Wifi does take FOREVER. like several days in some cases.
    If you have the new Mac already setup, then use Migration Assitant in the Utilities folder.
    However Setup Assistant and Migrations are not perfect and tend to fail badly if you had problems on the older Mac, sometimes these problems are unseen and only until you try to use the new Mac afterwards do they appear.
    You might want to opt instead of installing the same name account on the new Mac, installing 10.8 compatible programs from original sources and then use the external clone of the old Mac drive to transfer just user files manually into the same Pcitures, Movies, Documents etc., folders.
    Since you have a SSD, you can load programs later, it's hard drives that you want to install programs before user data to run them faster.
    Get a cleaner machine doing it manaully that way and you know there is nothing nsaty hidden, like what Setup Assistant and Migrations often transfer.

  • How can I move the distribution database to a new server?

    I need to migrate an old distribution database to a new VM. My understanding is that you can detach/attach the distribution DB to make this easier. What are the 'gotchas' in this process? Do I need the detach/attach the system databases as well? The distributor
    is facilitating data from Oracle to SQL Server.
    Another question.. what are some good benchmarks for figuring out how much horsepower I should have set up in my VM that running distribution?
    Thanks,
    phil

    Hi philliptackett77,
    As your description, you want to migrate the distribution database to a new server. Based on my research, you need to remove the replication,  create the distribution on the new server, and recreate publication and subscription according to Satish's post.
    So you don’t need to detach or attach the distribution database or system databases.
    To make this process simple, you could use SQL Server Management Studio (SSMS) to generate scripts and run the scripts to recreate publications and subscriptions or drop publications and subscriptions as the screenshot below. Checking ‘To create or enable the
    components’ generates the script for creating the publications and subscriptions, and Checking ‘To drop or disable the components’ generates the script for dropping the publications and subscriptions.
    Firstly, please use SSMS to generate the script which is used to create publications and subscriptions.
    1.Connect to Publisher, or Subscriber in SSMS, and then expand the server node.
    2.Right-click the Replication folder, and then click Generate Scripts.
    3.In the Generate SQL Script dialog box, check ‘To create or enable the components’.
    4.Click Script to File.
    5.Enter a file name in the Script File Location dialog box, and then click Save. A status message is displayed.
    6.Click OK, and then click Close. For more information about the process, please refer to the article:
    http://msdn.microsoft.com/en-us/library/ms152483.aspx
    Secondly, follow the steps above, check ‘To drop or disable the components’ to generate the script used to drop publications and subscriptions. Then run the sript to drop publications and subscriptions.
    Thirdly, please disable distribution using Transact-SQL or SSMS following the steps in the article:
    http://technet.microsoft.com/en-us/library/ms152757(v=sql.105).aspx.
    Fourthly, please create the distribution at the new server using Transact-SQL or SSMS following the steps in the article:
    http://msdn.microsoft.com/en-us/library/ms151192.aspx#TsqlProcedure.
    Last, please run the script generated in the first step to recreate publications and subscriptions.
    Regards,
    Michelle Li

  • Oracle 10.2.0.3 Databases  - Restore to New Server

    We will soon be replacing an old server with a new server and I need to restore all Oracle 10.2.0.3 databases to the new server
    and ensure Oracle functionality/connectivity with all databases.
    I am in the process of testing and need advice and hopefully a 'Step by Step' process I can follow.
    I am a systems admin - not an Oracle db admin - so please explain details of any commands I may have to run.
    I have already tested once:
    ran command prompt: sqplus / as sysdba
    SQL>shutdown immediate;
    Stopped all Oracle services:
    Oracle Database
    Oracle Listener
    Oracle DBConsole
    Installed Oracle 10.2.0.3 on new server
    Ensured that the SID and all other Oracle services information matched the old server during installation on the new server.
    Stopped all Oracle services on the new server (used the steps above).
    Backed-up and test restored to new server.
    Enterprise Manager shows: Listener Up Database Instance Down Agent Down
    Any help would be appreciated

    It would be good to know your operation system. I hope both new and old match or similar.
    You can use RMAN to dumplicate you DB so you can follow [Creating a Duplicate Database on a New Host. Doc ID: 388431.1|https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=388431.1]
    but a simple file system copy based manual duplication is also possible if new and old OS system is similar...

  • Restore a database in a new instance with different name

    Hello, I need restore a database in a different server. I have a backup of 01-Jan-2008 on tape on DataProtector and I need to restore in another server in order to extract some information for a datawarehouse, I need restore with a name different because on that server we have a standby database. The both servers are HP ia64 and have Unix. I have installed Oracle 10.2.0.4.0 EE. I read the Oracle RMAN Advanced but the process is for duplicate the database, I need restore a backup from 01-Jan-2008. Can you help me please. What steps should I run. Thanks for your answer.
    Ruben Nieto
    DBA

    Hi Ruben Nieto,
    Can you check on the target if the backup pieces are still registered in the controlfile?
    < connect target /; >
    < list backup completed before 'to_date('2009-01-02:00:00:00','YYYY-MM-DD:HH24:MI:SS')'; >
    If no information is available:
    1) "I can't use the same name for the database." -> excludes a restore/recover on the standby server.
    2) "how can I restore the database whitout catalog in other server" -> excludes a duplication to new name.
    If you want to keep it simple find a third HP ia64 machine where you can mirror your production environment and restore the complete backup set and recover the database keeping the name of the target.
    Regards,
    Tycho

  • How to copy a database to a new database on Windows 32bit?

    Hi Gurus,
    I have a production database 10g on Windows 32bit and I want to make a copy of this database as Test in same server ?
    Please help....
    Thanks,

    How big is your database?
    1)If database size is small, create a blank test db . Export from Production using expdp and impdp onto Test.
    2)If database size is hundreds of gb's use rman duplicate command. As you are restoring on to same host
    configure db_file_name_convert/log_file_name_convert in your pfile properly
    And also control_files parameter to new location in your new pfile.
    Refer: http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1006859
    Edited by: vreddy on Sep 7, 2012 2:03 PM

Maybe you are looking for