Duplicate database from ASM to Non-ASM problem

Friends,
I am unable to duplicate the database from ASM TO Non-ASM,
OS: Linux AS4
Oracle version: 10.2.0.1
initAUXDB.ora parameters:
background_dump_dest=/u01/oracle/product/10.2.0/admin/auxdb/adump
core_dump_dest=/u01/oracle/product/10.2.0/admin/auxdb/cdump
background_dump_dest=/u01/oracle/product/10.2.0/admin/auxdb/bdump
user_dump_dest=/u01/oracle/product/10.2.0/admin/auxdb/udump
db_name=auxdb
undo_tablespace=undotbs1
undo_management=auto
undo_retention=900
db_block_size=8192
compatible=10.2.0.1
control_files='/u01/oracle/product/10.2.0/oradata/auxdb/control01.ctl'
db_file_name_convert=('+DATA','/u01/oracle/product/10.2.0/oradata/auxdb')
log_file_name_convert=('+DATA','/u01/oracle/product/10.2.0/oradata/auxdb')
db_create_file_dest='/u01/oracle/product/10.2.0/oradata/auxdb'
db_create_online_log_dest_1='/u01/oracle/product/10.2.0/oradata/auxdb'
My target database diskgroup info:
GROUP_NUMBER NAME SECTOR_SIZE BLOCK_SIZE STATE
1 DATA 512 4096 MOUNTED N
2 FLASH 512 4096 MOUNTED E
Please could you have look the following error:
type1:
Note: when I configure The log_file_name_convert=('+DATA') in initAUXDB.ora parameter file, the following error are occurring:
RMAN> run {
2> allocate auxiliary channel C1 device type disk;
3> duplicate target database to auxdb;
4> }
Starting Duplicate Db at 03-MAR-13
released channel: C1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/03/2013 14:43:05
RMAN-05501: aborting duplication of target database
RMAN-05001: auxiliary filename +FLASH/prod/onlinelog/group_3.259.809008171 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +FLASH/prod/onlinelog/group_2.258.809008167 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +FLASH/prod/onlinelog/group_1.257.809008165 conflicts with a file used by the target database
type2:
when I configure The log_file_name_convert=('+FLASH') in initAUXDB.ora, again I am getting the following error:
RMAN> run {
2> allocate auxiliary channel C1 device type disk;
3> duplicate target database to auxdb;
4> }
allocated channel: C1
channel C1: sid=36 devtype=DISK
Starting Duplicate Db at 04-MAR-13
released channel: C1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/04/2013 08:37:10
RMAN-05501: aborting duplication of target database
RMAN-05001: auxiliary filename +DATA/prod/onlinelog/group_3.263.809008169 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +DATA/prod/onlinelog/group_2.262.809008165 conflicts with a file used by the target database
RMAN-05001: auxiliary filename +DATA/prod/onlinelog/group_1.261.809008163 conflicts with a file used by the target database
Please suggest me to overcome the above errors.

Hi Mr.Rao,
Thank you for your reply..
I follwed as per as your query, but I am getting different error:
channel C1: starting datafile backupset restore
channel C1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/system.256.809008077 <---------here the directory structure is "/u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/" but I mention in initauxdb.ora parameter only "/u01/oracle/product/10.2.0/odata/auxdb/".
restoring datafile 00002 to /u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/undotbs1.258.809008077
restoring datafile 00003 to /u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/sysaux.257.809008077
restoring datafile 00004 to /u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/users.259.809008077
channel C1: reading from backup piece +FLASH/prod/backupset/2013_03_04/nnndf0_tag20130304t072249_0.265.809162569
ORA-19870: error reading backup piece +FLASH/prod/backupset/2013_03_04/nnndf0_tag20130304t072249_0.265.809162569
ORA-19505: failed to identify file "+FLASH/prod/backupset/2013_03_04/nnndf0_tag20130304t072249_0.265.809162569"
ORA-17503: ksfdopn:2 Failed to open file +FLASH/prod/backupset/2013_03_04/nnndf0_tag20130304t072249_0.265.809162569
ORA-15001: diskgroup "FLASH" does not exist or is not mounte
failover to previous backup
channel C1: starting datafile backupset restore
channel C1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/system.256.809008077
restoring datafile 00002 to /u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/undotbs1.258.809008077
restoring datafile 00003 to /u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/sysaux.257.809008077
restoring datafile 00004 to /u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/users.259.809008077
channel C1: reading from backup piece /u01/backup/prod/df_t809162421_s24_p1
channel C1: restored backup piece 1
piece handle=/u01/backup/prod/df_t809162421_s24_p1 tag=TAG20130304T072021
channel C1: restore complete, elapsed time: 00:01:17
Finished restore at 04-MAR-13
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "AUXDB" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ( '/u01/oracle/product/10.2.0/oradata/auxdb/prod/onlinelog/group_1.261.809008163',
'/u01/oracle/product/10.2.0/oradata/auxdb/prod/onlinelog/group_1.257.809008165' ) SIZE 50 M REUSE,
GROUP 2 ( '/u01/oracle/product/10.2.0/oradata/auxdb/prod/onlinelog/group_2.262.809008165',
'/u01/oracle/product/10.2.0/oradata/auxdb/prod/onlinelog/group_2.258.809008167' ) SIZE 50 M REUSE,
GROUP 3 ( '/u01/oracle/product/10.2.0/oradata/auxdb/prod/onlinelog/group_3.263.809008169',
'/u01/oracle/product/10.2.0/oradata/auxdb/prod/onlinelog/group_3.259.809008171' ) SIZE 50 M REUSE
DATAFILE
'/u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/system.256.809008077'
CHARACTER SET WE8ISO8859P1
contents of Memory Script:
switch clone datafile all;
executing Memory Script
datafile 2 switched to datafile copy
input datafile copy recid=1 stamp=809171578 filename=/u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/undotbs1.258.809008077
datafile 3 switched to datafile copy
input datafile copy recid=2 stamp=809171578 filename=/u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/sysaux.257.809008077
datafile 4 switched to datafile copy
input datafile copy recid=3 stamp=809171578 filename=/u01/oracle/product/10.2.0/oradata/auxdb/prod/datafile/users.259.809008077
channel C1: starting archive log restore to default destination
channel C1: restoring archive log
archive log thread=1 sequence=12
channel C1: restoring archive log
archive log thread=1 sequence=13
channel C1: reading from backup piece /u01/backup/prod/al_t809162496_s26_p1
channel C1: restored backup piece 1
piece handle=/u01/backup/prod/al_t809162496_s26_p1 tag=TAG20130304T072136
channel C1: restore complete, elapsed time: 00:00:04
archive log filename=/u01/oracle/product/10.2.0/db_1/dbs/arch1_12_809008161.dbf thread=1 sequence=12
channel clone_default: deleting archive log(s)
archive log filename=/u01/oracle/product/10.2.0/db_1/dbs/arch1_12_809008161.dbf recid=2 stamp=809171585
archive log filename=/u01/oracle/product/10.2.0/db_1/dbs/arch1_13_809008161.dbf thread=1 sequence=13
channel clone_default: deleting archive log(s)
archive log filename=/u01/oracle/product/10.2.0/db_1/dbs/arch1_13_809008161.dbf recid=1 stamp=809171583
channel C1: starting archive log restore to default destination
channel C1: restoring archive log
archive log thread=1 sequence=14
channel C1: reading from backup piece +FLASH/prod/backupset/2013_03_04/annnf0_tag20130304t072246_0.264.809162567
ORA-19870: error reading backup piece +FLASH/prod/backupset/2013_03_04/annnf0_tag20130304t072246_0.264.809162567
ORA-19505: failed to identify file "+FLASH/prod/backupset/2013_03_04/annnf0_tag20130304t072246_0.264.809162567"
ORA-17503: ksfdopn:2 Failed to open file +FLASH/prod/backupset/2013_03_04/annnf0_tag20130304t072246_0.264.809162567
ORA-15001: diskgroup "FLASH" does not exist or is not mounte
released channel: C1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 03/04/2013 09:53:11
RMAN-03015: error occurred in stored script Memory Script
RMAN-20506: no backup of archivelog found
RMAN-06053: unable to perform media recovery because of missing log
RMAN-06025: no backup of log thread 1 seq 14 lowscn 542329 found to restore

Similar Messages

  • How to restore (not duplicate) DB from RAC ASM to non ASM

    Hello everybody,
    i am trying to recover db from RAC+ASM to non ASM no RAC node. I am running Oracle 10g (10.2.0.4) on Win2003 Server. I have functional backup from my prod system.
    Here are my steps:
    *1. On prod server i make backup running this script in RMAN*
    configure channel device type 'SBT_TAPE' parms'SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=e:\backup)';
    RUN {
    backup device type SBT_TAPE database tag zal20081129;
    SQL 'alter system archive log current';
    backup device type SBT_TAPE archivelog ALL tag zal20081129;
    *2. I prepared clon instance on another server (The same Oracle version) and start it to nomount mode.*
    *3. I copied the backup from prod server to clon server to exactly the same path. (e:\backup)*
    *4. I connect to RMAN on my new node and I use the DBID parameter and I restore controlfile.*
    rman
    connect target /
    set DBID 3079749916
    startup nomount
    run {
    allocate CHANNEL CTAPE DEVICE TYPE 'SBT_TAPE' PARMS'SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=f:\backup)';
    allocate channel CDISK DEVICE TYPE DISK;
    restore controlfile from 'f:\backup\78k91lrn_1_1';
    alter database mount;
    *5.Then I check the backup, crosscheck etc.*
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    169 Full 42.78G SBT_TAPE 01:12:54 04-MAR-09
    BP Key: 169 Status: AVAILABLE Compressed: NO Tag: DATAFILES
    Handle: 75k91hcj_1_1 Media:
    List of Datafiles in backup set 169
    File LV Type Ckp SCN Ckp Time Name
    1 Full 928460863 04-MAR-09 +DATA/agost/datafile/system.272.668509367
    2 Full 928460863 04-MAR-09 +DATA/agost/datafile/undotbs1.273.668509387
    3 Full 928460863 04-MAR-09 +DATA/agost/datafile/sysaux.263.668509393
    4 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_archive_data.298.668509401
    5 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_archive_index.258.668509401
    6 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_blob.259.668509401
    7 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_data.274.668509405
    8 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_index.275.668509533
    9 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_report_data.260.668509661
    10 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_report_index.261.668509661
    12 Full 928460863 04-MAR-09 +DATA/agost/datafile/undotbs2.264.668509661
    13 Full 928460863 04-MAR-09 +DATA/agost/datafile/users.265.668509667
    14 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_index.270.668510837
    15 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_index.299.668510843
    16 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_data.300.668510859
    17 Full 928460863 04-MAR-09 +DATA/agost/datafile/ifsapp_data.301.668510865
    BS Key Size Device Type Elapsed Time Completion Time
    171 1.98G SBT_TAPE 00:02:54 04-MAR-09
    BP Key: 171 Status: AVAILABLE Compressed: NO Tag: ARCHIVE_LOGS
    Handle: 77k91lm2_1_1 Media:
    List of Archived Logs in backup set 171
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 790 927018133 03-MAR-09 927379509 03-MAR-09
    1 791 927379509 03-MAR-09 927635333 03-MAR-09
    1 792 927635333 03-MAR-09 927804715 03-MAR-09
    1 793 927804715 03-MAR-09 928438198 04-MAR-09
    1 794 928438198 04-MAR-09 928496353 04-MAR-09
    1 795 928496353 04-MAR-09 928496667 04-MAR-09
    2 941 927018173 03-MAR-09 927414357 03-MAR-09
    2 942 927414357 03-MAR-09 927725821 03-MAR-09
    2 943 927725821 03-MAR-09 927747874 03-MAR-09
    2 944 927747874 03-MAR-09 927804436 03-MAR-09
    2 945 927804436 03-MAR-09 928375778 03-MAR-09
    2 946 928375778 03-MAR-09 928460503 04-MAR-09
    2 947 928460503 04-MAR-09 928496341 04-MAR-09
    2 948 928496341 04-MAR-09 928496660 04-MAR-09
    *6. Then I run this script to restore and recover db.*
    run {
    SET UNTIL SEQUENCE 795 THREAD 1;
    SET UNTIL SEQUENCE 948 THREAD 2;
    restore database;
    switch datafile all;
    recover database;
    *7. Everything goes well see under.*
    RMAN&gt; 2&gt; 3&gt; 4&gt; 5&gt; 6&gt; 7&gt;
    executing command: SET until clause
    executing command: SET until clause
    Starting restore at 04-MAR-09
    using channel ORA_DISK_1
    using channel ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: starting datafile backupset restore
    channel ORA_SBT_TAPE_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to +DATA/agost/datafile/system.272.668509367
    restoring datafile 00002 to +DATA/agost/datafile/undotbs1.273.668509387
    restoring datafile 00003 to +DATA/agost/datafile/sysaux.263.668509393
    restoring datafile 00004 to +DATA/agost/datafile/ifsapp_archive_data.298.668509401
    restoring datafile 00005 to +DATA/agost/datafile/ifsapp_archive_index.258.668509401
    restoring datafile 00006 to +DATA/agost/datafile/ifsapp_blob.259.668509401
    restoring datafile 00007 to +DATA/agost/datafile/ifsapp_data.274.668509405
    restoring datafile 00008 to +DATA/agost/datafile/ifsapp_index.275.668509533
    restoring datafile 00009 to +DATA/agost/datafile/ifsapp_report_data.260.668509661
    restoring datafile 00010 to +DATA/agost/datafile/ifsapp_report_index.261.668509661
    restoring datafile 00012 to +DATA/agost/datafile/undotbs2.264.668509661
    restoring datafile 00013 to +DATA/agost/datafile/users.265.668509667
    restoring datafile 00014 to +DATA/agost/datafile/ifsapp_index.270.668510837
    restoring datafile 00015 to +DATA/agost/datafile/ifsapp_index.299.668510843
    restoring datafile 00016 to +DATA/agost/datafile/ifsapp_data.300.668510859
    restoring datafile 00017 to +DATA/agost/datafile/ifsapp_data.301.668510865
    channel ORA_SBT_TAPE_1: reading from backup piece 75k91hcj_1_1
    channel ORA_SBT_TAPE_1: restored backup piece 1
    piece handle=75k91hcj_1_1 tag=DATAFILES
    channel ORA_SBT_TAPE_1: restore complete, elapsed time: 01:25:12
    Finished restore at 04-MAR-09
    Starting recover at 04-MAR-09
    using channel ORA_DISK_1
    using channel ORA_SBT_TAPE_1
    starting media recovery
    channel ORA_SBT_TAPE_1: starting archive log restore to default destination
    channel ORA_SBT_TAPE_1: restoring archive log
    archive log thread=1 sequence=794
    channel ORA_SBT_TAPE_1: restoring archive log
    archive log thread=2 sequence=947
    channel ORA_SBT_TAPE_1: reading from backup piece 77k91lm2_1_1
    channel ORA_SBT_TAPE_1: restored backup piece 1
    piece handle=77k91lm2_1_1 tag=ARCHIVE_LOGS
    channel ORA_SBT_TAPE_1: restore complete, elapsed time: 00:02:26
    archive log filename=E:\ORADATA\AGOST\FLASHBACK\AGOST\ARCHIVELOG\2009_03_04\O1_MF_1_794_4TX5D7RD_.ARC thread=1 sequence=794
    archive log filename=E:\ORADATA\AGOST\FLASHBACK\AGOST\ARCHIVELOG\2009_03_04\O1_MF_2_947_4TX5D7OY_.ARC thread=2 sequence=947
    channel default: deleting archive log(s)
    archive log filename=E:\ORADATA\AGOST\FLASHBACK\AGOST\ARCHIVELOG\2009_03_04\O1_MF_2_947_4TX5D7OY_.ARC recid=1563 stamp=680629925
    channel default: deleting archive log(s)
    archive log filename=E:\ORADATA\AGOST\FLASHBACK\AGOST\ARCHIVELOG\2009_03_04\O1_MF_1_794_4TX5D7RD_.ARC recid=1562 stamp=680629925
    media recovery complete, elapsed time: 00:00:13
    Finished recover at 04-MAR-09
    *8. Then when i want to open database*
    using command 'Alter system open resetlogs;' I got this error:
    RMAN&gt;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 03/05/2009 07:26:03
    RMAN-06003: ORACLE error from target database:
    ORA-00600: internal error code, arguments: [kgeade_is_0], [|http://forums.oracle.com/forums/], [], [|http://forums.oracle.com/forums/], [], [|http://forums.oracle.com/forums/], [], [|http://forums.oracle.com/forums/]
    In the alert log I have got this error: (for every log group)
    ORA-00313: open failed for members of log group 4 of thread 2
    ORA-00312: online log 4 thread 2: '+FLASHBACK/agost/onlinelog/group_4.260.668510637'
    ORA-17503: ksfdopn:2 Failed to open file +FLASHBACK/agost/onlinelog/group_4.260.668510637
    ORA-15001: diskgroup "FLASHBACK" does not exist or is not mounted
    ORA-15077: could not locate ASM instance serving a required diskgroup
    ORA-29701: unable to connect to Cluster Manager
    ORA-00312: online log 4 thread 2: '+DATA/agost/onlinelog/group_4.268.668510633'
    ORA-17503: ksfdopn:2 Failed to open file +DATA/agost/onlinelog/group_4.268.668510633
    ORA-15001: diskgroup "DATA" does not exist or is not mounted
    ORA-15077: could not locate ASM instance serving a required diskgroup
    ORA-29701: unable to connect to Cluster Manager
    So obviouslly database wants to open online logs in the path like ASM. Which is wrong. What should I do to tell database to open it according to init.ora parameters
    *.db_create_file_dest='e:\oradata\agost'
    *.db_create_online_log_dest_1='e:\oradata\agost'
    Any suggestions???
    Thanks

    Hi,
    thanks for you quick answer. But I do restore to the local file system, even if the log says:
    restoring datafile 00001 to +DATA/agost/datafile/system.272.668509367
    restoring datafile 00002 to +DATA/agost/datafile/undotbs1.273.668509387 .....
    all the datafiles are correctly restored. I think oracle uses the parameter db_create_file_dest and creates the files there.
    I tried also the script with SET NEW NAME:
    run {
    Set newname for datafile 1 to 'e:\oradata\AGOST\system.272.668509367';
    Set newname for datafile 2 to 'e:\oradata\AGOST\undotbs1.273.668509387';
    Set newname for datafile 3 to 'e:\oradata\AGOST\sysaux.263.668509393';
    Set newname for datafile 4 to 'e:\oradata\AGOST\ifsapp_archive_data.298.668509401';
    Set newname for datafile 5 to 'e:\oradata\AGOST\ifsapp_archive_index.258.668509401';
    Set newname for datafile 6 to 'e:\oradata\AGOST\ifsapp_blob.259.668509401';
    Set newname for datafile 7 to 'e:\oradata\AGOST\ifsapp_data.274.668509405';
    Set newname for datafile 8 to 'e:\oradata\AGOST\ifsapp_index.275.668509533';
    Set newname for datafile 9 to 'e:\oradata\AGOST\ifsapp_report_data.260.668509661';
    Set newname for datafile 10 to 'e:\oradata\AGOST\ifsapp_report_index.261.668509661';
    Set newname for datafile 12 to 'e:\oradata\AGOST\undotbs2.264.668509661';
    Set newname for datafile 13 to 'e:\oradata\AGOST\users.265.668509667';
    Set newname for datafile 14 to 'e:\oradata\AGOST\ifsapp_index.270.668510837';
    Set newname for datafile 15 to 'e:\oradata\AGOST\ifsapp_index.299.668510843';
    Set newname for datafile 16 to 'e:\oradata\AGOST\ifsapp_data.300.668510859';
    Set newname for datafile 17 to 'e:\oradata\AGOST\ifsapp_data.301.668510865';
    Set newname for tempfile 1 to 'e:\oradata\AGOST\temp.276.668509397';
    SQL "ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_1.256.668509345'' TO ''e:\oradata\AGOST\REDO01.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+FLASHBACK/agost/onlinelog/group_1.257.668509351'' TO ''e:\oradata\AGOST\REDO02.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_2.257.668509357'' TO ''e:\oradata\AGOST\REDO03.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+FLASHBACK/agost/onlinelog/group_2.258.668509361'' TO ''e:\oradata\AGOST\REDO04.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_3.266.668510623'' TO ''e:\oradata\AGOST\REDO05.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+FLASHBACK/agost/onlinelog/group_3.259.668510627'' TO ''e:\oradata\AGOST\REDO06.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_4.268.668510633'' TO ''e:\oradata\AGOST\REDO07.LOG'' ";
    SQL "ALTER DATABASE RENAME FILE ''+FLASHBACK/agost/onlinelog/group_4.260.668510637'' TO ''e:\oradata\AGOST\REDO08.LOG'' ";
    SET UNTIL SEQUENCE 795 THREAD 1;
    SET UNTIL SEQUENCE 948 THREAD 2;
    restore database;
    switch datafile all;
    recover database;
    But it gives me this error in RMAN:
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    sql statement: ALTER DATABASE RENAME FILE ''+DATA/agost/onlinelog/group_1.256.668509345'' TO ''e:\oradata\AGOST\REDO01.LOG''
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 03/06/2009 10:48:55
    RMAN-20000: abnormal termination of job step
    RMAN-11003: failure during parse/execution of SQL statement: ALTER DATABASE RENAME FILE '+DATA/agost/onlinelog/group_1.256.668509345' TO 'e:\oradata\AGOST\REDO01.LOG'
    RMAN-11001: Oracle Error:
    ORA-00600: internal error code, arguments: [kgeade_is_0], [], [], [], [], [], [], []
    and in alert log i have got this:
    Errors in file c:\oracle\product\10.2.0\admin\agost\udump\agost_ora_3200.trc:
    ORA-00600: internal error code, arguments: [kgeade_is_0], [], [], [], [], [], [], []
    Fri Mar 06 10:48:55 2009
    ORA-600 signalled during: ALTER DATABASE RENAME FILE '+DATA/agost/onlinelog/group_1.256.668509345' TO 'e:\oradata\AGOST\REDO01.LOG' ...
    dont know what to do.
    There must be way how to recover it. I think my first try (without SET NEWNAME) is closer to the end, there is only need to "repair" the online logs.
    Any other suggestions?
    thanks

  • Clone from ASM to non ASM

    Hi,
    Can you please help me in getting steps for EBS cloning from ASM to non ASM in non RAC to RAC environment.

    What is your application release?
    All Rapid Clone docs can be found in:
    Rapid Clone Documentation Resources For Release 11i and 12 [ID 799735.1]
    Cloning Oracle Application 11i /R12 with Rapid Clone - Database (9i/10g/11g) Using Hot Backup on Open Database [ID 760772.1]
    Certified RAC Scenarios for E-Business Suite Cloning [ID 783188.1]
    Thanks,
    Hussein

  • Error while duplicate database from one server to another server

    Hi there,
    I am practicing duplicate database from one single database server to another server. Hardware and driver path on 2 machines is the same. Here are my steps:
    --------------------- Clone site:
    1. modify listener.ora with content:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (SID_NAME= orcl)
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
    2. stop and start listener again, message show like :
    Service “orcl” has 1 instance(s).
    Instance “orcl”, status UNKNOWN, has 1 handler(s) for this service…
    The command completed successfully
    3. create pfile from spfile.
    4. shutdown and startup nomount with pfile is new pfile create from step 3.
    --------------------------------------- Source site
    1. modify tnsnames.ora with content like:
    VVCOREDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = vvcoredb)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT=1521))
    (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = orcl)
    2. run command from rman like these:
    rman> connect target sys@vvcoredb
    rman> target database Password:
    rman> connect auxiliary sys@orcl
    rman> auxiliary database Password:
    rman> DUPLICATE TARGET DATABASE to orcl from active database spfile nofilenamecheck;
    Then the result show below:
    Starting Duplicate Db at 24-SEP-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=63 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
    executing Memory Script
    Starting backup at 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=74 device type=DISK
    Finished backup at 24-SEP-12
    sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''ORCL'' comment=
    ''duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    executing Memory Script
    sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/24/2012 17:44:12
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
    ORA-01262: Stat failed on a file destination directory
    Linux-x86_64 Error: 2: No such file or directory
    I don't know what wrong with my pfile? I specify correct my pfile on clone site like this:
    orcl.__db_cache_size=1476395008
    orcl.__java_pool_size=16777216
    orcl.__large_pool_size=16777216
    orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    orcl.__pga_aggregate_target=1342177280
    orcl.__sga_target=1979711488
    orcl.__shared_io_pool_size=0
    orcl.__shared_pool_size=436207616
    orcl.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_name='orcl'
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area/vvcoredb'
    *.db_recovery_file_dest_size=4070572032
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
    *.memory_target=3313500160
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    Please suggest me do i miss some steps when try to duplicate database?
    Any suggestions are welcome.
    Thanks in advance!
    P/s: Sorry for my bad English.

    Oh god, it worked. Thank you. But i got another problem like this:
    duplicate target database to orcl from active database spfile set "db_recovery_file_dest" = "/u01/app/oracle/flash_recovery_area/vvcoredb" nofilenamecheck;
    Starting Duplicate Db at 24-SEP-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=63 device type=DISK
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
    executing Memory Script
    Starting backup at 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=74 device type=DISK
    Finished backup at 24-SEP-12
    sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''ORCL'' comment=
    ''duplicate'' scope=spfile";
    sql clone "alter system set db_recovery_file_dest =
    ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment=
    '''' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    executing Memory Script
    sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
    sql statement: alter system set db_recovery_file_dest = ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment= '''' scope=spfile
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area 3307048960 bytes
    Fixed Size 2217872 bytes
    Variable Size 1811941488 bytes
    Database Buffers 1476395008 bytes
    Redo Buffers 16494592 bytes
    contents of Memory Script:
    sql clone "alter system set db_name =
    ''VVCOREDB'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    sql clone "alter system set db_unique_name =
    ''ORCL'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone force nomount
    backup as copy current controlfile auxiliary format '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
    restore clone controlfile to '/u01/app/oracle/recovery_area/vvcoredb/control02.ctl' from
    '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
    alter clone database mount;
    executing Memory Script
    sql statement: alter system set db_name = ''VVCOREDB'' comment= ''Modified by RMAN duplicate'' scope=spfile
    sql statement: alter system set db_unique_name = ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area 3307048960 bytes
    Fixed Size 2217872 bytes
    Variable Size 1811941488 bytes
    Database Buffers 1476395008 bytes
    Redo Buffers 16494592 bytes
    Starting backup at 24-SEP-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile copy
    copying current control file
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/24/2012 18:42:09
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/24/2012 18:42:09
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    I have a comment that source site doesn't have flash_recovery_area, instead it's name is recovery_area, is it problem?
    Edited by: 788420 on Sep 24, 2012 4:44 AM

  • Rman clone duplicate database from active database

    Hi All,
    I read document saying that rman can duplicate database from active database (prod) to a remote server, so long as you configure listener and tnsname.
    I am working toward it.
    I met a problem, which is when i bring up auxiliary database in nomount mode, the listener service of that auxiliary database is in BLOCKED status, and throw out ora-12528 error when I rman auxiliary sys/pass@clonedb. Isn't nomount mode the mode which auxiliary db is supposed to be in?
    (ora-12528: TNS:listener: all appropriate instances are blocking new connections)
    Thanks,
    milic

    You may have run into the same problem like I did recently:
    The (UR=A) clause in tnsnames.ora is intended to work with a dynamically registered handler so the use of SERVICE_NAME versus SID is preferred.
    ORA-12528: TNS listener BLOCKED - trying to duplicate database
    Also for further problems:
    RMAN 11gR2 duplicate database ORA-17627 ORA-01017 RMAN-03009 ORA-17628

  • Duplicate database from active database in 11g?

    Does anyone know if it's possible to clone a database from stby by issuing RMAN duplicate database FROM ACTIVE DATABASE command in 11g?
    I know it's possible from primary to create stby.
    Thanks in advance

    You may have run into the same problem like I did recently:
    The (UR=A) clause in tnsnames.ora is intended to work with a dynamically registered handler so the use of SERVICE_NAME versus SID is preferred.
    ORA-12528: TNS listener BLOCKED - trying to duplicate database
    Also for further problems:
    RMAN 11gR2 duplicate database ORA-17627 ORA-01017 RMAN-03009 ORA-17628

  • Duplicate database from Linux to sun

    Hi All,
    RMAN duplicate database from Linux 5.2 (Tikanga) to sun 5.9 is possible, please share link or doc.

    Thanks for reply.
    But confused to Capture ENDIAN_FORMAT
    1-
    uname -a gives below SUN OS detail,
    SunOS 5.9 Generic_122300-51 sun4u sparc SUNW,Sun-Fire-V490
    and in oracle i am getting below 4 records,so please help me which would be my SUN flavour from below list.
    PLATFORM_NAME ENDIAN_FORMAT
    Solaris[tm] OE (32-bit) Big
    Solaris[tm] OE (64-bit) Big
    Solaris Operating System (x86) Little
    Solaris Operating System (x86-64) Little
    2-
    uname -a
    Linux *** 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
    SQL> select platform_name, endian_format from V$TRANSPORTABLE_PLATFORM where platform_name like '%Linux%';
    PLATFORM_NAME ENDIAN_FORMAT
    Linux IA (32-bit) Little
    Linux IA (64-bit) Little
    Linux x86 64-bit Little
    please help me which would be my Linux flavour from above list.

  • ASM to non-ASM database duplicate-ORA17503:ksfdopn:2 Failed to open file

    Hi,
    I am trying to duplicate an ASM database in to non-ASM database.
    Having trouble when trying to start the duplicate database, it is looking for the redologs which are there in the ASM diskgroup in the production database, but the duplication database is non-ASM,
    The database version is 10.2.0.4 on HP-UX 11.31
    ORA-00313: open failed for members of log group 11 of thread 1
    ORA-00312: online log 11 thread 1: '+DATADG/orcl/onlinelog/group_11.302.670427231'
    ORA-17503: ksfdopn:2 Failed to open file +DATADG/orcl/onlinelog/group_11.302.670427231
    ORA-15001: diskgroup "DATADG" does not exist or is not mounted
    ORA-15077: could not locate ASM instance serving a required diskgroup
    Sun Aug 21 14:20:14 2011
    Errors in file /u01/app/oracle/admin/orcl/udump/orcl_ora_12482.trc:
    ORA-00367: checksum error in log file header
    ORA-00305: log 12 of thread 2 inconsistent; belongs to another database
    ORA-00312: online log 12 thread 2: '/oradbstg/oradata/orcl/redo01.log'
    Sun Aug 21 14:20:14 2011
    RESETLOGS after incomplete recovery UNTIL CHANGE 3632387878
    Resetting resetlogs activation ID 1179611173 (0x464f7025)
    Sun Aug 21 14:20:14 2011
    Errors in file /u01/app/oracle/admin/orcl/udump/orcl_ora_12482.trc:
    ORA-00313: open failed for members of log group 7 of thread 1
    ORA-00312: online log 7 thread 1: '+DATADG/orcl/onlinelog/group_7.298.670427121'
    ORA-17503: ksfdopn:2 Failed to open file +DATADG/orcl/onlinelog/group_7.298.670427121
    ORA-15001: diskgroup "DATADG" does not exist or is not mounted
    ORA-15077: could not locate ASM instance serving a required diskgroup
    Sun Aug 21 14:20:14 2011
    Errors in file /u01/app/oracle/admin/orcl/udump/orcl_ora_12482.trc:
    ORA-00600: internal error code, arguments: [kgeade_is_0], [], [], [], [], [], [], []
    ORA-600 signalled during:  alter database open RESETLOGS...Any help would be appreciated.

    When you are performing this task , is the ASM diskgroup "DATADG" mounted or existed.. try to figure out that first whether the diskgroup is mounted/existed or not .. And also when incomplete recovery is performed oracle creates the online redolog files when you start the db with resetlogs..
    you can go through the following link :
    http://oracleinstance.blogspot.com/2010/08/duplicatecloneconvert-asm-file-system.html
    Cheers!

  • Duplicate Database From  ASM to ASM

    Hi Guys
    I am running Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 with RAC on HP-UX using ASM. I have two nodes on cluster now I have a new cluster environment with three nodes using ASM as well.
    I want to duplicate my databases from two nodes to three nodes using my backups. I am using rman backups.
    How do I begin to do that?
    Please help !!!!!!!!!!!!!!
    Thanks

    Which, as far as I recall, wouldn't make any difference.
    Your 'target' is the auxiliary database, which is pointed to by a tns service name.
    Provided the backup is accessible on both servers (maybe by using NFS), duplicate database should like a charm.
    But then I am already abstracting docs, which is evidently exactly what you want.
    Sybrand Bakker
    Senior Oracle DBA

  • Creating Standby Database from ASM Databse none ASM

    I have ASM RAC database running on Solaris 10. I want to take a backup with RMAN and move the Backup to none ASM on other Stand alone server. I want to use this none ASM backup database to create Standby Database for Test purpose. Is it doable? If it is doable can you answer following questions?
    What command should I use with RMAN to take a full backup and move it to none ASM platform?
    Thank you

    Well, the answer is most likely yes, but first need to confirm
    - Do you want a physical or logical standby?
    - Will the standby run on the same platform , i.e. also Solaris 10?
    - What version of database ? It is much easier in 11g.

  • SAN replication from ASM to NON ASM

    Hi,
    We have a requirement:
    PROD Site: 2 RAC nodes on ASM with 11g Rel 2. ASM will be on SAN.
    Requirement: For DR Site: create non ASM single database on which SAN from PROD will be replicated. No Data Guard.
    Question: Can we do this? Will standalone DB will be able to read all the data files, as on DR Site non ASM DB will be created. What Oracle recommends? Becuase another solution is that we can create some cron tab job and it will aply archive log files after some interval o DR site database.
    Regards.

    You cannot do it with SAN replication, because SAN replication will give you exact replica of the LUN on storage level, so you will need ASM to read it.
    You can "simulate" data guard. Restore database backup on standalone database file system (you need to explicitly set the restore destination directory, otherwise rman will try to restore the database on ASM) and apply archivelogs on a schedule.

  • How to migrate 11gr2 standby database from file system to ASM

    Hi,
    I have 11gR2 data guard setup of 2 node RAC primary and stand alone standby database.
    Primary RAC uses ASM, and stand alone standby DB uses normal file system for data files and archive logs. I want to migrate the stand alone standby DB from file system to ASM.
    If you have any ideas or documents on it, kindly please share with me.
    Thanks in advance,
    Mahipal

    Mahi wrote:
    Hi Fran,
    Thanks a lot for the quick reply. I have another question, I want to have standby in ASM; but ASM home is grid home(CRS+ASM) in 11gr2.
    I don't want to configure CRS now for standby, only want to have ASM storage. s it possible to install the grid home only for ASM and not for CRS?
    On a stand-alone system, there are still CRS/Grid components that are a part of the ASM install. You cannot NOT install it.
    >
    Thanks,
    Mahi

  • Cloning of Database from RAC to non-RAC

    We have 9i RAC database with Oracle 11.5.9 application,
    Our management wants one new non-rac instance for Reporting purpose. They want Reporting instance should be re-fresh every night with automated process. I am looking for the help is there any way we can refresh the databse from RAC enviornement to non-rac enviornment. Please help us.
    Thanks
    Regards
    Raj Sachdeva
    Oracle Certified Master.

    Hi;
    Presently we are following RMAN duplicate database cloning from RAC asm to (non RAC)non asm database of size 1TB.
    If suppose if our databse is 3TB or More. then is there method that we can minimize the cloning time. If so please let me know.We have 4 Tb RAC+ASM and we also follow same method. I belive there is no faster method, at least we can not find :)
    Regard
    Helios

  • Duplicate database from prod environment to test environment.

    hi,
    Am trying to Duplicate the database from Production RAC Envrionment to Test RAC Environment.
    Am following the metakink Document: How To Restore Rman Backups On A Different Node When The Directory Structures Are Different [ID 419137.1]
    When am restoring the backup from prod in Test environment am getting the following error.
    ORA-19870: error reading backup piece /rman2/stage/backup_of_PROD_21047_07_04_2011_1
    ORA-19504: failed to create file "+DG1"
    ORA-17502: ksfdcre:4 Failed to create file +DG1
    ORA-15055: unable to connect to ASM instance
    ORA-00020: maximum number of processes () exceeded
    ORA-15055: unable to connect to ASM instance
    ORA-00020: maximum number of processes () exceeded
    Please help me out in this.
    with regards
    A.Aravind

    Pl post details of OS and database versions on the source and target.
    RMAN Duplicate Failing With ORA-19870 ORA-19504 ORA-15012 ORA-17502 ORA-15080 (Doc ID 417074.1)
    Srini

  • How to converrt files on RAW devices in ASM to non ASM file system.

    Hi all,
    I have on  problem .
    Is that possible to migrate ASM  raw files system to non ASM file .
    If possible plzz describe them.
    If not also please tell y not?
    Thanks in addvance
    Regards
    Krishna

    Hi,
    I totally agree with Mahir. And I just want to share one thing:
    Use %U to generate guaranteed unique names :
    For backupsets, %U means: %u_%p_%c
    For an image copy of a datafile, %U means: data-D-%d_id-%I_TS-%N_FNO-%f_%u
    For an image copy of an archived redolog, %U means: arch-D_%d-id-%I_S-%e_T-%h_A-%a_%u
    For an image copy of a control file, %U means: cf-D_%d-id-%I_%u
    Thank you

Maybe you are looking for