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!

Similar Messages

  • 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

  • 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

  • 11GR2 2nodes CRSD ASM - Failed to open file in dirty mode

    Hi...
    we facing a problem with a two node 11gr2 cluster.
    Independently first started node one ore node two. The node that has start first starts normal.
    The second started node fail with error mess ......
    vi .../emcrsp.log
    2011-04-17 10:19:14.406: [  OCRASM][4090540208]ASM Error Stack : ORA-15077: could not locate ASM instance serving a required diskgroup
    2011-04-17 10:19:14.408: [  OCRASM][4090540208]proprasmo: kgfoCheckMount returned [7]
    2011-04-17 10:19:14.408: [  OCRASM][4090540208]proprasmo: The ASM instance is down
    2011-04-17 10:19:14.416: [  OCRRAW][4090540208]proprioo: Failed to open [+DGCONF]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
    2011-04-17 10:19:14.416: [  OCRRAW][4090540208]proprioo: No OCR/OLR devices are usable
    2011-04-17 10:19:14.416: [  OCRASM][4090540208]proprasmcl: asmhandle is NULL
    2011-04-17 10:19:14.416: [  OCRRAW][4090540208]proprinit: Could not open raw device
    2011-04-17 10:19:14.416: [  OCRASM][4090540208]proprasmcl: asmhandle is NULL
    2011-04-17 10:19:14.416: [ default][4090540208]a_init:7!: Backend init unsuccessful : [26]
    [   CLWAL][738463920]clsw_Initialize: OLR initlevel [30000]
    2011-04-17 10:19:15.272: [  OCRASM][3128352944]proprasmo: Failed to open file in dirty mode
    2011-04-17 10:19:15.272: [  OCRASM][3128352944]proprasmo: Error in open/create file in dg [DGCONF]
    [  OCRASM][3128352944]SLOS : SLOS: cat=8, opn=kgfolclcpi1, dep=402, loc=kgfokge
    The interlink is up and running.
    We try to recreate the OCR and Voting from daily backup without any result
    Does anyone has an idea ?
    Thanks *T
    Edited by: tbrinkmann on Apr 20, 2011 5:15 AM

    Hi Paul,
    yes the ASM is down.
    That was confusing me. If I shutdown the other node the +ASM can start and clustering com´s up normal.
    It looks like only one node can use voting or ocr....
    The behavior looks like the interlink is down buts is not ;:-(
    One node ( first com´s up) start normally and take all cluster resources ...scan .. the vips..
    And second node show this error mess..
    Thanks
    *T                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • ORA-17503: ksfdopn:2 Failed to open file +M0347_DG1/m0347/spfilem0347.ora ORA-15001

    ASM database version:11.2.0.3
    Getting below error in both alert logfile of ASM in two node cluster.
    ============
    Errors in file /u02/diag/asm/+asm/+ASM1/trace/+ASM1_ora_86521.trc:
    ORA-17503: ksfdopn:2 Failed to open file +M0347_DG1/m0347/spfilem0347.ora
    ORA-15001: diskgroup "M0347_DG1" does not exist or is not mounted
    Same thing is written in trace file as well.
    There is only one database P0347 is running and diskgroup M0347_DG1 was for other database M0347 which is discontinued so diskgroup M0347_DG1 was dropped.
    But why it is looking for spfilem0347.ora, please let me know how to rectify it.

    ORA-17503: ksfdopn:2 Failed to open file +M0347_DG1/m0347/spfilem0347.ora
    The database P0347 has nothing to do with the issue . right?
    Probally you don't removed database M0347 from OCR and CRS was trying to start database.
    Using $ORACLE_HOME of Database
    $ srvctl config database -d M0347
    If it's registered in OCR you should remove it.
    This command will remove database.
    $ srvctl remove database -d M0347
    Check if Diskgroup is registred.
    Using $ORACLE_HOME of GI
    $ srvctl config diskgroup -g M0347
    If registered in OCR you can remove it.
    $ srvctl remove diskgroup -g M0347

  • 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.

  • Dataguard Config - Primary ASM - Standby Non ASM

    Hi,
    I'm having an issue with a new configuration of dataguard.
    Primary Standby
    OS Win2008 R2 Win2008 R2
    DB 11.2.0.2 11.2.0.2
    Storage ASM NTFS
    I have created standby logs on the standby and on the primary. I have configured real time apply(maximum availibility) but when I look in the rfs.trc files on standby I receive the following error:
    primary database is in maximum protection or maximum availability mode and the standby database does not contain and viable standby redo logs.
    I dropped all standby logs on the standby and recreated them, the real time apply then worked until all the standby redo logs filled. Now I'm receiving the error again.
    For some reason the standby logs are not clearing and this is the issue. I have looked at metalink notes Error At Standby Database Ora-16086: Standby Database Does Not Contain Available Standby Log Files [ID 1155773.1] and Primary Database Stops with ORA-16098 When Standby Put in Protected Mode [ID 187235.1].
    I think the issue may be that the primary databases online redo logs are on asm disks and the standby are on ntfs disks. I can't find any clear documentation that says that this config is unsupported. Any ideas would be greatly appreciated.
    Keith
    SQL> select group#, thread#, sequence#, used, archived, status, first_change#, n
    ext_change#, last_change# from v$standby_log;
    GROUP# THREAD# SEQUENCE# USED ARC STATUS FIRST_CHANGE#
    NEXT_CHANGE# LAST_CHANGE#
    5 2 255 30208 NO ACTIVE 196829409
    196829442 196829442
    6 2 254 3308032 NO ACTIVE 196826945
    196829409 196829409
    7 2 256 5200896 NO ACTIVE 196829442
    196838727 196838727
    8 2 257 6098944 NO ACTIVE 196838727
    196849666 196849666
    9 2 258 9165312 NO ACTIVE 196849666
    196862607 196862607
    SQL> SELECT GROUP#, BYTES FROM V$LOG;
    GROUP# BYTES
    1 52428800
    2 52428800
    3 52428800
    4 52428800
    SQL> SELECT GROUP#, BYTES FROM V$STANDBY_LOG;
    GROUP# BYTES
    5 52428800
    6 52428800
    7 52428800
    8 52428800
    9 52428800
    Primary Errors:
    TO_CHAR(TIMESTAMP,'YYYY-MON-DDHH24:MI:SS')||''||MESSAGE
    2011-DEC-08 12:00:12 LGWR: Destination LOG_ARCHIVE_DEST_2 network reconnect ab
    andoned
    2011-DEC-08 12:00:12 Error 16086 for archive log file 3 to 'PBONDSDR'
    2011-DEC-08 12:00:13 LGWR: Failed to archive log 3 thread 2 sequence 503 (1608
    6)
    2011-DEC-08 12:00:13 ARC3: Beginning to archive thread 2 sequence 502 (1971278
    31-197131866)
    TO_CHAR(TIMESTAMP,'YYYY-MON-DDHH24:MI:SS')||''||MESSAGE
    2011-DEC-08 12:00:13 ARC3: Completed archiving thread 2 sequence 502 (19712783
    1-197131866)
    standby Errors:
    2011-DEC-08 11:54:09 Media Recovery Waiting for thread 2 sequence 501
    2011-DEC-08 11:54:09 Primary database is in MAXIMUM AVAILABILITY mode
    2011-DEC-08 11:54:09 Standby controlfile consistent with primary
    2011-DEC-08 11:54:10 Standby controlfile consistent with primary
    2011-DEC-08 11:54:10 RFS[46]: Assigned to RFS process 3956
    2011-DEC-08 11:54:10 RFS[46]: No standby redo logfiles available for thread 2
    2011-DEC-08 11:54:10 RFS[46]: No standby redo logfiles selected (reason:7)
    2011-DEC-08 12:00:09 RFS[47]: Assigned to RFS process 2080
    2011-DEC-08 12:00:10 Media Recovery Log C:\ORACLE\FAST_RECOVERY_AREA\PBONDSDR\

    Standby database
    QL> select group#, thread#, status from v$standby_log;
    GROUP# THREAD# STATUS
    5 2 ACTIVE
    6 2 ACTIVE
    7 2 ACTIVE
    8 2 ACTIVE
    9 2 ACTIVE
    Primary DB
    SQL> select group#, thread#, members, status from v$log;
    GROUP# THREAD# MEMBERS STATUS
    1 1 2 INACTIVE
    2 1 2 INACTIVE
    3 2 2 CURRENT
    4 2 2 ACTIVE
    Minimally, the configuration should have one more standby redo log file group than the number of online redo log file groups on the primary database. However, the recommended number of standby redo log file groups is dependent on the number of threads on the primary database. Use the following equation to determine an appropriate number of standby redo log file groups:
    (maximum number of logfiles for each thread + 1) * maximum number of threads
    Using this equation reduces the likelihood that the primary instance's log writer (LGWR) process will be blocked because a standby redo log file cannot be allocated on the standby database. For example, if the primary database has 2 log files for each thread and 2 threads, then 6 standby redo log file groups are needed on the standby database.
    I'm a bit confused by above note does that mean I should create (2+1)*2 =6 standby logs?
    Thanks,
    keith

  • 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

  • RMAN Restoration failed from ASM to non asm

    While restoring the database, we are getting this error frequently, updated the media center they said media is intact, but there is some "NO POLICY" NO SCHEDULE" error. what does this mean.
    Could some one please help us why and how to resolve this issue. We are stuck in between our restoration.
    ORA-19870: error reading backup piece ROCT_rman_db_weekly_20110719_2jmhrat3_1_1
    ORA-19507: failed to retrieve sequential file, handle="ROCT_rman_db_weekly_20110719_2jmhrat3_1_1", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Failed to process backup file <ROCT_rman_db_weekly_20110719_2jmhrat3_1_1>

    784786 wrote:
    While restoring the database, we are getting this error frequently, updated the media center they said media is intact, but there is some "NO POLICY" NO SCHEDULE" error. what does this mean.
    Could some one please help us why and how to resolve this issue. We are stuck in between our restoration.
    ORA-19870: error reading backup piece ROCT_rman_db_weekly_20110719_2jmhrat3_1_1
    ORA-19507: failed to retrieve sequential file, handle="ROCT_rman_db_weekly_20110719_2jmhrat3_1_1", parms=""
    ORA-27029: skgfrtrv: sbtrestore returned error
    ORA-19511: Error received from media manager layer, error text:
    Failed to process backup file <ROCT_rman_db_weekly_20110719_2jmhrat3_1_1>where is No policy/no schedule errors?
    Error reading backup piece can occur even the handle was corrupt (or) handle was unable to read (or) did tapes loaded in MML ?
    *RMAN Duplicate fails with ORA-19870, ORA-19507, ORA-27029 and ORA-19511 [ID 562780.1]*

  • Migration Of Non-ASM 11g Database To ASM

    Hi Team,
    I have an instance with a standby database and Primary instance has been converted to Non-ASM to ASM(File System).
    Currently i have online redolog files and standby logfiles in my primary instance and i need to recreate log files in ASM.
    Do i need to convert standby instance in to ASM too?
    If not, can I hold my primary log files in ASM path and keep standby server logfiles as it is?
    Please advice.
    Thanks,
    Charith.

    Oracle allows a mix of ASM and non-ASM files at both Primary and Standby site.
    The only issue is that it might confuse the next DBA when you have such a mix unless you document and explain this clearly.
    Hemant K Chitale

  • Move datafile from asm datafile database to non asm database

    Hi Nice morning all DBA Guys, I want move datafile from asm database datafile to non asm configurated database. Hoe to move this?
    Datafiles like this
    +DATA/saico/datafile/users.259.631612183
    +DATA/saico/datafile/DBA.XXX.XXXXXXXXX
    Regards
    S.Azar

    The all files movement of asm to non-asm and vice-versa is given in document id 252219.1 on metalink. Please look at the same. In nut shell you have to do the following:
    1. Start your database with ASM.
    2. Create pfile from spfile.
    3. Edit pfile to reflect controlfile name in file system location.
    4. SQL> Startup nomount.
    5. Use RMAN to copy the control file from ASM to NON-ASM.
    RMAN> RESTORE CONTROLFILE FROM '<filename_of_old_control_file>';
    6. SQL> alter database mount;
    7. Use RMAN to copy the database from ASM to NON-ASM.
    RMAN> BACKUP AS COPY DATABASE format '/u01/oradata/nonasmdb/datafile/%U';
    8. From RMAN
    RMAN> SWITCH DATABASE TO COPY;
    Regards.

  • Restoring RMAN Backup from ASM RAC env to Non ASM standalone environment

    Hi,
    Can anyone please tell me how to restore database using RMAN in a Non ASM environment as my backup file with ASM RAC environment.
    i was also looking for some documentation which provides clear explanation about RMAN backup and Restore in ASM and Non ASM environment.
    Thanks

    You can set the parameter db_file_name_convert in init.ora in you new database with [ID 47325.1]
    or
    you can set parameter "set newname" in your script rman. [ID 549972.1]
    if you have one or two destinations of dbfiles in ASM I seggest to you set parameter db_file_name_convert in init.
    example:
    db_file_name_convert=('+DGDATA','/u01/oradata/');
    remenber you need set log_file_name_convert to.
    log_file_name_convert=('+DGREDO','/u01/redo/');
    if you use "set newname" commands you need set this lines in your script rman.
    set newname for datafile 1 to '/u01/oradata/system01.dbf';
    set newname for datafile 2 to '/u01/oradata/undotbs01.dbf';
    set newname for datafile 3 to '/u01/oradata/sysaux01.dbf';
    set newname for datafile 4 to '/u01/oradata/users01.dbf';
    and every datafiles you need set!
    Edited by: user1107977 on 21/07/2011 13:47

  • ASM instance migration from non-asm in windows

    hi,
    i am looking for migration steps to asm from non-asm in windows platform. oracle version is 10.2.0.2.0 any metalink id's or Docs would be great.
    i just had raw disk allocated in my windows but asmtoolg could not find the disk while configuring ?

    had better post your question in ASM forum, you will get better guidance/reply there.
    Forum Home » Grid Computing » Automatic Storage Management
    Automatic Storage Management

Maybe you are looking for