Broker (dataguard 10g)

I try to work with the broker (datagurad 10g) but when I do a switchover, the system do his job but return an error before starting the database, and I have to start it manually.
I found this error in the sqlnet.log
Thanks for your help
Fabrice
Fatal NI connect error 12514, connecting to:
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mymachine)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=test_DGMGRL)(INSTANCE_NAME=test)(SERVER=dedicated)(CID=(PROGRAM=dgmgrl)(HOST=mymachine)(USER=oracle))))
VERSION INFORMATION:
TNS for Solaris: Version 10.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Solaris: Version 10.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for Solaris: Version 10.2.0.1.0 - Production
Time: 30-MAY-2006 16:01:55
Tracing not turned on.
Tns error struct:
ns main err code: 12564
TNS-12564: TNS:connection refused
ns secondary err code: 0
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0

Check out what you have the parameter service_names set to. If it is currently set to test then set it instead to test,test_DGMGRL.
If you the examine the output of
lsnrctl service
you should see that both test and test_DGMGRL services are running.
Oops. I think I got a little bit too clever. If you want Data Guard Broker to start your instance, then that probably means that the instance isn't running so the broker will not be able to find the service. :)
Instead, what you need to do is define the service the old fashioned way in listener.ora.
After you reconfigure the listener, you will find the new service supported by the listener whether it is running or not.
Chris

Similar Messages

  • Using Oracle Dataguard 10g With Oracle EBS

    Hello,
    I am working on Linux with Oracle Database 10g and Oracle EBS R12 and trying to configure Oracle Data Guard with Oracle EBS. I have been reading Oracle My Support Document (Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database [ID 1070033.1] ).
    Please let me know of any another useful documents. It will also be helpful if anyone could share real time experiences.
    Thank you.

    Hi,
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/11g/r2/prod/ha/dataguard/physstby/physstdby.htm
    http://www.oracle.com/technetwork/database/features/availability/dataguardoverview-083155.html
    Regards
    Yoonas

  • Advantages and disadvantages of having broker dataguard

    Hello all,
    The dataguard can work perfectly without the broker, am I right?
    Do you recommend to use the broker in the Dataguard solution?
    Thank you ;)

    Hi,
    Data Guard broker can ofc hang, making your configuration kinda useless, because you cant do anything.
    We had a SR about this but Oracle couldnt really explain why, there are only notes about this in RAC-systems.
    Problem for us was that Data Guard just hang, there was not a single error any where!
    Anyway, since they failed to help us, and tried to delay answer for weeks we just migrated the database to 11g and new machine, because that was the plan already.
    Best, J
    Edited by: Johann von Ohr on 2009-okt-22 14:56

  • RMAN and Dataguard (10g)

    Hi all,
    I know this topic has been discussed several times over on this forum, but I have a peculiar situation.
    I have just inherited a client system with 10g and DataGuard with RMAN. The standby is Physical and both nodes are on HP-UX version and patchsets.
    The standby is persistently idle. The client insists on backing up the physical standby only.
    My question is this, is there any danger in backing up on the physical standby?. I've argued the case that we should backup the Primary and Standby to no joy. I am a little worried that we may experience a failure on the primary and start a recovery with backup taken from the Standby node. Is this feasible at all?
    Please confirm that I am right.
    Regards,
    Timothy.

    Having a recovery catalog, there's a resync with the standby controlfile after the backup, the backup informations are now in the catalog. Now when you need to restore/recover the primary database you connect to this and to the catalog. Primary and standby are clones , so you access the same record in the catalog regardless whether you are connected to the primary or to the standby. Because of this a resync will refresh the primary controlfile with the backup records which were taken while connected to th standby. A simple backup/recovery example looks like this:
    1) connect target sys/pwd@stdby catalog rman/pwd@rmancat
    2) backup database; (resync happens automatically after this)
    4) connect target sys/pwd@prim catalog rman/pwd@rmancat
    5) resync catalog;
    6) restore database;
    7) recoverer database:
    It's not mandatory, but recommended to backup the archivelogs on the primary side. Here you are sure to have all archivelogs (at least under regular circumstances). For many reasons it could happen, you miss some archives on the standby side.
    It's possible to run a standby in read-only mode for reporting purposes. In this case archivelog applying is suspended. If you have such a situation it's not recommended to backup the standby database, possibly it does not change for a long time and in case of recovery you have to apply a large number of archivelogs.
    Werner

  • Dataguard 10g parameter

    hello
    i am setting up dataguard on 10g winxp,
    i want that the standby database have the same name like the primary , but wouldnt that create a conflict in this parameter
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(chicago,boston)'
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(chicago,chicago)'
    thanks?

    hello
    i was reading the documentation its says that this parameter specifies the
    DB_UNIQUE_NAME of the primary and standby databases
    is that the same as their services names ?
    thanks again

  • DataGuard 10g

    Hi:
    I am working on DataGuard on 10g database. I have a question about the db_file_name_convert parameter in init.ora file on Primary database. I set db_file_name_convert='d:\oracle\product\10.2.0\oradata\standby', 'd:\oracle\product\10.2.0\oradata\orcl'. BUT now I found I have 6 files on 'd:\oracle\product\10.2.0\oradata\orcl', and one on D:\ORACLE\PRODUCT\10.2.0\DB_2\PERFSTAT.DBF. Would you please tell me how to set the db_file_name_convert for my case?
    Thank you very much!
    User

    You can try:
    db_file_name_convert=('d:\oracle\product\10.2.0\oradata\orcl', 'd:\oracle\product\10.2.0\oradata\standby', 'D:\ORACLE\PRODUCT\10.2.0\DB_2','d:\oracle\product\10.2.0\oradata\standby')Note that odd parameters (1st, 3rd, etc) specify primary database datafile file name and that even parameters (2nd, 4th, etc.) specify
    standby database datafile file name.
    See Reference Guide http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams112.htm#CHDGDFFD
    Edited by: P. Forstmann on 23 déc. 2009 14:13
    Edited by: P. Forstmann on 23 déc. 2009 14:16
    Edited by: P. Forstmann on 23 déc. 2009 15:00: added missing quote

  • DG Broker oracle 10g

    Good Mrng Guru's
    Oracle Version : 10.2.0.4
    Host : x86_64 x86_64 x86_64 GNU/Linux
    We are having Primary /Secondary database (Physical standby) on the same server - Now we are planning to configure DG Broker - So before configuring DG Broker what are precaution need to take to avoid any failure/issue?

    - the most important parameter to set before creating the configuratiion is to have a different value for the parameter DB_UNIQUE_NAME on each database
    on primary <SID>_SITE1 and on standby <SID>_SITE2 for example
    - use a different SID for the Standby database
    - the listener must have a service  <DB_UNIQUE_NAME>_DGMGRL,<DB_DOMAIN> for each database
    - DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT must be configured because Primary and Standby file can't be in the same location on a server

  • Dataguard 10g question

    This is from the doco:
    A physical standby database can be opened temporarily in read/write mode for development, reporting, or testing purposes, and then flashed back to a point in the past to be reverted back to a physical standby database. When the database is flashed back, Data Guard automatically synchronizes the standby database with the primary database, without the need to re-create the physical standby database from a backup copy of the primary database.
    This doesn't affect the primary database at all, right? I just want to confirm. I recall having some issues trying to open the standby database in read/write. Can anyone confirm if they've been able to open the standby database read/write while leaving the primary up and running.
    Thanks.
    P.S. This is on Oracle 10g R2

    This is a new and wonderful feature from 10g version.

  • Auto switchover dataguard 10g

    I want to automate the switchover between the pimary and the physical standby database. can somebody help me ???? thank you

    You can check the section " Switchover vs Failover" in the following asktom page.... http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1354203041395
    -CD

  • Oracle Dataguard Help

    I am trying to setup oracle dataguard(10g) in logical standby mode and i'm getting this error.
    Could anyone please help me with this
    SQL> alter database create logical standby controlfile
    2 AS 'D:\oradata\PRIMARYDB\STANDYCTL.ctl';
    alter database create logical standby controlfile
    ERROR at line 1:
    ORA-06550: line 1, column 36:
    PLS-00201: identifier 'DBMS_LOGMNR_D.STORE_IN_REDO_LOGS' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    when i am trying at the standby server to get into managed recovery mode i am getting this error. Any ideas why??
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
    ERROR at line 1:
    ORA-00283: recovery session canceled due to errors
    ORA-01110: data file 1: 'D:\ORADATA\STANDBY\SYSTEM01.DBF'
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: 'D:\ORADATA\STANDBY\SYSTEM01.DBF'
    The trace file doesn't mention much about the error except:
    The process cannot access the file because it is being used by another process.
    Message was edited by:
    user636794

  • Archives in dataguard.

    Hi Group,
    I have a doubt.
    When configure dataguard (10g, 11g), while archive received from the primary are applied the standby database also generates archives?

    No it just applies the archive from the primary. The only time it would generate is when you switch it to primary.
    Remember the standby is in Read-only mode. (I assume from how the question was asked).
    Does this answer your question?

  • Dataguard ,redo log not applied

    hi
    i am using oracle dataguard 10g .
    everything was quit fine . but some days later a problem occured . after sequence 128 log is not applied .
    i am using realtime log appled.
    can anybody help me .
    Thanks in advance
    munir .

    Hi,
    Is your standby database a physical or a logical standby ???
    Is the standby database in recover mode?
    What is the current log sequence number on your primary database?
    Place your standby database in recovery mode (if it is not) and restore arhcive logs on the standby database generated after log seq. 128
    Regards
    Asif Momen
    http://momendba.blogspot.com

  • *HOW TO DELETE THE ARCHIVE LOGS ON THE STANDBY*

    HOW TO DELETE THE ARCHIVE LOGS ON THE STANDBY
    I have set the RMAN CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY; on my physical standby server.
    My archivelog files are not deleted on standby.
    I have set the CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default on the Primary server.
    I've checked the archivelogs with the FRA and they are not beign deleted on the STANDBY. Do I have to do something for the configuation to take effect? Like run a RMAN backup?
    I've done a lot ofresearch and i'm getting mixed answers. Please help. Thanks in advanced.
    J

    Setting the Policy will not delete the Archive logs on the Standby. ( I found a thread where the Data Guard product manager says "The deletion policy on both sides will do what you want" ). However I still
    like to clean them off with RMAN.
    I would use RMAN to delete them so that it can use that Policy are you are protected in case of Gap, transport issue etc.
    There are many ways to do this. You can simply run RMAN and have it clean out the Archive.
    Example :
    #!/bin/bash
    # Name: db_rman_arch_standby.sh
    # Purpose: Database rman backup
    # Usage : db_rman_arch_standby <DBNAME>
    if [ "$1" ]
    then DBNAME=$1
    else
    echo "basename $0 : Syntax error : use . db_rman_full <DBNAME> "
    exit 1
    fi
    . /u01/app/oracle/dba_tool/env/${DBNAME}.env
    echo ${DBNAME}
    MAILHEADER="Archive_cleanup_on_STANDBY_${DBNAME}"
    echo "Starting RMAN..."
    $ORACLE_HOME/bin/rman target / catalog <user>/<password>@<catalog> << EOF
    delete noprompt ARCHIVELOG UNTIL TIME 'SYSDATE-8';
    exit
    EOF
    echo `date`
    echo
    echo 'End of archive cleanup on STANDBY'
    mailx -s ${MAILHEADER} $MAILTO < /tmp/rmandbarchstandby.out
    # End of ScriptThis uses ( calls an ENV) so the crontab has an environment.
    Example ( STANDBY.env )
    ORACLE_BASE=/u01/app/oracle
    ULIMIT=unlimited
    ORACLE_SID=STANDBY
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0.2
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    LIBPATH=$LD_LIBRARY_PATH:/usr/lib
    TNS_ADMIN=$ORACLE_HOME/network/admin
    PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:.
    #export TERM=linux=80x25 wrong wrong wrong wrong wrong
    export TERM=vt100
    export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT
    export ORACLE_HOME
    export LIBPATH LD_LIBRARY_PATH ORA_NLS33
    export TNS_ADMIN
    export PATH
    export MAILTO=?? your email hereNote use the env command in Unix to get you settings.
    There are probably ten other/better ways to do this, but this works.
    other options ( you decide )
    Configure RMAN to purge archivelogs after applied on standby [ID 728053.1]
    http://www.oracle.com/technetwork/database/features/availability/rman-dataguard-10g-wp-1-129486.pdf
    Maintenance Of Archivelogs On Standby Databases [ID 464668.1]
    Tip I don't care myself but in some of the other forums people seem to mind if you use all caps in the subject. They say it shouting. My take is if somebody is shouting at me I'm probably going to just move away.
    Best Regards
    mseberg
    Edited by: mseberg on May 8, 2012 11:53 AM
    Edited by: mseberg on May 8, 2012 11:56 AM

  • ORA-01033: ORACLE initialization or shutdown in progress / TAF

    Hi experts,
    I have the following environment:
    + 2 Linux Redhat  5.7 0n X86/64 named dwh and stb and Oracle 11.2.0.2,
    + Database on dwh is primary and on stb is standby
    the listener on dwh:
    ADR_BASE_LISTENER=/u00/app/oracle
    LISTENER =
        (ADDRESS_LIST =
            # for external procedure calls, create a separate listener
            # See basenv_user_guide.pdf for details (chapter of listener.ksh)
            (ADDRESS =
                (PROTOCOL = TCP)
                (Host = dwh )
                (Port = 1521)
    SID_LIST_LISTENER =
        (SID_LIST =
            (SID_DESC =
                # Next line is necessary for dataguard >= 10g
                (GLOBAL_DBNAME = strm_site1_DGMGRL)
                (SID_NAME      = STRM )
                (ORACLE_HOME   = /u01/app/oracle/product/11.2.0/db_1 )
        )the service_names parameter on dwh:
    SQL> show parameter service
    NAME                                 TYPE        VALUE
    service_names                        string      STRM
    [oracle@dwh admin]$ lsnrctl status
    [oracle@dwh admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 14-SEP-2011 17:32:43
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=dwh)(Port=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date                14-SEP-2011 12:11:15
    Uptime                    0 days 5 hr. 21 min. 28 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dwh)(PORT=1521)))
    Services Summary...
    Service "STRMXDB" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm_site1" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm_site1_DGB" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm_site1_DGMGRL" has 1 instance(s).
      Instance "STRM", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    the listener on stb:
    [oracle@stb admin]$ cat listener.ora
    ADR_BASE_LISTENER=/u00/app/oracle
    LISTENER =
        (ADDRESS_LIST =
            # for external procedure calls, create a separate listener
            # See basenv_user_guide.pdf for details (chapter of listener.ksh)
            (ADDRESS = (PROTOCOL = TCP) (Host = stb ) (Port = 1521)
    SID_LIST_LISTENER =
            (SID_DESC =
                # Next line is necessary for dataguard >= 10g
                (GLOBAL_DBNAME = strm_site2_DGMGRL)
                (SID_NAME      = STRM )
                (ORACLE_HOME   = /u01/app/oracle/product/11.2.0/db_1 )
        )the service_names parameter on stb:
    SQL> show parameter service
    NAME                                 TYPE        VALUE
    service_names                        string      STRM
    [oracle@stb admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 14-SEP-2011 17:37:23
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=stb)(Port=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date                14-SEP-2011 12:12:39
    Uptime                    0 days 5 hr. 24 min. 44 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=stb)(PORT=1521)))
    Services Summary...
    Service "strm" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm_site2" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm_site2_DGB" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm_site2_DGMGRL" has 1 instance(s).
      Instance "STRM", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyMy tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0.2/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    STRM=
    (DESCRIPTION=
           (LOAD_BALANCE=on)
           (FAILOVER=on)
           (ADDRESS=(PROTOCOL=tcp)(HOST=dwh)(PORT=1521))
           (ADDRESS=(PROTOCOL=tcp)(HOST=stb)(PORT=1521))
                (CONNECT_DATA=
                    (SERVICE_NAME=strm)
                    (FAILOVER_MODE=(TYPE=select)(METHOD=basic))
    STRM_SITE1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = dwh)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = STRM_SITE1)
    STRM_SITE2 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = stb)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = STRM_SITE2)
      )My Problem:
    C:\Documents and Settings\thai>sqlplus scott/scott@STRM
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Sep 14 17:49:51 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Process ID: 0
    Session ID: 0 Serial number: 0Login with
    sqlplus sys/****@STRM as sysdbaraises no problem!
    What I have done wrong? Please, help!
    regards
    hqt200475
    Edited by: hqt200475 on Sep 14, 2011 9:04 AM

    If I understand the second part of the question correctly you can use DBMS_SERVICE to create an alias on both servers.
    Then depending upon the ROLE they are in you can just connect.
    First an entry need to be added to the client tnsnames.ora that uses a SERVICE_NAME instead of a SID.
    ernie =
    (DESCRIPTION =
        (ADDRESS_LIST =
           (ADDRESS = (PROTOCOL = TCP)(HOST = primary.host)(PORT = 1521))
           (ADDRESS = (PROTOCOL = TCP)(HOST = standby.host)(PORT = 1521))
           (CONNECT_DATA =
           (SERVICE_NAME = ernie)
    )Next the service 'ernie' needs to be created manually on the primary database.
    BEGIN
       DBMS_SERVICE.CREATE_SERVICE('ernie','ernie');
    END;
    /After creating the service needs to be manually started.
    BEGIN
       DBMS_SERVICE.START_SERVICE('ernie');
    END;Several of the default parameters can now be set for 'ernie'.
    BEGIN
       DBMS_SERVICE.MODIFY_SERVICE
       ('ernie',
       FAILOVER_METHOD => 'BASIC',
       FAILOVER_TYPE => 'SELECT',
       FAILOVER_RETRIES => 200,
       FAILOVER_DELAY => 1);
    END;
    /Finally a database STARTUP trigger should be created to ensures that this service is only offered if the database is primary.
    CREATE TRIGGER CHECK_ERNIE_START AFTER STARTUP ON DATABASE
    DECLARE
    V_ROLE VARCHAR(30);
    BEGIN
    SELECT DATABASE_ROLE INTO V_ROLE FROM V$DATABASE;
    IF V_ROLE = 'PRIMARY' THEN
    DBMS_SERVICE.START_SERVICE('ernie');
    ELSE
    DBMS_SERVICE.STOP_SERVICE('ernie');
    END IF;
    END;
    /Check the status using lsnrctl status
    /home/oracle: >lsnrctl status
    Service "ernie" has 1 instance(s).
    erine is from the Oracle example, you can add whatever you want and then if you do a switchover or failover it is transparent to your users.
    See this for more details
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e16760/d_serv.htm
    Best Regards
    mseberg

  • Backuping up a standby database in a Data Guard environment!

    Hello everyone,
    I have set a Data Guard in Oralce 10.2.0 between 2 databases for testing purposes. Each database is located on a different server. I want to schedule an incremental backup of the standby database to do an incremental level_1 backup everyday. I am following this paper:
    [Using Recovery Manager with Oracle Data Guard in Oracle Database 10g|http://www.oracle.com/technetwork/database/features/availability/rman-dataguard-10g-wp-1-129486.pdf]
    but it's really unclear, for me, how this command sequence is constructed:
    RECOVER COPY OF DATABASE WITH TAG ‘OSS’;
    BACKUP DEVICE TYPE DISK INCREMENTAL LEVEL 1 FOR
    RECOVER OF COPY WITH TAG ‘OSS’ DATABASE;
    BACKUP ARCHIVELOG ALL NOT BACKED UP TO SBT;
    BACKUP BACKUPSET ALL;How can I recover a copy of database that wasn't backed up before? When I did that in RMAN, I got the following output:
    Starting recover at 03-APR-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=159 devtype=DISK
    no copy of datafile 1 found to recover
    no copy of datafile 2 found to recover
    no copy of datafile 3 found to recover
    no copy of datafile 4 found to recover
    no copy of datafile 5 found to recover
    Finished recover at 03-APR-11Could anyone please help me understanding this sequence of commands in a simple way to get a better idea of how to backup a standby database?
    Thanks in advance...

    On the first day, there is no backup to recover. It is only on the third day's run that this command will really be successful.
    The white paper does explain this.
    Hemant K Chitale

Maybe you are looking for

  • Tried to unlock my iphone now it wont turn on

    Hi, I recently tried to unlock my iphone using a programme off the internet. All seemed fine until it prompted me to restore it and since then all I get is the usb into itunes logo. I've tried to restore it on itunes but it comes up error. I've tried

  • ORA-01858 error in Application but not in sqlpluss

    Hi. I have this query that runs nicely in sqlpluss and the SQL Commands that came with Expressedition 10g, but when I put it in a report region it produce: report error: ORA-01858: a non-numeric character was found where a numeric was expected query:

  • Too Many Prints From The cmn_err

    Hi All, I need some help and pointers regarding driver programming on solaris 10 kernel. I have a module that has been ported in the kernel space. And I have changed all the printfs to cmn_err as the simplest logging mechanism and it prints the messa

  • This question is for someone at adobe:

    My hard drive died and I had to clone it.  No your system is telling me I have a trial version and it is asking me to repurchase the product.  I have all of the licensing information hear.  In fact, I am supposed to have one more license available fo

  • Help using VF01

    I need some help creating an invoice using an external number range.  We used transaction SNRO to create a alphanumeric range.  What userexit do I need to use in order to create my invoice with this new number range?