create a standby control file...

Anyway I can create "* Eve *" control file to the standby server that has a different name "database"?

I'm testing the dataguard configuration by installing oracle DB PRIM and STNDBY on the same server unixservers.

Primary DBName = "PRIM".
Standby server DBName = 'STAND '.

When I create the standby control file and re - use to mount the database on the standby server that I get below error msg. Is there a way I can change the name of the database in the standby control file created by
"alter database PRIM create standby controlfile as ' / u01/stndby.ctl ' (any other syntax?". for example TRACE... other option?)



{code}
ERROR on line 1:
ORA-01103: name of the 'PRIM' database in the control file is not "STAY."
{code}

http://www.adp-GmbH.ch/ora/data_guard/create_physical_standby_db.html

Tags: Database

Similar Questions

  • Whwn to create a standby control file?

    Hi all

    I want to set up a database waiting for my Production DB.

    I have a doubt, can we create a watch by control file when the primary database is in place and the mode of running(read-write). or otherwise is a must in Mount State only?

    Please notify.

    Thank you.

    Dear IndianDBA,

    There is one important thing to remember before you create a standby controlfile. You must create the controlfile after the full database backup, which is taken with the Recovery Manager (RMAN).

    You can create standby controlfile is on the mount status or open state of the database in him giving an absolute path. I think that there should be no problem to create during the State opened the database.

    Kind regards.

    Ogan

  • Standby control file

    Hi all

    I created a standby control file and took my database of phase nomount. What will happen if I do the following:
    change the editing of the database;
    instead of alter database mount standby base_de_donnees;?

    Thank you
    Aurélie

    change the editing of the database;

    instead of alter database mount standby base_de_donnees;?
    >

    You get a healthy ORA error the controlfile is pending database.

    Anand

  • Create the new control file

    I use oracle8i on windows XP. All the command deleted file and I couldnot create because of following erros:

    I wrote after a SQL command * more the worksheet:

    create controlfile
    student of the database
    noresetlogs

    I get the following erros when I run these commands:


    create controlfile
    *
    ERROR on line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in file identification
    ' % ORACLE_HOME%\DATABASE\DBS1%ORACLE_SID%. ORA'
    ORA-27041: could not open the file
    04002 - OSD: could not open the file
    S/O-error: (OS 2) the system cannot find the file specified.


    It would be great if someone help me.
    Thank you.

    Hello

    You can paste the contents of the controlfile you are trying to create, and how is the db in nomount mode?

    Anand

  • problem in the control file created by file LKM to Oracle (SQLLDR)

    I have a fixed file ABC.txt and it has three fields/columns of length, C1: = 4, C2: = 10 & C3: = 6 & I use LKM to Oracle (SQLLDR) file to load data into the target oracle table.

    I received the following error message in step CALL SQLLDR at km
    "org.apache.bsf.BSFException: exception of Jython: Traceback (innermost last):
    File "< string >", line 3, in? »

    Then I checked the registry of file control and found that the start value position & final value was not defined in the control file that is created automatically by LKM
    "
    SQL * Loader-350: error of syntax on line 14.
    Expects an integer positive, found ': '.
    C1_C1 POSITION (:) '


    The control created by ODI file & the position value is missing.

    OPTIONS)
    SKIP = 0,
    ERRORS = 0,
    DIRECT = FALSE
    )
    DOWNLOAD THE DATA
    INFILE 'C:/SNAPON/EOL.txt '.
    BADFILE "C:/SNAPON/ABC.bad."
    DISCARDFILE 'C:/SNAPON/ABC.dsc '.
    DISCARDMAX 1
    IN THE TABLE SNAPON_W.C$ _0ABC
    (
    C1_C1 POSITION (:),
    C2_C2 POSITION (:),
    C3_C3 POSITION (:)
    )

    '
    Anyone know why the position value is not created in the control file.

    Published by: neeraj_singh on March 3, 2011 01:25

    Hi Neeraj,

    It happens because you have not selected the area of mapping as STAGUING running.

    Open your interface, click each column of your data target store, make sure that "run them One" is marked on the "transit Zone".

    Then run your interface.

    Thank you
    Fati

  • 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

  • How to move the control file ensures ASM

    Dear all,

    I'm physical configuration ensures (11.2.0.3 DB), and I created and copied the eve of primary to standby control file.

    What is the value for the parameter control_files init.ora? can I give below, OR I need to move the control to the DSO files?
    *.control_files='/home/oracle/stdbycontrol.ora'
    and then continue under commnads rman,
    STARTUP NOMOUNT
    $ rman target sys/oracle@prod auxiliary.
    RMAN > DATABASE of TARGET duplicate FOR STANDBY;

    Dear anand
    Check the answer if you have the solution to your question.

  • OSD-04010: &lt; create &gt; option specified, the file already exists

    Hi all

    I try to create controfliel watches from the rpimary database, but I get the error below. Please suggest

    SQL > alter database create controlfile as 'D:\Oracle\product1\10.2.0\test ';
    change the database create controlfile as 'D:\Oracle\product1\10.2.0\test '.
    *+
    ERROR on line 1:
    ORA-01580: error creating the backup control file D:\Oracle\product1\10.2.0\test
    ORA-27038: created file already exists
    OSD-04010: < create > option specified, the file already exists

    The 10.2.0.3 Basic version
    Windows XP

    Thanks and greetings
    Arun

    arundba wrote:
    Hi all

    I try to create controfliel watches from the rpimary database, but I get the error below. Please suggest

    SQL > alter database create controlfile as 'D:\Oracle\product1\10.2.0\test ';
    change the database create controlfile as 'D:\Oracle\product1\10.2.0\test '.
    *+
    ERROR on line 1:
    ORA-01580: error creating the backup control file D:\Oracle\product1\10.2.0\test
    ORA-27038: created file already exists
    OSD-04010: option specified, the file already exists

    The 10.2.0.3 Basic version
    Windows XP

    Thanks and greetings
    Arun

    You must give the full path and name of the standby database controlfile as

     alter database create standby controlfile as
    'D:\Oracle\product1\10.2.0\test\standbycf.ctl'
    
  • Restore the snapshot control file

    Hello

    The following configuration will create the snapshot control file as RMAN.

    CONFIGURE SNAPSHOT CONTROLFILE NAME to 'product/10.2.0/dbs/snapcf_PROD.f '; # by default

    My question is how to restore the control file of this snapshot to another location.

    Concerning
    Krishna

    VV of Krishna wrote:
    Hello

    The following configuration will create the snapshot control file as RMAN.

    CONFIGURE SNAPSHOT CONTROLFILE NAME to 'product/10.2.0/dbs/snapcf_PROD.f '; # by default

    My question is how to restore the control file of this snapshot to another location.

    Concerning
    Krishna

    HI. You actually mingle a few questions. You cannot restore controlfile from this snapshot controlfile. Snapshot controlfile goal being the other. At the resynchronization with recovery catalog RMAN must snapshot controlfile. That means and this purpose. You can restore controlfile from automatic backup or backup (controlfile) compatible.

  • 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

  • CHECK CREATE CONTROL FILE

    Hai

    How to configure auditing for CREATE a FILE CONTROL?

    17:45:07 SQL > AUDIT CREATE CONTROL FILE;
    CHECK CREATE CONTROL FILE
    *
    ERROR on line 1:
    ORA-00969: missing ON the keyword

    What the above problem?

    Hello;

    It sounds like a question outside the Oracle (OS?). The listener newspapers could help.

    On your first question, I check the log of my test database alerts. It shows no creation of control files, but it sort of a chicken and the egg, with the database create.

    He shows some intelligence information:

    Mon Jan 02 05:38:59 2012
    alter database create standby controlfile as 'STANDBY.ctl'
    

    Current audits

    audit grant any object privilege;
    audit create session;
    audit alter user;
    audit create user;
    audit drop user;
    audit drop tablespace;
    audit grant any role;
    audit grant any privilege;
    audit alter system;
    audit alter session;
    audit delete on AUD$ by access;
    audit insert on AUD$ by access;
    audit update on AUD$ by access;
    audit delete table;
    audit create tablespace;
    audit alter database;
    audit create role;
    audit create table;
    audit alter any procedure;
    audit create view;
    audit drop any procedure;
    audit drop profile;
    audit alter profile;
    audit alter any table;
    audit create public database link;
    

    Best regards

    mseberg

    Published by: mseberg on July 7, 2012 07:35

  • The ORA-00200 control file could not be created in oracle under redhat linux

    with the creation of the database by using script under redhat linux I got following error. Anyone know not so please guide me.

    ORA-01501: CREATE DATABASE failed


    ORA-00200: control file could not be created


    ORA-00202: control file: ' / home/core/Databases/ControlFile/ctl2.dat'


    ORA-27040: create file error, cannot create the file


    Linux-x86_64 error: 2: no such file or directory

    Please check if the directories are present or not.

    CD/home/core/databases / ControlFile.

    If the directories are present, check for the permissions on the mountpoint.

    LS - ltr/home/core/Databases

    LS - ltr/home/core/Databases/ControlFile

    The permissions should be user and group name through which you create the controlfile.

    I hope that this information is sufficient. If the problem solved with this brand then kindly as correct answer later for others

  • installation quick error when creating the control file

    Hai all,

    I have faced the problem when im installing fresh ebs R12

    my environment:

    Sun sparc 64-bit

    Solaris 11

    This happens when I try to install R12 charge

    rapidwiz, the error ORA-00821 say: sga_target 1024M value is too small, must be at least 2100 m

    and when you create it control file does not,

    no idea is that with this problem?


    all prior references to doc:

    R12.1.1: Oracle eBusiness Suite Installation and Notes version upgrade 12 (12.1.1) for Oracle Solaris on SPARC (64-bit) (Doc ID 761568.1()


    the journal of details below

    Logfile located at /oracle/PROD/db/tech_st/11.1.0/appsutil/log/PROD_SMJKT-PRFND01/ApplyDatabase_11071358.log

    ^ M

    |      0% complete ^ M

    / 0% completed ^ M

    -0% complete ^ M

    ------0% complete RC-50004: Fatal: error in ApplyDatabase:

    Creating control files is not

    Cannot run configuration database using RapidClone

    RW-50010: error:-script returned an error: 1

    RW-50004: Error Code when you run the external process.  Check the log file for more details.

    Install the driver database for the PROD instance running

    Connect to an instance is idle.

    ORACLE instance stops.

    Connect to an instance is idle.

    ORA-00821: sga_target 1024M value is too small, must be at least 2100 m

    ORA-01078: failure in the treatment of system settings

    CREATE CONTROLFILE REUSE SET DATABASE "PROD".

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    Hello

    Please consult the following notes, because it deals with workarounds:

    R12.1.1: Oracle eBusiness Suite Installation and upgrade version Notes 12 (12.1.1) for Oracle Solaris on SPARC (64-bit) (Doc ID 761568.1)

    See article: known issues

    and

    ORA-00821 during create Controlfile in the ApplyDatabase Phase of the R12.1.1 Installation on Solaris (Doc ID 1116525.1)

    HTH!

    Thank you &

    Best regards

  • Creating a control file

    I have a question about the creation of a control file. If I want to create another control file, do I need to put values/paths of the control file in the CREATE CONTROLFILE statement?

    go in $ORACLE_HOME/dbs directory... you will find pfile/spfile.

  • Create the new database of complete hot RMAN, atrchivelog and backup control files

    Hi all

    I'm trying to create the new database U1234 of P1234 of full hot RMAN, atrchivelog and control P1234 file backup.

    Here are my steps

    (1) to restore the control file

    #! / bin/sh
    ORACLE_SID = P1234
    export ORACLE_SID
    RMAN nocatalog target / < < EOF | Tee restorecontrol.out
    startup nomount pfile=/u01/oradba/admin/U1234/scripts/restore/restore071009U1234/initP1234.ora;
    the value of DBID 6767676;
    run
    {
    allocate channel d1 type disk;
    controfile catering to ' / u02/oradba/U1234/control/P1234_control01.ctl';
    Restore controlfile to ' / orarman/restore/P1234/cf_P1234_c-00';
    change the editing of the database;
    }
    EXPRESSIONS OF FOLKLORE

    (2) database stop then restart the database with the new contraol file using pfile.

    (3) restore data files

    #! / bin/sh
    ORACLE_SID = P1234
    export ORACLE_SID
    RMAN nocatalog target / < < EOF | Tee restore_dbfiles.out
    Run {}
    the value of newname for datafile 1 to ' / u05/oradba/U1234/dbfile/U1234_system01.dbf';
    the value of newname for datafile 2 to ' / u05/oradba/U1234/dbfile/U1234_undotbs01.dbf';
    the value of newname for datafile 3 to ' / u05/oradba/U1234/dbfile/U1234_sysaux01.dbf';
    the value of newname for datafile 4 to ' / u06/oradba/U1234/dbfile/U1234_users_d01.dbf';
    the value of newname for datafile 5 to ' / u06/oradba/U1234/dbfile/U1234_tools_d01.dbf';
    the value of newname for datafile 6 to ' / u08/oradba/U1234/dbfile/U1234_audt_x01.dbf';
    the value of newname for datafile 7 to ' / u07/oradba/U1234/dbfile/U1234_audt_d01.dbf';
    the value of newname for datafile 8 to ' / u07/oradba/U1234/dbfile/U1234_audt_d02.dbf';
    the value of newname for datafile 9 to ' / u08/oradba/U1234/dbfile/U1234_lh_x01.dbf';
    restore the database;
    switch datafile;
    }
    EXPRESSIONS OF FOLKLORE


    ORA-27063: number of bytes read or written is incorrect
    SVR4 error: 28: no space is available on the device

    Now, I missed the space during the restoration of data files and want to restore remaining who is 3 and 4 of datafile datafile.

    Can you please let me know how I can restore it.

    I need to change the names of database after the successful restoration.

    DBVERSION 10.2.0.1
    operating system: solaris 10

    Thanks in advance.

    Hello..

    Do you have free space? If Yes, then you can try: -.

    RUN {}
    SET NEWNAME for DATAFILE 3 to ' / u05/oradba/U1234/dbfile/U1234_sysaux01.dbf';
    RESTORE THE 3 DATA FILE;
    DATAFILE 3 SWITCH;
    }

    [http://www.oracle-base.com/articles/9i/DBNEWID.php]

    Anand

Maybe you are looking for

  • HP7650 lack of choice of the printer

    Context: Network House (airport and wireless Ethernet) with a Mac Pro, iMac, MacBook and an older iPad. Everything works well with the latest updates installed. Until recently, our inkjet HP 7650 AIO (via Ethernet to the network hub) worked without p

  • M30-841: recognition of the external USB HARD disk

    Hello! My laptop is a M30-841, with Windows XP Home Edition SP2 (automatic updates). Note that there is no exotic software installed. I have a problem with an external hard drive purchased recently. It is in a USB 2.0 enclosure, connected by a cable

  • PC webcam - mirror image of the text shows on PC monitor

    I want to display the webcam image of a page of a book to my PC monitor. However, the image that is displayed is a mirror image of the text (left and right are reversed). Display the image exactly as it appears on the page of the book?   Thanks - Ric

  • Why don't show the splashscreen of my application?

    Hello everyone,I created my app under Windows XP (x 32), Eclipse, Luna (x 32), JDK 1.8 (x 32-version beta B116).When I run it, the splashscreen (preloader) appears!I rebuilt my application in Windows 7 (x 64), Eclipse, Luna x 64, JDK 1.8.0_20 (x 64).

  • Everyone figured out how Photoshop CC actually work fast?

    CC is the slower version, that I've had in 20 years!All the patches?