Ensure restoration of DB using the control file.

Hello

I'm setting up physical sleep using the standby control file...

By using the SAN replication I copy the DB files, log files, archive logs.

On primary DB DB all files are mounted on LUN name DB1/Log1/cra1 while secondary, they were mounted as DB2/Log2/arch2.

As I'm not using RMAN duplicate to restore DB Eve... How to convert file name and name of the journal folder when creating DB stand.

Thank you

SQL > see the convert parameter

VALUE OF TYPE NAME

------------------------------------ ----------- ------------------------------

db_file_name_convert chain

log_file_name_convert chain

Tags: Database

Similar Questions

  • recover the database unitl cancel using the control file

    I refreshed with db1 db2, copied all the newspapers dbfile and archive to the db2 server and setup/adjusted spfile, controlfile etc on the new db2 server and has
    recover the database unitl cancel using the control file.
    ALTER database open resetlogs.

    Now the customer want to refresh it after 2 days, I wonder of I need only archive newspapers or both? to do the same again?

    Published by: DBA2008 on November 11, 2009 09:49

    Yes, you can 'restore to cancel' several times.

  • Smart card reader does not correctly connect once the virtual machine is restored from sleep using the vmrum controls

    Smart card reader does not correctly connect once the virtual machine is restored from sleep using the vmrum controls

    Scenario is,

    1. smart card reader is connected to the VM with card inserted in

    2 initiate a prompt suspension of the VM toolbar

    3. now to resume the virtual machine by using vmrun command into the host machine

    WS t vmrun start xxx.vmx

    Now, the recovery of VM but the smart card reader that was previously connected does not work properly in VM that is to say, sometimes after CV chip card reader driver is uninstalling and a few other times, chip connected to the drive is not available on a virtual computer

    My requirement is after power, smart card reader can stay connected to the virtual computer with the already installed driver and the smart card.

    Kindly help with this problem.

    Host operating system: Victoire 2012 R2

    The VM OS: win 10 x 64

    Thank you!!

    Dear all,

    I had a work around for this problem. By adding "usb.autoConnect.device0 ="0xVID:0xPID"" this statement to the VMX file, solves this problem, that is, whenever the VM is wake-up by clicking on the link CV or using vmrun commands, it connects the unit in question automatically and it is charging correctly with his driver. Obtaining smart card detected after sleep\hibernate with no problems.

    VID & PID is respective ID of the device that can be seen in the properties of the Device Manager "Device Instance path".

    For more information about this, visit VMware KB: automatic connection of USB devices to the virtual machine power on

    ~ Surendra

  • restore / recover the control file

    Hello
    in 10g, I lost all the files of ctl and I want to restore/recovery of backups RMAN.
    Oracle documentation:
    6.4.1.4 Restoring a Control File When Using a Recovery Catalog
    Restoring a lost control file from autobackup is easier when using a recovery catalog than when using only the control file to store the RMAN repository. The recovery catalog contains a complete record of your backups, including backups of the control file. Therefore, you do not have to specify your DBID or control file autobackup format.
    
    To restore the control file, connect RMAN to the target database and the recovery catalog, and bring the database to NOMOUNT state. Then issue the RESTORE CONTROLFILE command with no parameters, as in this example:
    
    % rman TARGET rman/rman CATALOG catdb/catdb
    RMAN> RESTORE CONTROLFILE;
    After that I should publish any statement to RECOVER or change the editing of the database and alter database open would be enough?

    Thank you.
    Is there a complete senario anywhere?

    The restoration is correct.

    Please see the following:

    http://www.SC.EHU.es/siwebso/KZCC/Oracle_10g_Documentacion/server.101/B10734/rcmrecov.htm#1006247

  • ORA-19838: cannot use this control file to open the database

    Dear all,

    While making RMAN cloning, we are facing problem,

    SQL > alter database open resetlogs;

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-19838: cannot use this control file to open the database

    Concerning

    Villi Kumar

    Dear all,

    While checking the database,

    Control the name of the database file is PROD

    In the instance, database name is TEST.

    So we took the PROD and edited control file trace file based on the TEST environment.

    Then run the script published in the TEST database trace file.

    Now we can open the database by using below command

    ALTER database open resetlogs;

    Concerning

    Villi Kumar

  • Help on recovering database /Restore - no available controlfiles kccpb_sanity_check_2 control file sequence number mismatch

    Hi all.

    I really need your help on this:

    (1) version: 11.2.0.1 EE / Windows.

    (2) database does not start, don't get database.

    Alert.log info:

    Instance of stopped by USER, pid = 3652

    2015-11-22 15:57:19.763000 - 04:30

    I found this after using adrci:

    2015-11-22 15:49:15.727

    SESSION ID: (191.1) 2015-11-22 15:49:15.727

    CUSTOMER ID :() 2015-11-22 15:49:15.727

    NAME OF THE SERVICE :() 2015-11-22 15:49:15.727

    MODULE NAME: (sqlplus.exe) 2015-11-22 15:49:15.727

    ACTION NAME :() 2015-11-22 15:49:15.727

    Informational message:

    Control file 1 has seq 2713995, low 2713994 file # 0

    Error: kccpb_sanity_check_2

    Control file sequence number mismatch!

    fhcsq: bhcsq 2713995: 2714016 cfn 0

    2015-11-22 15:49:15.758

    USER (ospid: 2504): put an end to the instance

    Verification of MOS Note: 435436.1 I must:

    (1) to restore a backup of a controlfile and recover

    OR

    (2) to recreate the controlfile

    OR

    (3) restore the backup data and recovery

    It is a database, that I was not, up to now administer. But:

    (1) I tried from the database with addressed controlfile (the one located in FRA). No luck. (Create pfile from spfile / startup pfile)

    (2) the database is not mount / open. It hangs on the editing process. So I can not issue an alter database controlfile to trace.

    It seems that my options are:

    (1) manual creation of controlfile with open resetlogs option. This option is viable, but risky if we miss a datafile or something GOLD

    (2) restoration of RMAN backup. The thing is that the most recent copy of automatic backup of controlfile is since a few days early (4 / 5 days).

    I found this link: http://gavinsoorma.com/2009/07/rman-recovery-from-loss-of-all-control-files/

    The procedure seems easy, but since this controlfile is not in the current SNA of database (data files, etc.). I'm not sure it if it would work.

    So in short, I think I have an automatic backup controlfile and it's OK. but a little old. I can restore from this copy of CF?

    Please I'm pressed real here, so help will be greatly appreciated!....

    Thanks in advance!

    Best regards, Luis...!

    Hello

    It seems that my options are:

    (1) manual creation of controlfile with open resetlogs option. This option is viable, but risky if we miss a datafile or something GOLD

    (2) restoration of RMAN backup. The thing is that the most recent copy of automatic backup of controlfile is since a few days early (4 / 5 days).

    It seems that you have few options,

    In my opinion, you should start with option 2), but you have logs archived redo and all and all the backups of catalog and perform a restore.

    After, if not works, you must manually create the control files, but you are right, you must carefully on all the data files. Here a log generated in the last level 0 RMAN backup could help you, don't forget the newspaper are all entries of data for backup files.

    I wish to have more ideas to help you, but I have no other.

    I hope this helps.

    Kind regards

    Juan M

  • ORA-00338: 3 log thread 1 is more recent than the control file

    Hello

    I met the error ORA-00338 while performing the recovery of incomplete data:

    ORA-00283: cool cancelled due to errors
    ORA-00338: 3 log thread 1 is more recent than the control file
    ORA-00312: wire 3 1 online journal: "+ DG_REDO/dbase/onlinelog/group_3.267.814820795".
    Complete recovery manager.

    I made this recovery on oracle 10g, database of ASM.

    1. What are the possible causes of this error ORA-00338?

    2. This error occurs at the beginning of the media recovery, RMAN is applying logs archived. If RMAN does newspapers "Online REDO" after applying "archived" logs required for recovery or in front of them?

    3 rman is how this journal in line 3 is more recent than the control file? How can I me SNA of the journal online & file control in my environment?

    Here are some details related to checkpoint scn / change # info. I found in my environment:
    Before recovery:
    view
    v$ datafile: 642935
    v$ datafile_header: 642935
    v database $: 642935
    Journal of v$: 640956

    After the recovery fails (ORA 338 :()
    v$ datafile: 640917
    v$ datafile_header: 640056
    v$ database: 640906
    Journal of v$: 640906

    You could try the incomplete recovery has to do only the RESTORE DATABASE with RMAN.
    Then, using the SQLPLUS command line, issue a RECOVER database with the HELP of BACKUP CONTROLFILE until CANCEL. See which he records guests for and monitor messages in the alert.log

    Hemant K Collette

  • Problem to identify the control file when creating physical standby

    Hello

    (database version: 10.2.0.4)
    linux platform)

    I use the command below to create physical database from a backup before:
    rman target / auxiliary sys/tiger@paceview
    
    Recovery Manager: Release 10.2.0.4.0 - Production on Tue Sep 4 18:05:53 2012
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    connected to target database: PACEVIEW (DBID=2092349485)
    connected to auxiliary database: PACEVIEW (not mounted)
    
     run {
     allocate auxiliary channel c1 device type DISK;
     set until sequence 38;
     duplicate target database for standby dorecover nofilenamecheck;
     }
    
    
    released channel: ORA_DISK_1
    allocated channel: c1
    channel c1: sid=35 devtype=DISK
    
    allocated channel: c2
    channel c2: sid=36 devtype=DISK
    
    executing command: SET until clause
    
    Starting Duplicate Db at 04-SEP-12
    
    contents of Memory Script:
    {
       set until scn  138180211934;
       restore clone standby controlfile;
       sql clone 'alter database mount standby database';
    }
    executing Memory Script
    
    executing command: SET until clause
    
    Starting restore at 04-SEP-12
    
    channel c1: restoring control file
    ORA-19625: error identifying file /backup/rman/paceview/DEL1_standby.ctl
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    ORA-19600: input file is control file  (/backup/rman/paceview/DEL1_standby.ctl)
    ORA-19601: output file is control file  (/PGHProdDB/oradata/paceview/control1.ctl)
    failover to previous backup
    
    released channel: c1
    released channel: c2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/04/2012 18:01:44
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    I already tried to cross but always give same error
    Thank you

    Hello;

    That's what I'd do:

    Primary backup (change in your directory as needed)

    RMAN RUN {
    allocate channel d1 type disk;
    backup format '/u01/backups/PRIMARY/df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format '/u01/backups/PRIMARY/al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';
    release channel d1;
    }
    

    Move the backup and duplicate like this:

    rman target sys/password@PRIMARY auxiliary /
    
    RMAN> run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    duplicate target database for standby nofilenamecheck;
    }
    

    For details of this method, see:

    http://www.Visi.com/~mseberg/duprman2.html

    Best regards

    mseberg

  • the steps of the control file multiplexing

    I am preparing for the OCP and I met the case below and I don't know which is the right answer.
    So, could help the guys take the right one and explain why?

    144: you want to protect your database from single point of failure by multiplexing by the control file. Your database is started using SPFILE. You must perform the following tasks
    1. stop the database instance;
    2 copy the control to the new location.
    3 configure the parameter CONTROL_FILES.
    4 restart the instance.
    Select the order in which these tasks must be completed:
    (a) 1,2,3,4
    (b) 3,2,1,4
    (c) 3,1,2,4
    (d) 2,3,1,4

    the answer said c) is good.

    Here is my explanation, please see if it's good?

    to ensure the consistency of the control file before copying again place, we must stop the database.
    Thus, the order is 2 must be after 1, so we got a) or c).
    to configure CONTROL_FILES, you must start the instance at least, so we can eliminate one) and we left with c).

    Correct me if I'm wrong.

    Thanks to a bouquet.

    Published by: PhoenixBai on December 18, 2010 10:46

    PhoenixBai wrote:
    >
    so while editing, it will search both controlfiles...
    >
    instance would check if the two controlfiles exist, and if one of them isn't, then instance will not be able to mount the database right?

    YES, there should be two controlfiles, otherwise you get errror "Can' identity controlfile.

    >

    My question is WHY NOT?
    These two controlfiles are the same, and instance would only need or read one of them to go further, then why not be able to mount the DB?

    It's depends on the parameter control_files you have defined in the PFILE/SPFILE file...
    multiplexing is to avoid the SPOF (single point of failure)...

    as you say, a lost controlfile... without informing you if the oracle database starts with unique controlfile... so, how can you know... If you continued if tomorrow you lost the other? While is it?

    Thank you

  • Help! I can't restore my appearance in the control panel its all jumbled.can you help me? is it a default option for appearances in my computer?

    My Control Panel is blurred. my text look shady.my taskbar is outta wack.please help me.

    Hi,   1. this happens only with Panel? 2 you have any problem in appearance Office? 3. did you last changes made on your computer?

    Method 1: If a Protection of resources Windows (WRP) file is missing or is damaged, Windows may not behave as expected. Auditor of file system (CFS) scan to fix all of the corrupted system files. To do this, follow the steps mentioned in the link below:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    Method 2: Troubleshooting with Windows Aero http://windows.microsoft.com/en-US/windows-vista/Troubleshoot-problems-with-Windows-Aero

  • Windows Explorer Crash when using the control panel

    This is the type of an interesting question that happens to me only sporadically and usually only to a cold start.

    When I shut down the computer completely for cleaning or install something, when restarting, open the Control Panel causes Windows Explorer to crash (note that this is not Internet Explorer).

    It restarts immediately, but I lost some of the icons in the taskbar - especially the icon Sound Max.

    If I do a reboot it comes back and I can use the Control Panel normally. Tried to remove items from the start menu, as obviously something is in conflict when it starts but it is like shooting in the dark to find the good start. I even reinstalled W7 with a lot of attention, but it happens once again from time to time. I ran sfc/scannow several times and all is well.

    As long as I don't do a cold reboot it will work very well for weeks without a hitch. (Please no comments about just don't).

    Someone else has a similar problem? My specs are lower and it has not changed when I updated to the latest version of the bios so I suspect something on W7, and I strongly suspect the driver SoundMax which is in fact very old for W7X64.

    All updates are underway, including the latest which was supposed to increase stability for W7 X 64. I had added this update 4/28. An accident 29/4 good. I uninstalled the update and re-installed directly from the microsoft link. Sometimes it works, but not in this case.

    I studied all the information mentioned in the error codes and most of the time, it led to speculation of different people to different causes. I've read that it could be a conflict with the driver Sound Max, this is why I suspect as well that it might involve the Nvidia GPU driver. Changed the GPU driver and no joy. Whenever I have ask W7 to check a solution that is not found. So, it happens once in a while, but there is nothing wrong? At least Microsoft knows something is happening--evidence of the update.

    ASUS P6T Deluxe V2 LGA 1366-Bios 1003 - Intel I7 920 - EVGA GF GTX 260 SC - 12 Gig Corsair DDR3 1333 Ram - Gig 2 300, Velociraptor, Raid 0 1 Seagate 500 Gig HD - Lite on DVD Burner - floppy drive and external-180 card-Coolermaster V8 Avermedia HDTV card reader - Thermaltake Toughpower 850 w. modular fan P.S. - Antec 1200 case - Reobus 6 - 5 controller 120 fan Thermaltake Fans - 1,200 cases GPU Driver 196,21 Windows 7 X 64

    Hello

    Make sure that Windows Update is turned on and install the update KB980408 (http://support.microsoft.com/kb/980408) - April 2010 stability and reliability update for Windows 7 and Windows Server 2008 R2 is available .

    Issues that this update fixes this update improves the stability and reliability of Windows 7 and Windows Server 2008 R2 in various scenarios. This update addresses the following issues:

    • Windows Explorer crashes and then restarts when you access a third-party Control Panel item.

    This update solves the problem?

    If this isn't the case, please download this reg from my SkyDrive file:
    http://CID-128fc518635be2dc.SkyDrive.live.com/self.aspx/.public/Ms%20Foren/registry/WER%5E_Explorer.reg

    and double click on the file to import.

    When Explorer crashes, Windows Error Reporting Service creates a dmp under C:\Localdumps . Please download the file to your public Skydrive folder and post the link here. I take to the dump, maybe I can see the cause.

    André

    "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • I have a problem in direct charge of path where the default values are not met when using the CSV file to load into the database while his is filled everything in plain insert queries

    -The header of the control file, I added a load direct method(append mode)

    OPTIONS(direct=true,Parallel=true,skip_index_maintenance=true,skip_unusable_indexes=true)

    DATA RELATING TO SUNK COSTS

    ADD

    INSERT INTO TEST_TBL

    (

    col1,

    ...

    Col n-2

    );

    Try to use the classic path instead.  With the direct path, many constraints and triggers, and others are disabled.  Please see the next section of the online documentation.

    https://docs.Oracle.com/database/121/Sutil/GUID-973925DA-8F86-49C1-A707-4564DC3B57AE.htm#SUTIL1330

  • How can I specify location of the control file when the manual creation of DB?

    DB version: 11.2.0.4

    OS: Oracle Linux 6.6

    The CREATE DATABASE command creates the control file.

    CREATE DATABASE command is executed once you start the instance in NOMOUNT State as shown below.

    SQL > startup nomount pfile=$ORACLE_HOME/dbs/initBRCPRD.ora

    SQL > create database 'BRCPRD '.

    MaxInstances 32

    MAXLOGHISTORY 1

    maxLogFiles 192

    maxlogmembers 3

    ..

    .

    .

    < snipped >

    When you create the database manually, we can define the control_files parameter in the init.ora as below and control file will be created at this location. Right?

    control_files = ("" / u01/oradata/BRCPRD/BRCPRD_control01.ctl","/u01/oradata/BRCPRD/BRCPRD_control02.ctl "")

    When I was generating the DB using DBCA GUI creation scripts, it asks to enter the location of the Online redo logs and control files.

    I entered my desired location. But, I couldn't find CONTROL_FILES parameter in the init.ora file generated the DBCA. This is why I got confused. I think that DBCA is internally somehow. So thought I'd post it here.

    Hi John, OP

    Just checked the init.ora file created by DBCA. Although the parameter CONTROL_FILES is undefined, db_create_file_dest = '+ DATA_DG1' was created. OMF default location is defined by the db_create_file_dest parameter.

    So, I could safely use this script for the manual creation of DB, and during the CREATE DATABASE command execution, oracle will place CONTROL_FILES + DATA_DG1 using the format;

    +DiskGroup/dbname/filetype/filetypetag.file.incarnation

  • Add other fields to sql * source file loader without including them in the control file

    Hello

    We have a file that we receive every day to an external resource. We load the file into Oracle using Sql tables * Loader!

    My question is, if external resources added more fields at the end of the file and I USED to change the control file to load (almost there will be right there without any use!)

    Will I get an error SQL * loader?

    or else, it will be fine!

    Thank you

    /HESI

    In general, SQL * Loader will simply ignore the extra fields at the end of the line.  However, there are exceptions to all rules.  To do a correct delimiter after the last field you load.  The additional fields must dressed not in the next line, unless you have authorized to do this.  If the end of the characters of the line of the source operating system do not match at the end of the characters in the line of the target operating system, then you need to deal with this in one of the various ways.  These are a few examples.

  • I had CS5 on a computer that has crashed with WIndows 7. How to restore my CS5 with the backup files?

    I had CS5 on a computer that has crashed with WIndows 7. How to restore my CS5 with the backup files?

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

Maybe you are looking for

  • Satellite on L9W Mini - B - recommend buying this model?

    Hello I was watching a hybrid 2 in 1 of low-end is mainly to be used as a notebook computer, but sometimes in the form of tablets. I've seen a few problems raised in this forum, and some seem to have been settled by updates.I've been watching this pa

  • Example of readline?

    where can I get readline program example (simple program will do)? My goal is to read a data (number) of the file and add number and save on another file. first of all, I need to know how of readline. -Is there an example or advice regarding the fore

  • IPad 2 could not find my printer

    I just bought a HP Envy 4500 printer in order to print from my Apple IPad 2. Printed on my orinter configuration page says that I'm connected. However, my IPAD says that it is impossible to find my printer, the same thing when I try to print using EP

  • E520 - problem with 64-bit Intel HD Graphics Driver

    Hi guys again. I would like to apply for assistance. I have problems with the driver Intel HD graphics 64-bit downloaded from http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/8hd613ww.exe (for my Edge e520 1143-37 G). I have Windows 7 64 bit Cz

  • How can I use my current windows7 for the new portable computer

    Original title: Windows 7 Hello I bought the original windows7 and I currently use it in my laptop. I recently bought a new laptop and now I want this original windows 7 on my new laptop. How can I use my current windows7 for the new portable compute