To create standby database using oracle 10g standared edition

my producation database is oracle 10G standard edition .Can i implement a oracle dataguard or standby database using standard edition licenses.if standby database is possiable in standard edition .what are the steps for creating a standby database using oracle 10g standard edition.

General answer is http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/editions.htm#BABJICBB.
For Data Guard you cannot :
- use instance parameters to automatically send archived redo logs
- use instance parameters to resolve archived redo logs gaps
- create a logical standby
- use SQL statements to do switchover / failover
- use Data Guard Broker.

Similar Messages

  • Can i create a standby database in oracle 10g standared edition ?

    what are the steps required for creating a standby database using oracle 10g standard edition. or Any other feature for mirroring database in oracle 10g standared edition

    Dear mithun,
    Please read the following online documentation;
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14239/standby.htm
    +"+
    +2.3.2 Oracle Software Requirements+
    +The following list describes Oracle software requirements for using Data Guard:+
    +* Oracle Data Guard is available only as a feature of Oracle Database Enterprise Edition. It is not available with Oracle Database Standard Edition. This means the same release of Oracle Database Enterprise Edition must be installed on the primary database and all standby databases in a Data Guard configuration.+
    +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.+
    +"+
    Hope That Helps.
    Ogan

  • How to create a new DataBase using Oracle 10g Express Edition???

    Hello, I am new to Oracle, I am used to Microsoft SQL Server (Enterprise Manager).
    Here in Oracle I do not get how do I create a DataBase, and then create tables on it.
    could anyone please explain to me how to do it?

    A SQL Server database is roughly equivalent to an Oracle schema.
    You should rarely need to create a new database. If you do need to create a database, get a 'for fee' edition of Oracle and use the dbca tool (Database Configuration Assistant) to do that. In fact, you are only allowed to have one XE database on the machine.
    However, you can create as many schemas in an existing Oracle database as you need. (One schema, owned by userid SYS, is roughly equal to your 'master catalog'.)
    You can create other schemas simply by
    1) creating a userid that will own the schema (one designated for maintenance of the schema);
    2) grant that userid appropriate privileges, such as 'CREATE TABLE', 'CREATE VIEW' as shown in the SQL Reference manual under the GRANT section;
    3) provide that userid with a quota in one or more tablespaces (see the CREATE USER command in the SQL Reference manual);
    4) create the objects, such as tabels, views, sequences, stored procs and functions, etc. (as in the SQL Reference manual);
    5) create the users who will access the objects, and grant them the CREATE SESSION capability (as in the SQL Reference manual);
    6) grant access (select, update, execute, etc.) on the schema objects to these users (as in the SQL Reference manual);
    7) if desired, create synonyms on the schema objects so the users do not need to use fully qualified syntax such as "SELECT col FROM schema.table;" (as in the SQL Reference manual).
    In case you are interested in looking at the SQL Reference manual, it can be found at http://www.oracle.com/pls/db102/portal.portal_db?selected=1 ;-)

  • Creation of Standby Database on Oracle 10g Standard Edition

    Hi Gurus,
    Can anyone let me know how to create physical standby database on Oracle 10.2.0.1(Standard Edition). I am using the Fedora7(32-bit) machine. Can anyone please send me some documentation on how to create.
    Thanks in advance.
    Thanks & Regards,
    Farooqui.

    How to create physical standby database without dataguard

  • Standby Database on Oracle 10g Standard Edition ?

    Hi All,
    Is it possible to do Oracle Stand By Database on Oracle 10g SE ?
    I read somewhere in this group that we can do standby database even in SE by writing a script that copy the archive log to the secondary server.
    Is this approach reliable enough to be done in production ?
    Does anybody have sample of the script ?
    Thank you for your help,
    xtanto

    Hi,
    Well, I think I'd beter put the scripts right there. Remember, they have been tested under MY environment, using MY releases, MY O.Ses. It's up to you to check whether the're valid for you. They are provided as is, for sample.
    There are 4 files:
    . generic.sh : you can duplicate this file in order to set up as many standby as needed, etc. It calls other scripts in order to:
    . archivemove.sh : Get the archived redo logs to the standby host
    . recover.sh : Synch the standby
    . getrecid.sql : get the maximum progess point on the Manual Standby (used by archivemove.sh)
    These scripts are used from the standby host. Remember to throughly check it before relying on it for production.
    generic.sh
    #!/bin/sh
    # Be sure environment variable are set. If not, then it might fail!
    # These environment variables are those for the Manual Physical Standby host
    export ORACLE_HOME=/logical/oracle/Ora9i
    export ORACLE_BASE=/logical/oracle
    export ORACLE_STANDBY=tns_alias
    export ORACLE_STANDBY_SYSDBA_PASS=change_on_install
    export PATH=$ORACLE_HOME/bin:$PATH
    export SOURCE_HOST=primary_host
    export SOURCE_DRIVE=/primary/absolute/path/to/archived/redo/logs
    export LOCAL_ARC_PARTH=/path/to/logical/archive/dest
    # Check the date command usage depending on the platform
    dateexec=`date "+%Y-%m-%d-%H-%M"`
    # copy archived redo logs from main database
    archivemove.sh > $dateexec.generic.log
    # recover/sync the Manual Standby Database
    recover.sh >> $dateexec.generic.log
    archivemove.sh
    #!/bin/sh
    echo ----------------------------------------------------------------
    echo ----------------------------------------------------------------
    echo Get what log has last been applied to: $ORACLE_STANDBY
    echo ----------------------------------------------------------------
    sqlplus /nolog @getrecid.sql $ORACLE_STANDBY
    echo ----------------------------------------------------------------
    maxval=`tail -1 recid.log`
    echo maxval=$maxval
    rm recid.log
    echo ----------------------------------------------------------------
    # Check source drive to see what we're missing locally (source = primary)
    for filename in `remsh $SOURCE_HOST 'ls $SOURCE_DRIVE' | sort`
    do
         # get archive number.
         # WARNING here I'm based on MY archived redo log name format! Put yours for the cut
         filename_parsed=`echo $filename | cut -c12-16`
         # Check if the number is after the last one applied to standby
         if [ $filename_parsed -gt $maxval ]
         then
              # grab it!
              echo $filename
              rcp $SOURCE_HOST:$SOURCE_DRIVE/$filename $LOCAL_ARC_PARTH
         fi
    done
    echo ----------------------------------------------------------------
    echo Removing old files
    echo ----------------------------------------------------------------
    # Check in local directory
    for filename in `ls $LOCAL_ARC_PATH | sort`
    do
         # WARNING again about filename format
         filename_parsed=`echo $filename | cut -c12-16`
         # Check the arc number...
         if [ $filename_parsed -lt `expr $maxval - 15` ]
         then
              # Delete it!
              echo $filename
              rm -f $LOCAL_ARC_PATH/$filename
         fi
    done
    echo ----------------------------------------------------------------
    echo end archivemove.sh
    echo ----------------------------------------------------------------
    recover.sh
    #!/bin/sh
    echo ----------------------------------------------------------------
    echo Traitement de la base $ORACLE_STANDBY
    echo ----------------------------------------------------------------
    sqlplus /nolog << EOF
    connect sys/$ORACLE_STANDBY_SYSDBA_PASS@$ORACLE_STANDBY as sysdba
    SELECT MAX(RECID) "Log id now" FROM V\$LOG_HISTORY;
    RECOVER AUTOMATIC DATABASE UNTIL CANCEL USING BACKUP CONTROLFILE
    CANCEL
    SELECT MAX(RECID) "Log id after recover" FROM V\$LOG_HISTORY;
    exit;
    EOF
    echo ----------------------------------------------------------------
    echo End of recovery process
    echo ----------------------------------------------------------------
    getrecid.sql
    connect sys/change_on_install@&1 as sysdba
    SET HEAD OFF FEEDBACK OFF VERIFY OFF TERMOUT ON ECHO OFF TRIMSPOOL ON SERVEROUTPUT OFF
    SPOOL recid.log
    SELECT MAX(RECID) FROM V$LOG_HISTORY;
    SPOOL OFF
    exitHTH building your own scripts.
    Yoann.

  • Create an Object in Logical standby database in Oracle 10G

    Hi,
    I have logical standby database in oracle 10g R2 for reporting purpose.Now i want to create procedure in logical standby which is use to create new temp table in logical standby and contained data generated from select operation on existing table.
    Can i create a new user in logical standby database,add new tablespace in logical standby which can insert,update and delete data in standby database base table?
    kindly provide me the steps to implement all this.What will be effect if i set guard_Status in v$database is NONE in logical standby?
    Thanks,
    Shital Patel

    Hi Shital,
    Guard_status protects the data from being changed.
    ALL- By default it is not possible for a non-privileged user to modify data on a data guard SQL apply database. This is because the database guard is automatically set to ALL.
    With this level of security, only SYS user can modify the data.
    STANDBY- When you set this level of security, users are able to modify data that is not maintained by the Logical apply engine.
    NONE permits any users to access the standby database as long as they have correct privileges. This is the normal security for all data in the database.
    You can change the guard status value from ALL to NONE in order to allow non-privileged users to modify data and Yes you can create user and extra tablespace in logical standby database..this is what the one of advantage of using Logical standby database.
    SQL> ALTER DATABASE GUARD NONE;
    Thanks

  • Why i can't not create new database in oracle 10g express

    why i can't not create new database in oracle 10g express?
    should i use oracle 11g standard edition?
    thanks

    In Oracle a schema is what a 'database' is in Sqlserver.
    And if you would have been aware about the limitations of XE, you would have known you can only create *1* (one) database using Oracle XE.
    However, probably you don't need a new database at all, and a schema will suffice.
    Sybrand Bakker
    Senior Oracle DBA

  • How to create new database on Oracle 10g

    Hi All,
    Can any one tell me how to create new database on oracle 10g.
    Thanks in Advance for your help.

    again some confusion here.....
    u said u need a new database in your first post and now you saying u need a new schema..
    one database has many schemas(users)..... ex: scott,sys,system are few of them...
    now it depends you need seperate database for test,dev environment - this is in the case u have many schemas under each database and many tables(objects) under each schema.
    OR
    You just need a separate schema (in same db) for test,dev environment...where in you will have multiple tables in each schema...U need to know the dba credentials of the db to create a new schema.
    ideally u need to have different database...You can create one with out sys/system(oracle users) password as these passwords are db dependent.
    what you need is access to the any machine where server is installed(can be the same mc where you have your dev db or a diff machine) and that will be the machine where your db will be installed (can do it through database configuration assistance),ofcourse you will need windows authentication for this.
    so you login to the same machine or access it from your machine using remote login.
    I hope that is clear.Hope i am not listing things that you already know..Just did it coz of confusion between db and schema
    Message was edited by:
    coolguy

  • Creating a Database with Oracle 10 Express Edition

    Hello,
    I had installed Oracle Database 10g Express Edition whith linux, fedora core 4.
    I want to create a new database with Oracle 10g Express Edition. How can i do this?
    I know that Orcale 10g express edition have only one Database which is installed by default sid 'XE', but my database must have another name.
    Thanks.

    Really you need to change database name ?
    Oracle 10g Espress Edition and change ORACLE_SID

  • Installing Discoverer with Database Version Oracle 10g Express Edition

    Hello,
    Is it possilbe to install Discoverer with database version Oracle 10g Express Edition? I have Oracle Fusion Middleware 11.1.1.1.0 on my Windows XP machine as well. If so, can someone please provide me a link to the Discoverer download.
    Regards,
    Kelly

    Note that the Personal Edition of the database is 'the most powerful' version, in that it contains all features and options of the Enterprise Edition (expect RAC and Enterprise Manager packs)
    As such, the Personal Edition, at a mere USD$400-500 is one of the most cost effective for-fee products that Oracle has in it's inventory. It is targeted at the developer. And it comes with the complete set of Sample Data, whereas XE has a very limited subset (since it does not support all functionality).
    Express Edition is indeed free, but it is not supported, and can not be patched. OTOH it does have a lighter footprint.
    Again, I am not sure whether Disco 11g is compatible with Express Edition. (It's on my schedule for December ...)

  • Error while creating physical standby database using Oracle Grid 10.2.0.5

    Hi All,
    I am setting up data guard using oracle grid.
    Primary database version: - 10.2.0.4
    Standby database version: - 10.2.0.4
    Primary OS Red Hat Enterprise Linux AS release 4 (Nahant Update 8)2.6.9
    Standby OS Red Hat Enterprise Linux AS release 4 (Nahant Update 8)2.6.9
    I am creating physical standby database using EM. But it is getting failed with error message in sqlnet.ora file
    Fatal NI connect error 12533, connecting to:
    (DESCRIPTION=(ADDRESS_LIST=)(CONNECT_DATA=(SERVICE_NAME=INPRDSB_XPT)(SERVER=dedicated)(CID=(PROGRAM=oracle)(HOST=indb50.oii.com)(USER=oracle))))
      VERSION INFORMATION:
            TNS for Linux: Version 10.2.0.4.0 - Production
            TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.4.0 - Production
      Time: 17-AUG-2010 02:40:07
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12533
        TNS-12533: TNS:illegal ADDRESS parameters
        ns secondary err code: 0
        nt main err code: 0
        nt secondary err code: 0As we can see, address_list is empty.
    Can anyone suggest what could be the reason behind this?

    Dear user13295317,
    Here is the error explanation;
    Oracle Error :: TNS-12533
    TNS:illegal ADDRESS parameters
    Cause
    An illegal set of protocol adapter parameters was specified.
    In some cases, this error is returned when a connection cannot be made to the protocol transport.
    Action
    Verify that the destination can be reached using the specified protocol.
    Check the parameters within the ADDRESS section of TNSNAMES.ORA.
    Legal ADDRESS parameter formats may be found in the Oracle operating system specific documentation for your platform.
    Protocols that resolve names at the transport layer (such as DECnet object names) are vulnerable to this error if not properly configured or names are misspelled.Hope That Helps.
    Ogan

  • Creating Standby database in OEM 10g

    DB = Oracle 10.2.0.4
    OS = Solaris 10 Sparc
    I am trying to create a physical standby database using the add standby database option within OEM 10g. This is something we have done numerous times before on 10g and 11g db's without a single issue, but for some reason, this time after selecting my RMAN backup location and staging area location , I am getting the following error when I click Next:
    RMAN Backup Location - The specified RMAN backup is invalid. Could not identify controlfile from the backup
    It is the latest backup (using RMAN catalog) from the previous evening and includes datafiles and control file.
    Here is the output for List backup:
    BS Key Size Device Type Elapsed Time Completion Time
    1741586 7.70G DISK 00:03:26 06-DEC-12
    BP Key: 1741590 Status: AVAILABLE Compressed: NO Tag: TAG20121206T220033
    Piece Name: /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4811_1.bus
    List of Archived Logs in backup set 1741586
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 20013 7974703107 04-DEC-12 7974865046 04-DEC-12
    1 20014 7974865046 04-DEC-12 7975209322 05-DEC-12
    1 20015 7975209322 05-DEC-12 7975792781 05-DEC-12
    1 20016 7975792781 05-DEC-12 7975841363 05-DEC-12
    1 20017 7975841363 05-DEC-12 7976016507 05-DEC-12
    1 20018 7976016507 05-DEC-12 7976577946 06-DEC-12
    1 20019 7976577946 06-DEC-12 7976685352 06-DEC-12
    1 20020 7976685352 06-DEC-12 7976816259 06-DEC-12
    1 20021 7976816259 06-DEC-12 7976884597 06-DEC-12
    1 20022 7976884597 06-DEC-12 7977236969 06-DEC-12
    1 20023 7977236969 06-DEC-12 7978009499 06-DEC-12
    1 20024 7978009499 06-DEC-12 7978784609 06-DEC-12
    1 20025 7978784609 06-DEC-12 7979558556 06-DEC-12
    1 20026 7979558556 06-DEC-12 7980614921 06-DEC-12
    1 20027 7980614921 06-DEC-12 7981238045 06-DEC-12
    1 20028 7981238045 06-DEC-12 7981890156 06-DEC-12
    1 20029 7981890156 06-DEC-12 7982119933 06-DEC-12
    1 20030 7982119933 06-DEC-12 7982775834 06-DEC-12
    1 20031 7982775834 06-DEC-12 7983388279 06-DEC-12
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1741587 Full 214.09G DISK 01:15:15 06-DEC-12
    List of Datafiles in backup set 1741587
    File LV Type Ckp SCN Ckp Time Name
    1 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/system01.dbf
    2 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/undotbs01.dbf
    3 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/sysaux01.dbf
    4 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/large_indexes01.dbf
    5 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/large_indexes02.dbf
    6 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/large_indexes03.dbf
    7 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/large_tables01.dbf
    8 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/large_tables02.dbf
    9 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/large_tables03.dbf
    10 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/small_tables01.dbf
    11 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/small_tables02.dbf
    12 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/small_tables03.dbf
    13 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/small_tables04.dbf
    14 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/medium_tables01.dbf
    15 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/medium_tables02.dbf
    16 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/medium_tables03.dbf
    17 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/small_indexes01.dbf
    18 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/medium_indexes01.dbf
    19 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/tools01.dbf
    20 Full 7983402310 06-DEC-12 /oracle/oradata/care/carelive/data/small_indexes02.dbf
    Backup Set Copy #1 of backup set 1741587
    Device Type Elapsed Time Completion Time Compressed Tag
    DISK 01:15:15 06-DEC-12 NO TAG20121206T220415
    List of Backup Pieces for backup set 1741587 Copy #1
    BP Key Pc# Status Piece Name
    1741591 1 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_1.bus
    1741592 2 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_2.bus
    1741593 3 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_3.bus
    1741594 4 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_4.bus
    1741595 5 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_5.bus
    1741596 6 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_6.bus
    1741597 7 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_7.bus
    1741598 8 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_8.bus
    1741599 9 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_9.bus
    1741600 10 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_10.bus
    1741601 11 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_11.bus
    1741602 12 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_12.bus
    1741603 13 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_13.bus
    1741604 14 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_14.bus
    1741605 15 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_15.bus
    1741606 16 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_16.bus
    1741607 17 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_17.bus
    1741608 18 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_18.bus
    1741609 19 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_19.bus
    1741610 20 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_20.bus
    1741611 21 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_21.bus
    1741612 22 AVAILABLE /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4812_22.bus
    BS Key Size Device Type Elapsed Time Completion Time
    1741658 104.19M DISK 00:00:04 06-DEC-12
    BP Key: 1741679 Status: AVAILABLE Compressed: NO Tag: TAG20121206T231939
    Piece Name: /carebackup/oradata/CARELIVE/carelive/backup/df_CARELIVE_4813_1.bus
    List of Archived Logs in backup set 1741658
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 20032 7983388279 06-DEC-12 7983637536 06-DEC-12
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1741702 Full 7.33M DISK 00:00:02 06-DEC-12
    BP Key: 1741704 Status: AVAILABLE Compressed: NO Tag: TAG20121206T231950
    Piece Name: /carebackup/oradata/CARELIVE/carelive/backup/ctlc-3640364239-20121206-00
    Control File Included: Ckp SCN: 7983638867 Ckp time: 06-DEC-12
    SPFILE Included: Modification time: 06-DEC-12
    The only difference between creating a standby for this db and others we have created is that the file system the backups are stored on is on a non-global zone shared via nfs mount.
    I know that when I try and share that filesystem with other servers I get the message:
    share_nfs: Cannot share filesystems in non-global zones
    If the /backup filesystem is not shared with any other servers would OEM be able to read from that NGZ? The filesystem is available to connect to using ssh from other locations, but not sure how OEM handles this part of the process.
    Any advice would be great.
    Regards,
    JP

    Thanks for the reply. I thought that is what I would need to do. However this link is very useful and could resolve the issue. I have yet to raise it with the system admin guys here yet but will do and will report back on outcome.
    http://faizsulaiman.com/mount-nfs-solaris-non-global-zone/

  • 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 using data guard.

    Current Env:
    Oracle 11.2.0.1
    ASM
    Size 1.7T and growing.
    I'm rebuilding a standby database and need to use rman because of a few factors. In the past, I did a file copy create a standby control file config init.ora and it always worked.
    We have a database and had the stanby build; but someone issued a flashback and corrupted the standby database.
    Because of the size 1.7T and growing and we are now using ASM.
    My research is only showing building standby through rman using dupicate database command.
    I would like to copy the cold backup to a external drive and ship it to the standby site where I'll do the restore. This is because of time and bandwith required to rebuild the standby will interfere with operaitions for the period the files are being copied.
    So what would be the high level steps.
    1) get the cold backup
    2) create the standby control file
    3) ship the data via corrier
    4) restore the database
    5) and this is where i'm not sure. recover the standby control file - but during the restore of the database the "normal" control file will open and perhaps do a checkpoint. therefore the standby controlfile will be usless.
    6) recover the standby database.
    Has anyone accomplished this?
    As much specifics will be helpful. This system is operational and needs to be done right the first time.
    thanks,
    -Rob

    Thank you.
    1) I'm going to off load the cold backup to an external drive and have a courier take it to the DR site.
    Why, we are replicating the SAN over to the DR site. When SAN replication backs up Oracle becomes non-responsive. Therefore; sending the data over the pipe is not an option for the standby rebuild. Yea' that's the easy way to do it. But this system is operational and critical to operations; so we will not risk saturating the pipe for any period of time. The pipe got saturated one time and it was not pretty.
    2) I'm running the test in my lab to make sure I can create the standby database using the cold backup and rman.
    3) In the past it was easy; I got a cold backup of the data files using the same ksh scripts that have been working for 20 years. Copy the files over to the standby site, and put it into managed recovery. This technique has been working fine sense Oracle 8i days. ASM through a huge monkey wrench in the ksh script backup and now I'm forced to use rman. Hey, I'm told it's an okay product but when it comes to backups I never get fancy; that just makes things more complicated. Okay I wont complain about asm anymore, i guess there is an advantage in there somewhere.
    -Rob

  • Problem creating standby database using RMAN

    I am preparing standby database on Windows environment. For the same..
    1. I have taken full database,archivelog and standby control file backup on primary database.
    2.Backup pieces have been moved to standby server.
    3.TNS configured on both the servers.
    4.connected to target as well as auxiliary database and trying to create the standby database using the below command...
    duplicate target database for standby;
    But I am getting the below error........
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
    ORA-19870: error reading backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
    ORA-19504: failed to create file "E:\ORACLE\PRODUCT\10.2.0\ORADATA\AIRPRIM\CONTROL01.CTL"
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/01/2009 10:35:48
    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
    Please provide me the solution for the same...
    Thanks in Advance.....
    Sukanta

    channel ORA_AUX_DISK_1: reading from backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
    ORA-19870: error reading backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
    ORA-19504: failed to create file "E:\ORACLE\PRODUCT\10.2.0\ORADATA\AIRPRIM\CONTROL01.CTL"
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    failover to previous backup
    Can you please confirm if the directory E:\ORACLE\PRODUCT\10.2.0\ORADATA\AIRPRIM is existing on standby box and rman can write to that location (free space & permissions)
    If the issue is still present provide us the control_files parameter from standby..
    - Ravi.M

Maybe you are looking for