Creating standby on unpatched server

hi ,
I have primary db on oracle 9.2.0.8 with CPU April 2009 patch ,
can I create physical standby db on oracle home 9.2.0.8 without any patch ?
is that OK if I switch my primary db over to the non patched server ?
thanks
tapash

thanks for the input
I have issue when applying April CPU 2009 patch on new server, opened SR , working on this ......
I need to switchover to new server ASAP and the primary server to be released.
trying to find some workaround
thanks........
tcy

Similar Messages

  • Can we create standby database on same server as primary database

    I have Oracle 10g Rel2, OS Windows server 2003. Can I create standby database on same server on which we have our primary database?

    Bharat Kaushik wrote:
    I have VMware server s/w, do i need to create 2 virtual machines inside the one installation of VMware server? Or do i need to have 2 different installation of VMware server?You could think of VMWare Server in similar terms are Oracle Database Server.
    The HOME: The VMWare Server s/w is put into a "VMWare Home" (I use VMWare Workstation, it goes into C:\Program Files\VMware\VMware Workstation)
    The INSTANCE: WHen I create a VM Image, I specify the name (like a SID), configuration (like PFILE), and location (like ORACLE_BASE/oradata/ ...)
    And just like Oracle with which I can have 2 or more instances running on the host (if there is sufficient memory and other resource), I can have 2 or more VM Images running on my host.
    And just like Oracle, if I have insufficient resources, things get slow like molasses in the middle of winter.
    Hope your desktop has at least 4GB of OS-addressible RAM and at least dual-core CPU. ALternately ... I hope you have lots of coin for the coffee machine.

  • Getting error while creating standby database

    I am creating standby database in oracle 10.2 on windows (same machine)and getting following error.Could any one please suggest me on this.
    on primary database alert log file
    ================================================
    Error 1031 received logging on to the standby
    Fri Jul 17 18:09:23 2009
    Errors in file c:\oracle\product\10.2.0\admin\orcl\bdump\orcl_arc0_4512.trc:
    ORA-01031: insufficient privileges
    PING[ARC0]: Heartbeat failed to connect to standby 'IDR'. Error is 1031.
    ================================================
    my LISTENER file is as below
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = Orcl)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = Orcl)
    (SID_DESC =
    (GLOBAL_DBNAME = idr)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (SID_NAME = idr)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
    and tns file is as below
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    IDR =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Gaurav-PC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = IDR)
    )

    recreate the instance at standby database without password file
    oradim -new -IDR standby -startmode manual recreate password file at primary database , copy the same password file from primary database to standby database,also make sure primary database started with REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE parameter.
    Check also the primary database is able to tnsping to standby database.
    Khurram

  • Gating error while creating standby database in oracle 11g

    Dear Gurus
    I am getting following error while creating standby database. My database version is oracle 11g 11.2.0.1 in Redhat 5.2
    RMAN> duplicate target database for standby from active database;
    Starting Duplicate Db at 10-MAY-12
    using channel ORA_AUX_DISK_1
    contents of Memory Script:
    backup as copy reuse
    targetfile '/oracle/product/11.2.0/dbhome_1/dbs/orapworcl' auxiliary format
    '/oracle/product/11.2.0/dbhome_1/dbs/orapwstdb' ;
    executing Memory Script
    Starting backup at 10-MAY-12
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/10/2012 15:44:18
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/10/2012 15:44:18
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    ORA-17629: Cannot connect to the remote database server
    RMAN>
    Regards
    Rabi

    Hello;
    Generally for the connection to work you need to add something like this to the listener.ora file :
    (SID_DESC =
        (global_dbname = STANDBY.hostname)
        (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
        (sid_name = STANDBY)
    )You should stop and start the listener on the Standby after adding this. Also your tnsnames.ora must be correct on both the primary and the Standby.
    Also you need an INIT for the Standby side :
    STANDBY.__db_cache_size=343932928
    STANDBY.__java_pool_size=4194304
    STANDBY.__large_pool_size=4194304
    STANDBY.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    STANDBY.__pga_aggregate_target=281018368
    STANDBY.__sga_target=834666496
    STANDBY.__shared_io_pool_size=0
    STANDBY.__shared_pool_size=469762048
    STANDBY.__streams_pool_size=0
    audit_file_dest='/u01/app/oracle/admin/PRIMARY/adump'
    audit_trail='db'
    compatible='11.2.0.0.0'
    control_files='/u01/app/oracle/oradata/PRIMARY/control01.ctl','/u01/app/oracle/oradata/PRIMARY/control02.ctl'
    db_block_size=8192
    db_domain='SOME.DOMAIN.COM'
    db_flashback_retention_target=2880
    db_name='PRIMARY'
    db_recovery_file_dest_size=2147483648
    db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
    diagnostic_dest='/u01/app/oracle'
    dispatchers='(PROTOCOL=TCP) (SERVICE=PRIMARYXDB)'
    log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST'
    open_cursors=300
    pga_aggregate_target=277872640
    processes=150
    remote_login_passwordfile='EXCLUSIVE'
    sga_target=833617920
    undo_tablespace='UNDOTBS1'
    log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
    log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) '
    LOG_ARCHIVE_DEST_STATE_1=ENABLE
    LOG_ARCHIVE_DEST_STATE_2=DEFER
    LOG_ARCHIVE_MAX_PROCESSES=30
    FAL_SERVER=STANDBY
    STANDBY_FILE_MANAGEMENT=AUTO
    DB_UNIQUE_NAME=STANDBYFinally
    startup nomount
    Start RMAN and issue duplicate command
    $ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
    RMAN>duplicate target database for standby from active database NOFILENAMECHECK;
    Keys to success
    1. New Standby start NOMOUNT on new password file. ( On Oracle 11 you must copy and rename the file from Primary server )
    2. Hard coded listener on new Standby server.
    3. Correct tnsnames.ora files.
    4. Correct duplicate command.
    Please consider closing some of you old answered questions
    Best Regards
    mseberg
    Edited by: mseberg on May 10, 2012 7:06 AM

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

  • ORA-19505: failed to identify file - RMAN in creating standby DR database.

    I got this error when creating standby database at remote target server. 
    ORA-19505: failed to identify file "/backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-01"
    Here is what I did:
    1.   started the listener and created corresponding tnsnames entry at remote standyb server 
    2.  startup nomount to the standby database at remote server for an empty instance (instance name dxp1p).
    3.  All rman backups are in the /backup mount point at primary and the mount point is shared on the remote server as nfs.   So, whatever have in the backup we should be able to see and read from the remote as well.
    4.  Run the following at primary rman:
    sql 'alter system archive log current';
    backup current controlfile for standby;
    sql 'alter system archive log current';
    crosscheck backup;
    crosscheck archivelog all;
    exit
    5.   Start the rman  command from primary after connected to the standby server, as the primary DB uses ASM and the standby DB uses file system for the database files:
    RUN
    SET NEWNAME FOR DATAFILE 1 to '/u01/dxp1p/data/system01.dbf';
    SET NEWNAME FOR DATAFILE 2 to '/u01/dxp1p/data/sysaux01.dbf';
    SET NEWNAME FOR DATAFILE 3 to '/u01/dxp1p/data/undotbs01.dbf';
    SET NEWNAME FOR DATAFILE 4 to '/u01/dxp1p/data/users01.dbf';
    SET NEWNAME FOR DATAFILE 5 to '/u01/dxp1p/data/fxtntdata.dbf';
    SET NEWNAME FOR DATAFILE 6 to '/u01/dxp1p/data/fxtntindex.dbf';
    SET NEWNAME FOR DATAFILE 7 to '/u01/dxp1p/data/mlogs.dbf';
    SET NEWNAME FOR DATAFILE 8 to '/u01/dxp1p/data/dts.dbf';
    SET NEWNAME FOR DATAFILE 9 to '/u01/dxp1p/data/dxpsoa.dbf';
    SET NEWNAME FOR DATAFILE 10 to '/u01/dxp1p/data/expresso_ts.dbf';
    SET NEWNAME FOR DATAFILE 11 to '/u01/dxp1p/data/jms_ts.dbf';
    SET NEWNAME FOR DATAFILE 12 to '/u01/dxp1p/data/uup_ts.dbf';
    SET NEWNAME FOR DATAFILE 13 to '/u01/dxp1p/data/newpage_ts.dbf';
      ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
      ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
      DUPLICATE TARGET DATABASE for standby
    nofilenamecheck
    dorecover;
    ========================================================================
    But I got this error from the rman log:
    contents of Memory Script:
       set until scn  12245784375453;
       restore clone standby controlfile;
    executing Memory Script
    executing command: SET until clause
    Starting restore at 04-DEC-13
    channel aux1: starting datafile backup set restore
    channel aux1: restoring control file
    channel aux1: reading from backup piece /backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-01
    channel aux1: ORA-19870: error while restoring backup piece /backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-01
    ORA-19505: failed to identify file "/backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-01"
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup
    channel aux1: starting datafile backup set restore
    channel aux1: restoring control file
    channel aux1: reading from backup piece /backup/dxp1p/online/DXP1P_20131204_833310136_464
    channel aux1: ORA-19870: error while restoring backup piece /backup/dxp1p/online/DXP1P_20131204_833310136_464
    ORA-19505: failed to identify file "/backup/dxp1p/online/DXP1P_20131204_833310136_464"
    ORA-27037: unable to obtain file status
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup
    channel aux1: starting datafile backup set restore
    channel aux1: restoring control file
    channel aux1: reading from backup piece /backup/dxp1p/online/DXP1P_CF_c-2027711285-20131204-00
    channel aux1: ORA-19504: failed to create file "/oracle/product/11g/dbs/u02/dxp1p/control/control02.ctl"
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 2: No such file or directory
    Additional information: 1
    ORA-19600: input file is control file  (/u01/dxp1p/control/control01.ctl)
    ORA-19601: output file is control file  (/oracle/product/11g/dbs/u02/dxp1p/control/control02.ctl)
    Finished restore at 04-DEC-13
    contents of Memory Script:
       sql clone 'alter database mount standby database';
    executing Memory Script
    sql statement: alter database mount standby database
    released channel: aux1
    released channel: aux2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/04/2013 19:06:13
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of sql command on clone_default channel at 12/04/2013 19:06:13
    RMAN-11003: failure during parse/execution of SQL statement: alter database mount standby database
    ORA-00205: error in identifying control file, check alert log for more info
    =========================================
    Not sure why, can somebody help?   Appreciated!

    I used company regular script to login to standby instance as sys user from primary DB RMAN as oracle OS user and sys DB user.   We normally run this way for years.
    Like this:
    $ORACLE_HOME/bin/rman target=/ auxiliary 'sys/sys0rapr321!'@dxp1p_s11 CMDFILE=${HOME}/dba/scripts/rman_cr_dr.cmd
    rman_cr_dr.cmd:
    RUN
    SET NEWNAME FOR DATAFILE 1 to '/u01/dxp1p/data/system01.dbf';
    SET NEWNAME FOR DATAFILE 2 to '/u01/dxp1p/data/sysaux01.dbf';
    SET NEWNAME FOR DATAFILE 3 to '/u01/dxp1p/data/undotbs01.dbf';
    SET NEWNAME FOR DATAFILE 4 to '/u01/dxp1p/data/users01.dbf';
    SET NEWNAME FOR DATAFILE 5 to '/u01/dxp1p/data/fxtntdata.dbf';
    SET NEWNAME FOR DATAFILE 6 to '/u01/dxp1p/data/fxtntindex.dbf';
    SET NEWNAME FOR DATAFILE 7 to '/u01/dxp1p/data/mlogs.dbf';
    SET NEWNAME FOR DATAFILE 8 to '/u01/dxp1p/data/dts.dbf';
    SET NEWNAME FOR DATAFILE 9 to '/u01/dxp1p/data/dxpsoa.dbf';
    SET NEWNAME FOR DATAFILE 10 to '/u01/dxp1p/data/expresso_ts.dbf';
    SET NEWNAME FOR DATAFILE 11 to '/u01/dxp1p/data/jms_ts.dbf';
    SET NEWNAME FOR DATAFILE 12 to '/u01/dxp1p/data/uup_ts.dbf';
    SET NEWNAME FOR DATAFILE 13 to '/u01/dxp1p/data/newpage_ts.dbf';
      ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
      ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
      DUPLICATE TARGET DATABASE for standby
    nofilenamecheck
    dorecover;
    exit
    ==========================
    Oinstall is a group.   I am not sure to use oinstall as a user?

  • Problem with create standby by rman oracle9.2

    I have a problem: until create standby database by rman i have error:
    RMAN-03015: error occurred in stored script opomc_clone
    RMAN-03002: failure of Duplicate Db command at 02/18/2010 12:26:34
    RMAN-03015: error occurred in stored script Memory Script
    ORA-19587:
    ORA-27091: skgfqio:
    ORA-27072: skgfdisp:
    SVR4 Error: 5: I/O error
    Additional information: 349248
    The scripts are ok becouse they work earlier.
    The main database was a standby but now is primary.
    I create new standby base on remote server
    I have in bdump strange error for me until create rman copy for standby:
    Clearing standby activation ID 1004670785 (0x3be20f41)
    The primary database controlfile was created using the
    'MAXLOGFILES 5' clause.
    The resulting standby controlfile will not have enough
    available logfile entries to support an adequate number
    of standby redo logfiles. Consider re-creating the
    primary controlfile using 'MAXLOGFILES 8' (or larger).
    Use the following SQL commands on the standby database to create
    standby redo logfiles that match the primary database:
    ALTER DATABASE ADD STANDBY LOGFILE 'srl1.f' SIZE 409600000;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl2.f' SIZE 409600000;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl3.f' SIZE 409600000;
    ALTER DATABASE ADD STANDBY LOGFILE 'srl4.f' SIZE 409600000;
    Any suggestions?
    Sorry for my english :)
    Edited by: user12044451 on 2010-02-18 03:56

    can you use like this
    BACKUP DATABASE INCLUDE CURRENT CONTROLFILE FOR STANDBY PLUS ARCHIVELOG;startup nomount;
    duplicate target database for standby nofilenamecheck;
    in detail check
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmstand.htm#1000921

  • Creating standby database

    Hi
    I want create standby database in Oracle 10g.
    I can create standart database by using database configuration assistant.
    How can I create standby database in Oracle 10g?

    Hi,
    Standby databases, in a nutshell, acts as a failover for our mission critical production databases. When production database crashes, applications can quickly switchover to the stand by databases.
    What type of Standy you are willing to go for ??
    Physical Standby Database
    Standby database is called “physical” if the physical structure of stand by exactly matches with stand by structure. Archived redo log transferred from primary database will be directly applied to the stand by database.
    Logical Standby Database
    Stand by database is called “logical”, the physical structure of both
    databases do not match and from the archived redo log we create SQL statements then these statements will be applied to stand by database.
    Follow this link for creating standby database
    http://www.oracle-base.com/articles/8i/StandbyDatabase.php
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96653/create_ps.htm
    Thanks
    Pavan Kumar N

  • Create standby database using restore backup

    Hi,
    I am creating a standby database 11g using  manual process of restoring a backup , but to no avail. I can not even restore the backup successfully.
    This is the steps I followed (courtesy of ORACLE-BASE) ORACLE-BASE - Data Guard Physical Standby Setup in Oracle Database 11g Release 2
    I am confused about these steps:
    Copy the files from the primary to the standby server.
    Copy Standby controlfile to all locations.
    $ scp oracle@ol5-112-dga1:/tmp/db11g_stby.ctl /u01/app/oracle/oradata/DB11G/control01.ctl
    $ cp /u01/app/oracle/oradata/DB11G/control01.ctl /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl
    My question is, for the 2nd copy, do I need to shutdown the primary db? since control01.ctl is being updated all the time?
    Can I not used the standby ctl (db11g_stbg.ctl) and copy it to /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl instead?
    Your assistance is highly appreciated.

    f55237a7-2c38-4db3-a7a3-1d77256f0730 wrote:
    Hi,
    I am creating a standby database 11g using  manual process of restoring a backup , but to no avail. I can not even restore the backup successfully.
    This is the steps I followed (courtesy of ORACLE-BASE) ORACLE-BASE - Data Guard Physical Standby Setup in Oracle Database 11g Release 2
    I am confused about these steps:
    Copy the files from the primary to the standby server.
    Copy Standby controlfile to all locations.
    $ scp oracle@ol5-112-dga1:/tmp/db11g_stby.ctl /u01/app/oracle/oradata/DB11G/control01.ctl
    $ cp /u01/app/oracle/oradata/DB11G/control01.ctl /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl
    My question is, for the 2nd copy, do I need to shutdown the primary db? since control01.ctl is being updated all the time?
    Can I not used the standby ctl (db11g_stbg.ctl) and copy it to /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl instead?
    Your assistance is highly appreciated.
    Hi,
    You are created standby  control file on primary and copied to standby  side:
    $ scp oracle@ol5-112-dga1:/tmp/db11g_stby.ctl /u01/app/oracle/oradata/DB11G/control01.ctl
    And now, in paramter files, you have CONTROL_FILES parameter as below :
    control_files='/u01/app/oracle/oradata/DB11G/control01.ctl', '/u01/app/oracle/fast_recovery_area/DB11G/control02.ctl'
    it means you must copy controlfile IN standby side to second control file. Control  files must be same.
    $ cp /u01/app/oracle/oradata/DB11G/control01.ctl /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl
    My question is, for the 2nd copy, do I need to shutdown the primary db? since control01.ctl is being updated all the time?
    You not need shutdown priamry database, becuase you  copied standby control file to standby side, and all operations goin in standby side.
    Can I not used the standby ctl (db11g_stbg.ctl) and copy it to /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl instead?
    Yes, you can use (db11g_stbg.ctl)  standby controlfile
    Regard
    Mahir M. Quluzade

  • Create standby database on 11gR2 standard edition one

    Hi experts,
    i want to create standby database on 11gR2 standard edition one on both environment linux to linux and window to window. i have invested my 4-5 days on that but i didn't able to create, due to standard edition. plz provide me step by step creation. it wil bel great help.....
    Thanks and Regards
    Sanchit Gupta

    SANCHIT GUPTA  wrote:
    Hi experts,
    i want to create standby database on 11gR2 standard edition one on both environment linux to linux and window to window. i have invested my 4-5 days on that but i didn't able to create, due to standard edition. plz provide me step by step creation. it wil bel great help.....
    Did you have a look at the dataguard docs,
    http://docs.oracle.com/cd/E11882_01/server.112/e10700/standby.htm#i72073
    Which has this mentioned quite clearly,
    >
    Oracle Data Guard is available only as a feature of Oracle Database Enterprise Edition. It is not available with Oracle Database Standard Edition.
    Note:
    It is possible to simulate a standby database environment with databases running Oracle Database Standard Edition. You can do this by manually transferring archived redo log files using an operating system copy utility or using custom scripts that periodically send archived redo log files from one database to the other. The consequence is that this configuration does not provide the ease-of-use, manageability, performance, and disaster-recovery capabilities available with Data Guard>
    So if you want to have data guard, use Enterprise Edition.
    Aman....

  • How to create standby controlfile from restored backup

    Hi Techies,
    I am re-building one of my DR server, Source and target DB is oracle 10g.
    I have taken the source backup which is going to be restored on target, But I forgot to take a standby controlfile from source DB at the time (Pre/Post) backup.
    Now the issue is I can create a standby controlfile on primary and copy the same to target, But so many datafiles are added after the backup which I have taken to restore and medias are already shipped.
    I can send the other set of backup to DR site, but it takes a week time and I don't want to do that If I can regenerate it.
    So any clue to create standby controlfile on target with restored datafiles?
    Regards,
    Nick Loy

    Hmm... sounds like you perform this in a rather manual fashion...
    Do you use RMAN for taking the backups?
    Or maybe the BR*TOOLS?
    With these tools you are usually safe from such mistakes - I can only recommend to use them!
    However, since you don't have a control file at all on the target side, the only thing left to do would be to
    ALTER DATABASE BACKUP CONTROLFILE TO TRACE NORESETLOGS;
    on the primary side and manually remove the files that have been added since you took the backup from the control file script,
    Afterwards you use the script on the standby side to create the control files.
    regards,
    Lars

  • Problem when create standby database

    hello,
    I have two server(NT4.0,SP6) installed Oracle 8i(8.1.6 Enterprise) at the same directory.I want one as the primary database,another one as the standby database.
    The two database have the same SID,use SQL*Plus it can access each other.
    My operating steps as below:
    1.on primary server:
    1)connect internal;
    2)shutdown immediate;
    3)copy all datafiles(*.DBF) to a backup directory;
    4)startup
    5)alter database create standby controlfile as 'd:\oracle\ora81\ILLDB\standby.ctl'
    6)alter system archive log current
    2.on standby server:
    1)copy all backuped datafile,standby.ctl,all redo log files from primary server to standby server,overwrite all same name files;
    2)modify the init.ora,add this parameter:
    "standby_archive_dest = "location=D:\Oracle\oradata\ILLDB\archive" ";
    3)statup oracle service in Service control manel;
    4)run svrmgrl.exe;
    5)startup nomount;
    6)alter database mount standby database;
    then a error message appear:
    "ORA-01665 controlfile is not a standby controlfile".
    I don't know which step is mistake.Please tell me correct steps.
    Thanks

    I did face the similar problem while trying to create and startup a clone database for Point in Time Recovery (PITR). The error message is
    ORA-01696 controlfile is not a clone controlfile
    Are you folks have any idea how do I resolve this problem?? Is there any way to create clone control file??

  • How to create standby database by using duplicate

    Dear all,
    How to create standby database by using duplicate,is there some doc to read?

    Hi;
    You can use
    Step-By-Step Guide To Create Physical Standby On Normal File System For ASM Primary using RMAN [ID 838828.1]
    Creating Physical Standby using RMAN Duplicate Without Shutting down The Primary [ID 789370.1]
    Also use goole, there are many blog-site-dogs mention that topic. From googling:
    Creating a Standby Database with Recovery Manager
    http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmdupdb.htm
    http://www.pythian.com/news/248/recipes-for-creating-a-managed-standby-with-rman/
    http://docs.oracle.com/cd/B19306_01/server.102/b14239/rcmbackp.htm
    Regard
    Helios

  • How to create standby database

    Hi,
    How to create standby database, in other server.

    Mariappan wrote:
    Hi,
    How to create standby database, in other server.There are lots of docs available on net.
    Try the below link...
    http://neeraj-dba.blogspot.com/2011/06/standby-database-in-oracle-11g.html
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Creating Standby Database / Steps might be missing..

    I have created standby database..
    The archives are copied except one archived log and those copied archived are not applied at Standby database.
    Besides this issue, I just checked the alert log file and pasting its contents here.
    Do check it and let me know If I m missing any paramter[s].
    Dump file c:\oracle\product\10.2.0\admin\rockstd\bdump\alert_rockstd.log
    Mon May 12 15:23:42 2008
    ORACLE V10.2.0.1.0 - Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Windows XP Version V5.1 Service Pack 2
    CPU : 2 - type 586
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:1194M/2038M, Ph+PgF:1368M/2641M, VA:1940M/2047M
    Mon May 12 15:23:42 2008
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    processes = 150
    sga_target = 167772160
    control_files = C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\ROCKSTD.CTL
    db_block_size = 8192
    compatible = 10.2.0.1.0
    log_archive_dest_1 = location=C:\oracle\product\10.2.0\oradata\rockstd\Archive_rock
    log_archive_dest_state_1 = ENABLE
    log_archive_format = arc_%s_%t_%r.arc
    fal_client = ROCKSTD
    fal_server = ROCK
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = C:\oracle\product\10.2.0\flash_recovery_area\rockstd
    db_recovery_file_dest_size= 2147483648
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=rockXDB)
    job_queue_processes = 10
    audit_file_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ROCKSTD\ADUMP
    background_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ROCKSTD\BDUMP
    user_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ROCKSTD\UDUMP
    core_dump_dest = C:\ORACLE\PRODUCT\10.2.0\ADMIN\ROCKSTD\CDUMP
    db_name = rock
    db_unique_name = rockstd
    open_cursors = 300
    pga_aggregate_target = 16777216
    PMON started with pid=2, OS id=3656
    PSP0 started with pid=3, OS id=504
    MMAN started with pid=4, OS id=2544
    DBW0 started with pid=5, OS id=3652
    LGWR started with pid=6, OS id=552
    CKPT started with pid=7, OS id=2688
    SMON started with pid=8, OS id=3436
    RECO started with pid=9, OS id=3696
    CJQ0 started with pid=10, OS id=1636
    MMON started with pid=11, OS id=2072
    MMNL started with pid=12, OS id=3812
    Mon May 12 15:23:43 2008
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Mon May 12 15:24:06 2008
    alter database mount standby database
    Mon May 12 15:24:11 2008
    Setting recovery target incarnation to 14
    ARCH: STARTING ARCH PROCESSES
    ARC0 started with pid=16, OS id=3536
    Mon May 12 15:24:11 2008
    ARC0: Archival started
    ARC1 started with pid=17, OS id=4084
    Mon May 12 15:24:12 2008
    ARC1: Archival started
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Mon May 12 15:24:12 2008
    ARC1: Becoming the 'no FAL' ARCH
    ARC1: Becoming the 'no SRL' ARCH
    ARC1: Thread not mounted
    Mon May 12 15:24:12 2008
    Successful mount of redo thread 1, with mount id 3275426006
    Mon May 12 15:24:12 2008
    Physical Standby Database mounted.
    Mon May 12 15:24:13 2008
    ARC0: Becoming the heartbeat ARCH
    Completed: alter database mount standby database
    Mon May 12 15:25:02 2008
    Using STANDBY_ARCHIVE_DEST parameter default value as C:\oracle\product\10.2.0\oradata\rockstd\Archive_rock
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[1]: Assigned to RFS process 3444
    RFS[1]: Identified database type as 'physical standby'
    Mon May 12 15:25:02 2008
    RFS LogMiner: Client disabled from further notification
    Mon May 12 15:25:21 2008
    db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Mon May 12 15:26:19 2008
    alter database add standby logfile 'C:\oracle\product\10.2.0\oradata\rockstd\redo04.log' size 50m
    Mon May 12 15:26:20 2008
    Completed: alter database add standby logfile 'C:\oracle\product\10.2.0\oradata\rockstd\redo04.log' size 50m
    Mon May 12 15:26:27 2008
    alter database add standby logfile 'C:\oracle\product\10.2.0\oradata\rockstd\redo05.log' size 50m
    Completed: alter database add standby logfile 'C:\oracle\product\10.2.0\oradata\rockstd\redo05.log' size 50m
    Mon May 12 15:26:33 2008
    alter database add standby logfile 'C:\oracle\product\10.2.0\oradata\rockstd\redo06.log' size 50m
    Mon May 12 15:26:34 2008
    Completed: alter database add standby logfile 'C:\oracle\product\10.2.0\oradata\rockstd\redo06.log' size 50m
    Mon May 12 15:27:20 2008
    alter database recover managed standby database disconnect from session
    MRP0 started with pid=19, OS id=596
    Managed Standby Recovery not using Real Time Apply
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_dbw0_3652.trc:
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_dbw0_3652.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\UNDOTBS01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_dbw0_3652.trc:
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSAUX01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_dbw0_3652.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\TESTING1.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_dbw0_3652.trc:
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM03.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_dbw0_3652.trc:
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\ABAMCO_TEST01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    MRP0: Background Media Recovery terminated with error 1110
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_mrp0_596.trc:
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
    Mon May 12 15:27:26 2008
    Errors in file c:\oracle\product\10.2.0\admin\rockstd\bdump\rockstd_mrp0_596.trc:
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\SYSTEM01.DBF'
    Mon May 12 15:27:27 2008
    Completed: alter database recover managed standby database disconnect from session
    Mon May 12 15:30:18 2008
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[2]: Assigned to RFS process 2456
    RFS[2]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Mon May 12 15:30:22 2008
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[3]: Assigned to RFS process 3124
    RFS[3]: Identified database type as 'physical standby'
    RFS[3]: Successfully opened standby log 5: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO05.LOG'
    Mon May 12 15:53:45 2008
    RFS[3]: Successfully opened standby log 5: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO05.LOG'
    Mon May 12 15:53:46 2008
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Mon May 12 15:53:58 2008
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Mon May 12 16:00:06 2008
    RFS[3]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Mon May 12 16:00:09 2008
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Mon May 12 16:00:14 2008
    RFS[3]: Successfully opened standby log 5: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO05.LOG'
    Mon May 12 16:00:18 2008
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[2]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCKSTD\REDO04.LOG'
    Regards,
    Rakesh Soni.

    Done, I've given the same path in Standby Database [datafiles, controlfiles] as it has been given in the Primary Database.
    MoreOver, I m manually switching logfiles at primary database [alter system switch logfile] they are copied and applied sucessfully at standby database. But the archived files that I have copied with cold backup are not applied yet. Infact they are not retrieved executing the below query.
    select name, applied from v$archived_log;
    How can I apply those archived logs? [archives that copied with cold backup]
    Regards.

Maybe you are looking for