RMAN duplicate for standby the active database and the missing data files

We have a car of 2 node ASM 11 GR 2 and 11.1 of database and a standby with ASM also. Our database is relatively low (300 GB)

and in one recent event the day before was such a departure from the primary that we decided to "repopulate" the data using duplicate RMAN.

I deleted the data files of the previous day and followed the Oracle documentation to duplicate a database. In the waiting

I created a static listener and a pfile containing only the essential information (db_unique_name). I started the day before with nomount using the 'empty' pfile.

I run RMAN, connected to the target and ancillary catalogues and run this command:

run {
allocate channel prmy1 type disk;
allocate channel prmy2 type disk;
allocate channel prmy3 type disk;
allocate channel prmy4 type disk;
allocate channel prmy5 type disk;
allocate auxiliary channel stby1 type disk;
duplicate target database for standby from active database nofilenamecheck;
}

RMAN duplication completed without errors, so I started the rescue database and got

an error saying that datafile XXX is missing. I checked XXX datafile at the primary level

and it is in a DISCONNECTED state. In the standby database the same data file is in the online state.

So I think the problem is that during the duplication, RMAN (as documentation States) does not work

Copy the files of data in offline mode, but the standby control file seem to think that these data files

are online and should be present.

Can someone please help me solve this problem? From my understanding, I could just copy the missing persons

data files (there are many however) and in the standby go offline, but I don't think it's

the right solution, edit this file for control of the standby? I would add another option

in the RMAN script?

Take the data file in offline mode on the site of the previous day.

I don't think that two COPIES try to manage separately offline files.

Hemant K Collette

Tags: Database

Similar Questions

  • RMAN duplicate for standby database failed

    Hello
    I have try several times and for one reason, the auxialiary database finished just as it goes up the auxiliary instance.
    Target database in double check to stanby with the following error. Primary and auxiliary bodies
    Run 11.2.0.2 and are on the same platform of Solaris/patches. Everyone ran in that issue and solve it?

    RMAN target / catalog user@catalog
    startup nomount
    Run {}
    allocate auxiliary channel tp1 type sbt_tape;
    allocate auxiliary channel tp2 type sbt_tape;
    target database double standby nofilenamecheck;
    }
    :
    :
    :
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00601: fatal error in the Recovery Manager
    RMAN-03004: fatal error when executing command
    RMAN-04006: auxiliary database error: ORA-01092: ORACLE terminated instance. Disconnection forced
    RMAN-03002: failure of the command duplicate Db at the 15:28:52 01/02/2012
    RMAN-05501: abandonment of duplicate target database
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-03009: failure of switch control on channel clone_default at the 15:28:52 01/02/2012
    ORA-03113: end of file on communication channel

    You have error ORA-7445. I would ask allows you to check the MOS document that said Mseberg.

    Also, do not have the DATA01 on the standby database if your wait is a database not ASM. But you must give the path in the db_file_name_convert and log_file_name_convert on the eve pfile/spfile database

    1 question: is your watch set up database to be on ASM or not?

    See document MOS * no not guide to create physical standby on Normal file system for ASM primary with RMAN [838828.1 ID] * If your principal is on ASM and intelligence on the file system

    See document MOS * Step By Step Guide on creating physical standby with RMAN duplicate in ASM Filesystem for primary ASM [837102.1 ID] * If your primary and the day before are on ASM

    Published by: srp on February 3, 2012 03:49

  • Alert entered for the missing data file

    I'm trying a simple payback scenario: remove a data file to a tablespace that is normal when the database is running, and the data file has been saved.

    Before, the control point ends normally (I guess that still retains the file inode handle Oracle). When I choose to dba_data_files, the error occurred:
    SQL> alter system checkpoint;
    
    System altered.
    
    SQL> select count(*) from dba_data_files;
    select count(*) from dba_data_files
                         *
    ERROR at line 1:
    ORA-01116: error in opening database file 10
    ORA-01110: data file 10: '/u01/oradata/data01.dbf'
    ORA-27041: unable to open file
    Linux Error: 2: No such file or directory
    Additional information: 3
    To my surprise, nothing has been recorded in the alerts log. And no trace of the files not generated in udump. And Oracle has refused to restore the data file when he was running.

    The message appeared in the journal of alerts when trying to stop the database. After abort shutdown (Oracle refused to stop immediately) and restart the instance, I was able to restore and recover the data file.

    This is the expected behavior? If so, how you would detect files of missing when db is running?


    Oracle: 9.2.0.6, OS: RHEL3

    1. it has not detected by the control point caused by a switch logfile because the file is not actually missing. Like other - inded you! -have, Unix/Linux, you can remove a file at any time, but if the file is in use, the inodes are allocated and the process using it continues to see it very well because it. Because, at the level of the inode, it IS absolutely still there! Either by the way, it is needless to say to make a logfile switch, because as data files are concerned, which does nothing, that the command of alter system checkpoint that you already tried.

    I used to do demos of how to recover from the complete loss of a controlfile in Oracle University classes: I would like to make a burst of rm *.ctl commands and then significantly question the command checkpoint... and nothing happened. Very demoralizing the first time I did it. Deliver a force of startup, however here the inodes are released at that time, files are actually deleted and start falls in nomount State. Bouncing the instance was the only way I could get the data base to protest against the removal of a data file, too.

    2. No, if a file has disappeared in a way allowing to detect Oracle, it wouldn't matter if the folder was empty because he's worried the presence/absence of the datafile headers. They need to be updated, even if nothing else does.

    3. it would be in the alerts log if SMON has detected the lost file at startup (one of his jobs is, explicitly, to verify the existence of all the files mentioned in the control file). CKPT would not trigger an alert, because concerned, all right. Inodes are still held, after all. Your attempts to create tables and so forth inside the lost file do not generate display errors (I think) at this time, it's your server process that seeks to do things for the file, not CKPT or pre-existing other background process, constantly running.

    4. it's specific to Unix, anyway, that Linux is a Variant.

  • RMAN duplicate failed with the error of file block change track: ORA-19755

    I met following error when duplicate a source to target both 11 GR 2 on linux:

    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06136: the auxiliary database ORACLE error: ORA-01507: database not mounted
    ORA-06512: at "SYS." "X$ DBMS_RCVMAN ', line 13466
    ORA-06512: at line 1
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-10032: unhandled exception when executing job step 4:
    ORA-00283: cool cancelled due to errors
    RMAN-11003: failure in parsing / execution of the SQL statement: alter database recover logfile '+ HR_FRA/HRtst/archivelog/2012_11_27/thread_1_seq_5824.2541.800419437 '.
    RMAN-11001: Oracle error:
    ORA-00283: cool cancelled due to errors
    ORA-19755: could not open file change tracking
    ORA-19750: change the trace file: "+ HR_DAT/HRprds/changetracking/ctf.906.799250971".
    ORA-17503: ksfdopn:2 could not open the file +HR_DAT/HRprds/changetracking/ctf.906.799250971
    ORA-15012: ASM '+ HR_DAT/HRprds/changetracking/ctf.906.799250971' file does not exist
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 11/27/2012 02:48:10
    RMAN-05501: abandonment of duplicate target database

    RMAN >

    Complete recovery manager.


    I created a file in the dummy directory of track changes but the name is different since it is OMF on target, still does not work.

    Please help here. Thank you.

    Hello;

    Expected error.

    Try:

    alter database open resetlogs;
    

    You probably have a good copy and RMAN might want a newspaper that does not exist.

    Check here as in step 8, I get the same thing:

    http://www.Visi.com/~mseberg/RMAN/restore_database_without_catalog.html

    Best regards

    mseberg

  • RMAN DUPLICATE: Use backup or CURRENT database

    Hi all

    I have a database of 32 TB, and about what I've experienced so far, using backup to duplicate the database is similar to the use of the command to RESTORE and RECOVERY manually.

    If I use the option of DATABASE ACTIVE, then I should be concerned about the missing log files?

    Hereby, I mean, text source and target are in ARCHIVELOG MODE anyway.

    Thank you

    To answer your original question, yes you are worried for your missing log file.

    RMAN automatically copies the file to the server in the destination host settings, start the auxiliary instance with server settings file, copy all database files needed and archived redo logs over the network to the destination host and recovers the database.

    If your copy of 32 TB on the network would take more than 1 day (what is your strategy of retention according to your other thread), so what, you won't be able to recover the database.

    And you must mark this thread as a response and continue in your original thread.

  • ORA-01111 name for the 10 data file is unknown

    Hello
    I created two new areas of storage (11 and 12) with 1 data file in each of them in my primary database,
    I forgot to set the parameter in the server backup standby_file_management = AUTO,
    auto standby server to create tablespace data file in D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00010 11,
    Although there is no "UNNAMED00010" in D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\ file.
    in the tablespace $ v and v$ datafile, I can see that the entry was created in the control to the standby server file.
    Here is the list of the data file in my backup server

    TS # name
    ----- --------------------------------------------------------
    G:\OFSDB\OFS4\ORADATA\OFS4\SYSTEM01 0. DBF
    1 G:\OFSDB\OFS4\ORADATA\OFS4\UNDOTBS01. DBF
    G:\OFSDB\OFS4\ORADATA\OFS4\SYSAUX01 2. DBF
    G:\OFSDB\OFS4\ORADATA\OFS4\USERS01 4. DBF
    6 G:\OFSDB\OFS4\ORADATA\OFS4\DATA_SE. ORA
    7 G:\OFSDB\OFS4\ORADATA\OFS4\INDEX_SE
    8 G:\OFSDB\OFS4\ORADATA\OFS4\FLOW_1.DBF
    G:\OFSDB\OFS4\ORADATA\OFS4\CJHIT01 9. DBF
    G:\OFSDB\OFS4\ORADATA\OFS4\DBMON_TS 10. DBF
    11 D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00010

    Someone knows how to fix this problem?

    Thank you

    Another way try this,

    1 put the tablespace that holds the database without name begin backup mode.

    SQL > alter tablespace mytbs begin backup;

    2 copy the missing data (copy of the OS) file to the location of the files of pending data.

    3. run the end backup command.

    SQL > alter tablespace mytbs end backup;

    4. create a controlfile for the use of the database pending,

    SQL > alter database create standby controlfile as ' / D:/oracle/stdcontrol.ctl';

    5. move the alos for standby server.

    In the standby mode,

    1 cancel the recovery mode.
    2 stop and change the controlfile.
    3. start the day before db in the editing phase.
    4 restore database pending.

    Thank you

  • put the offline data file when the database is in NOARCHIVELOG mode

    My question is when the database is in log mode Archive No. I am not able to take the database offline.

    When I tried in my computer I noticed set-aside.

    CASES1:

    SYS > alter database datafile 5 offline;

    ERROR at line 1;

    ORA-01145: offline immediately rejected at least media recovery enabled.

    case 2:

    SYS > alter database datafile 5 immediate offline;

    ERROR at line 1;

    ORA - 00933:SQL not correctly completed order

    CASE3:

    I tried the command drop alter database datafile offline 6; (in NOARCHIVELOG mode) and it is to show the same effect that alter database datafile offline 6; (in ARCHIVELOG mode).

    * In NOARCHIVELOG mode are we really drop the data file to use the offline data file? You please tell me the effect of the dropkeyword.

    Oracle protects you. Please review ARCHIVELOG and NOARCHIVELOG mode.

    When you take the database offline in NOARCHIVELOG mode:

    (1) the file is offline

    (2) the RCS in which you took the database offline will be is more to be in the online redo logs

    (3) at this point, you need to perform a media recovery to enable again the file online (ie. restore the database)

    So you can see why you shouldn't do that.

    The DROP Offline command does not actually remove the data file. It removes the control file file details and updates the offline data file. It can be used for purposes of recovery or when you actually plan on deleting data files.

  • need to restore my database after losing a data file on my hard drive

    Hi all
    I installed oracle in my E: drive and create a tablespace (INDEX02) where it is placed the file data on the D: drive, I then installed linux on the c of the storage data file D: drive is lost, how can I recover the data? my database is in an archivemod

    Thanks for help

    the only solution you have:

    shutdown immediate ;
    startup mount ;
    ALTER DATABASE DATAFILE 'FD:\INDEX01.DBF' OFFLINE;
    alter database open ;
    
  • Cannot find the locale data files. Please reinstall

    I had a problem with Google Chrome, so I uninstalled via the control panel. I then reinstalled and I have this problem. I always present in my programs in the watched folder, but when I select to demolished, he said ' wait until the current program has finished install or changing.» I have no other program install or change. If I try to open Google, anywhere Progams, taskbar, all programs or directly from the .exe LocalApps it gives me the "could not find the locale data files. Please reinstall.

    I found the answer to my question. It seems that you can build processes, I don't understand why. For example I had a problem with my windows Explorer crashing. I disabled all the startup process of msconfig.

    In my view, there must be something in there that closes a completed process.
    Then I had, unknown to me, when I posted this problem, six or seven cases Google chrome showing the the Task Manager process tab. When I quit all instances of Google, I was able to finish the removal process and re - install Google Chrome.
    I just checked right now and I have six Google shown 3 rundll32.exe and two taskeng.exe bodies. I've never seen no more than one instance of anything in this tab before today.
    Disabling all startup stuff does not solve my problem to explore some way so I'll allow them once again.
    Thank you for helping me and I hope that someone can get useful information from my travels.

  • How to install the large data file?

    Anyone know how I can install large binary data to BlackBerry files during the installation of an application?

    My application needs a size of 8 MB of the data file.

    I tried to add the file in my BlackBerry project in the Eclipse environment.

    But the compiler could not generate an executable file with the following message.

    «Unrecoverable internal error: java.lang.NullPointerException.» CAP run for the project xxxx»

    So, I tested with a small binary file. This time, the compiler generated a cod file. but the javaloader to load the application with this message.

    "Error: file is not a valid Java code file.

    When I tried with a small plus, we managed to load, but I failed to run the program with that.

    "Error at startup xxx: Module 'xxx' has verification error at offset 42b 5 (codfile version 78) 3135.

    Is it possible to include large binary data files in the cod file?

    And what is the best practice to deal with such a large data files?

    I hope to get a useful answer to my question.

    Thanks in advance for your answer.

    Kim.

    I finally managed to include the large data file in library projects.

    I have divided the data file in 2 separate files and then each file added to library projects.

    Each project the library has about 4 MB of the data file.

    So I have to install 3 .cod files.

    But in any case, it works fine. And I think that there will not be any problem because I use library projects only the first time.

    Peter, thank you very much for your support...

    Kim

  • How to change the setting of the Siebns.dat file

    Hi all

    Can change us the Siebns.dat file?
    If Yes, then what is the procedure to do?

    I thing some command is available for this.

    Some body can help me in this.


    Thanks in advance

    Remy

    You can type help to list the usual orders, or refer to shelf Siebel System Administration Guide >
    Using the Siebel Server Manager command-line Interface.
    http://download.Oracle.com/docs/CD/B40099_02/books/SystAdm/SystAdm_SrvrMgrCLI.html

    If you would like more information, let me know what you want to do, and I'll do my best to help
    Best regards
    EvtLogLvl

  • "The missing config file corrupt" error message appears

    When I start my laptop, I get the "Missing config file corrupt" message and I can't start windows, it falls needs the original installation cd-rom!

    It seems that I do not have this cd? That I should?

    I don't want to just do a restore from the hard drive that I'll lose everything.

    Any ideas?

    Please, I beg you!

    Hello

    Have you tried booting in safe mode?
    If it is possible, then you can try to use the System Restore tool under Programs Accessories System Tools, you should find.

    Try to roll back the OS to the beginning. Well, if this procedure doesn't help then as said jmatthews you save files on the other computer and reinstall the operating system.

  • Error: Could not find the locale data files. Please reinstall when you try to open Facebook.

    Original title: locale data file errors... How can I fix it?

    can't the facebook home page and when I search the

    "Cannot find the locale data files. Please reinstall"pop box.

    Hi kjkin,

    1 did you change on your computer before this problem?

    2 are you able to access other Web sites correctly?

    3. what browser do you use?

    If you are using Internet Explorer, follow these methods & check if the problem persists:


    Method 1

    You can follow this link & check if the problem occurs:

    Can't access some Web sites in Internet Explorer


    Method 2

    You can also follow this link:

    How to delete the contents of the temporary Internet files folder?


    Reference:
    Internet Explorer does not start or stops responding

    Hope the helps of information.

  • I accidentally the application data file in my windows 8. Help, please.

    I accidentally the application data file in my windows 8 accordingly the tile on the start menu is missing only the office and the store remained, I lost too much profile in other games, how to restore lost especially applications apps built in? Help, please.

    Hello

    Please check section of applications that the built-in apps still exists or not. This will clear if the built-in apps are only missing the start screen or permanently missing. If you find them, re-PIN. If you can't find them, Refresh and they all will be back over your app so lost data file.
    Here's how to Update:
    Hope this helps, good luck :)
  • Users of readers to save the xml data file

    Hello
    We can e-mail through the form xml data file without its extension drive. It is very good. Instead of emailing, I want just to save the xml data file in my local system.
    What is the syntax to get it? To send email, I usually create a "submit" button and the area of the submittoURL write us mailto:[email protected].
    What to write to save it on the local computer instead of emailing? I tried saveto: C:\NewFolder or fileto:C:\NewFolder. Nothing works. I think I'm missing the good syntax here.
    I know its possible by RE the pdf, you can get using savedataXML(). I want to achieve this goal without the form.
    Thanks in advance,

    Chaitanya

    The best you can do is set up a submitForm action and uses a type mailto URL. This will prompt the user to attach to an e-mail message using their email client or save it to a file.

Maybe you are looking for