Multiple Standby Dataguard Configuration

Hi,
Sorry if this has been posted before, but I could not find the answer.
I have a Primary site (PRIM) and one Standby site(STBY1). The standby receives archive log changes from the primary. Also using dataguard to manage the Standby.
I would like to create another standby (STBY2) and use the current standby (STBY1) to send changes to the other standby (STBY2).
I've read the section on Cascade Redo Log Destinations in Section D of the Dataguard doc, but it really doesnt show how this is configured.
I assume that my standby (STBY1) would need a the log_archive_dest_2 set to the service that points to the second standby (STBY2).
My question is.. Do I need to be using Maximum Availibilty and send redo logs vice archive logs? How do I configure dataguard? Is the second standby (STBY2) another site in the dataguard configuration?
Thanks,
Roland

I'm curious, is there a reason that you wouldn't want PRIM to supply the changes to both STBY1 and STBY2? In the configuration you're describing, if there was a failure on STBY1, you couldn't fail over from PRIM to STBY2...
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • In my standby dataguard configuration

    Hi All,
    I observed one strange thing in my database is that my archives are getting shipped regularly to DR site but in night time only it starts to getting applied. Some time, it starts to apply but its very slow. I confirmed with network team and they said that there is no problem in connectivity.
    Could anyone tell me about this please ?
    My email # [email protected]
    Regards,
    Star Nirav
    +91 9227258878

    I'm curious, is there a reason that you wouldn't want PRIM to supply the changes to both STBY1 and STBY2? In the configuration you're describing, if there was a failure on STBY1, you couldn't fail over from PRIM to STBY2...
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • STARTING STANDBY IN DATAGUARD CONFIGURATION

    Hi,
    IN DATAGUARD CONFIGURATION, should we start STANDBY database by :
    1-STARTUP MOUNT
    or
    2-STARTUP
    or
    3-STARTUP MOUNT
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;
    Many thanks before.

    Thank you sybrandb.
    Please always include your version (four digits) and the O/SPROD 10.2.0. on WIN 2003 SERVER
    STANDBY 10.2.0. on WIN XP PRO.
    The correct procedure is (documented)Thank to give the name or number or URL of document. I have already seen :
    Oracle® Data Guard
    Concepts and Administration
    10g Release 2 (10.2)
    B14239-04
    note 374069.1
    note 248382.1
    Regards

  • Database upgrade in a Dataguard Configuration - Help !

    Hello Everyone,
    I am upgrading our test Oracle 11G RAC/Dataguard Configuration from 11.1.0.6 to patchset 11.1.0.7 and have run into an issue when trying to apply the patchset to one of our standby databases.
    I have upgraded our primary database to 11.1.0.7 with no problems, however when this was done the Dataguard Broker configuration was disabled and redo log apply to our standby databases (all physical) was stopped. I next attempted to upgrade one of our standby databases to 11.1.0.7, whilst DG Broker was disabled. The clusterware (all our databases are part of RAC clusters) and DB Software upgrades were OK, but I was unable to run DBUA successfully (or at all) as it wont run against the standby DB.
    Looking at the process for applying upgrades with Physical Standby databases in place in the Dataguard Concepts manual, it seems as though the recommended process is that I should have upgraded the standby database(s) first rather than the primary database. The two Oracle Consultants that were on site when I upgraded the primary DB, did not seem to be aware of this !
    What now is the easiest (and quickest) way of upgrading the standby db to 11.1.0.7 (preferably without reenabling the DG Broker Configuration). Is it possible to re-instanitate the standby DB from the primary DB?
    Any advice would be much appreciated.
    Thanks,
    Shaun.

    Hi!
    Updating a standby DB must be so easy, but I suppose now you are in troubble because your primary DB is ...0.7 and standby are ...0.6, but in this situaction there isn't any problem. You only need to have same version at Oracle DBs (...0.7) and initiate the recovery process or start DataGuard Broker process (if you have all redo logs since the beggining of update process).
    Chiao!

  • Upgrade of database in Dataguard Configuration

    Hi,
    I have few doubts regarding upgrading of database in in a dataguard configuration. Could someone please help me out.
    - How does upgrade happen in dataguard configuration?
    - Is that we have to install only different OH in both? And once the catupgrade script is run on primary, it will automatically upgrade standby as well?
    - Or is that we have to upgrade both separately? i.e, standby first and then primary or vice versa
    - Can we reduce downtime by breaking the dataguard config. Do a switchover and make secondary as primary and upgrade primary first?
    And once the upgrade is completed in primary, bring it up and later upgrade the standby. And later once the upgrade is completed on standby, synch both primary and standby.
    Please share your ideas and thoughts!
    Thanks!

    First of all, -steps may differ regarding the upgrade versions but- my post with the following link would help you clarify the concept.
    http://emrebaransel.blogspot.com/2009/02/10204-upgrade-with-dataguard.html
    user1982050 wrote:
    Hi,
    I have few doubts regarding upgrading of database in in a dataguard configuration. Could someone please help me out.
    - How does upgrade happen in dataguard configuration?First you patch the Oracle binaries on both primary and standby. Then open dataguard services and upgrade the primary database, standby will update itself already.

  • Multiple standby database about FAL_SERVER and FAL_CLIENT parameter in DG

    Hi,
    I am little bit confused about FAL_SERVER and FAL_CLIENT parameter in Data Guard.
    We are planning to configure multiple standby database in Data Guard environment. Let Assume that, i have production db named as 'PROD' and multiple standby name like standby1,standby2, standby3.
    My Environment is:_
    DB Version: 11.2.0.1
    OS Version: OE5LU6
    So in this case how to specify above Net service name in spfile on production server and also on other standby server.
    Kindly Suggests me.
    Regards
    Athish

    Athish wrote:
    Hi,
    I am little bit confused about FAL_SERVER and FAL_CLIENT parameter in Data Guard.
    We are planning to configure multiple standby database in Data Guard environment. Let Assume that, i have production db named as 'PROD' and multiple standby name like standby1,standby2, standby3.
    My Environment is:_
    DB Version: 11.2.0.1
    OS Version: OE5LU6
    So in this case how to specify above Net service name in spfile on production server and also on other standby server.
    Kindly Suggests me.
    Regards
    AthishFAL_CLIENT is Oracle TNS service of the local system and FAL_SERVER is Oracle TNS service of remote system.
    if you have three standby databases of primary , then from primary you must have three values in FAL_SERVER so that archives will be send to the all destinations.
    and From the stadnby database, FAL_SERVER should be the oracle TNS service where you receiving the archive log files,
    Note:- If you have RAC primary then mention each service differentiated by commas as shown example below.
    From standby to Primary RAC:- FAL_SAERVER='PROD1','PROD2'
    These parameters are dynamic, so that you can alter them at any time.
    HTH.

  • Breaking DataGuard Configuration

    Hi
    We are in process of doing database upgrade in dataguard configuration and we are planning to break the dataguard configuration and we will do the upgrade in standby database then we will do it in primary. My questions here is
    1)I am going to break the Dg configuration like disabling the DGBROKER,unset the archivelog dest,dg_broker_start=false.....so onnn
    2)How to open the standby database in readwrite mode.
    DB VERSION IS 9.2.0.6
    os is WINDOWS-2000
    kk

    Hi Ogan,
    Can i do the following steps to break primary and standby.
    1)DISABLE DATAGUARD BROKER CONFIGURATION
    2)STOP MRP PROCESS ON STANDBY --->ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;---->
    3) On the primary disable any archive destinations that are archiving to the standby:
    SQL> select dest_id,destination,status from v$archive_dest where target=’STANDBY’;
    SQL> alter system set log_archive_dest_state_2=defer scope=both;
    4)on standby database mount standby database and issues the below command
    ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY;
    if i do like this is it going to work as primary???
    KK

  • Logical Standby Dataguard experience. Robust? Reliable?

    DBAs,
    Need sharing from all of your experience using logical standby Dataguard in 10gR2 or 11gR1. Do you feel that this logical standby technology requires high operational overhead (e.g. lots of problems, bugs, not so robust, error prone, etc). Transaction load is rather high for my environment.
    I only use physical standby so far.
    Thanks in advance

    Hi - first you need to know the purpose of requiring a logical standby.
    If it's for active standby - you might consider active dataguard in 11g.
    Also you have to go through the doc for the list of limitation/s (regarding db objects) on logical standby - there's quite a few of them.
    A well maintained/monitored system will have no additional admin overhead (maybe not initially) than the orhers.
    cheers.
    Lovell.

  • Third party backup software support for dataguard configurations

    Any Oracle document about the subject?
    I would be interested in an answer about backupexec 2010 r2 in particular, because reading the manual for its oracle agent there is information about Oracle/RMAN and RAC support, but nothing about Dataguard integration, that could be a value added.
    Anyone using third party backup agents in a Dataguard configuration?
    Interested in version 11gR2 on Linux.
    Thanks,
    Gianluca

    yes, you should be able to use the full backup taken in middle and use the rest of the log backups taken afterwards to restore the database.while I do not use TSM, we use QUEST(DELL) LITESPEED, that takes full backup once a day and log backups
    every 15mins.
    if someone accidentally takes full backup in the middle of day with out 'copy only',
    log sequence will break and successive log backups depend on this full back up.
    while this should be prevented from happening in first place, you can still restore from native full backup and then apply log backups taken from third party taken after the  native Full backup.
    if this happens, I would restore the FULLBACKP with NORECOVERY using NATIVE SQL and then use  lite speed syntax to restore the log backups.Remember, native sql cannot read third party formatted backups(atleast litespeed), thats why I restore the full backup
    using native sql, since it was taken with native sql backup and log backups using litespeed syntax.
    Hope it Helps!!
    Thanks, well it was just a theory discussion we had about the issue. But none of us could find info on the internet easy to prove our point :) Thanks.

  • Standby Database Configuration with LGWR and ASYNC

    Hi,
    I am running a standby database configuration on a 100MBit LAN
    with the following set-up:
    log_archive_dest_2='service=standby mandatory reopen=300 lgwr
    async=2000'
    The system is handling a lot of very small transactions, not
    involving large amounts of data.
    My questions are:
    - What are the potential problems in using a small ASYNC buffer
    like the one above?
    - Does a larger ASYNC buffer influence the latency in copying
    changes from the production database to the standby database -
    will it buffer more changes before sending them to the standby
    database?

    Murlib,
    I have few more doubt-
    Our requirement is to configure a Standby( Physical-MAXIMUM PERFORMANCE
    mode) in a place, which is 600 KM away from our primary destination.
    Currently our LAN network traffic rate is 100 Mbps. but this traffic is
    virtually reduced to 1Mbps out side our LAN.
    Our Production Database is 24X7 and Its generating 17 GB Archive files every
    day.
    Since the net work traffic is slow i think, it will create some log gaps,and
    also we couldn't do a point in time recovery.
    We are configuring a Standby, here inside our LAN in Managed Recovery Mode
    for recovery purpose and will keep a Standby there in remote place for
    Reports.
    and it will be recover it in every morning.If iam following this procedure,
    my
    log_archive_dest_2 ='service=stby ARCH NOAFFIRM' ( which is the standby here
    inside our LAN and should be in MANAGED RECOVERY mode)
    and i need to configure the parameters for standby in my remote location.So
    my doubt is-
    Shall i need to configure "log_archive_dest_n" in the parameterlist of my
    Primary for that remote Standby ?
    I think for manual recovery we can aviod that.But we need to eonnect it
    thrrough Oracle Net
    Can you please tell me the essential PRIMARY parameter list entries for this
    kind of remote standby , recovering in a manual mode ?
    i think the following parameter should be there -
    FAL_SERVER
    FAL_CLIENT
    DB_FILE_NAME_CONVERT
    LOG_FILE_NAME_CONVERT
    STANDBY_FILE_MANAGEMENT=AUTO
    STANDBY_ARCHIVE_DEST
    Thanks and Regards,
    Raj

  • How will you find out no of standby databases configured for primary database from OS level

    How can find the number of standby databases configured for primary database from os level

    Check the alert log.
    The Alert log will always have Data Guard messages in it.
    Example
    cd /u01/app/oracle/diag/rdbms/primary/PRIMARY/trace
    tail -1700 alert_PRIMARY.log | more
    Wed Nov 13 13:35:26 2013
    ARC7: Standby redo logfile selected for thread 1 sequence 1164 for destination LOG_ARCHIVE_DEST_2
    LNS: Standby redo logfile selected for thread 1 sequence 1165 for destination LOG_ARCHIVE_DEST_2
    If you don't see messages like this it's probably not a Data Guard system.
    Or search it for :
    System parameters with non-default values:
    Which on Data Guard system will show things like:
    log_archive_dest_1 = "LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=PRIMARY"
    log_archive_dest_2 = "SERVICE=STANDBY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY"
    log_archive_dest_state_1 = "ENABLE"
    log_archive_dest_state_2 = "ENABLE"
    fal_server = "STANDBY"
    Best Regards
    mseberg

  • Can standby database configured on VMWare server or not?

    HI all,
    Is it possible that our primary server is not on vmware server but standby server can be configured on VMWare server?
    AFAIK, configuration of both the server should be same.
    If our Primary server is not on Vmware server but standby database configured on Vmware server, Will it work or not.
    Pls suggest me.....
    And another thing is that Is it necessary to have a dedicated connection b/w primary and standby server for RFS process.
    pls suggest me....

    If our Primary server is not on Vmware server but standby database configured on Vmware server, Will it work or not.Logically speaking, it should not matter but YMMV.
    And another thing is that Is it necessary to have a dedicated connection b/w primary and standby server for RFS process.what is RFS process? Could you elaborate?

  • Not able to get data of primary in standby database (configured dataguard)

    Hi all, I configured dataguard in my local system, i ve a few qsns (as i am new, ve patience)
    1) scn differs wrt primary in standby (i checked, 1day difference), how to make scn same?
    2)i created a table in primary, its not refelecting in standby, (below i ve pasted alertlog entries)
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\SYSAUX01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\UNDOTBS01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\USERS01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\EXAMPLE01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\STREAM_TBS.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
    ORA-01110: data file 7: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\DATA01.DBF'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-16004 signalled during: alter database open read only...
    3)wen i try to open standby database in read only mode gives below error..how do i solve it?
    ERROR at line 1:
    ORA-16004: backup database requires recovery
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1:
    'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\SYSTEM01.DBF'

    971424 wrote:
    Hi all, I configured dataguard in my local system, i ve a few qsns (as i am new, ve patience)
    1) scn differs wrt primary in standby (i checked, 1day difference), how to make scn same?Please do not use IM language here, instead of "qsns" use questions.
    SCN can be differ in standby and it can be behind to primary based on the backup you have restored. Of course by performing recovery you can synchronize standby with primary database. You can use incremental backups for standby using link http://www.oracle-ckpt.com/rman-incremental-backups-to-roll-forward-a-physical-standby-database-2/
    2)i created a table in primary, its not refelecting in standby, (below i ve pasted alertlog entries)
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    Errors in file d:\oracle11g\app\administrator\diag\rdbms\stand\stand\trace\stand_dbw0_6916.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: 'D:\ORACLE11G\APP\ADMINISTRATOR\ORADATA\STAND\SYSAUX01.DBF'
    ORA-27041: unable to open fileFirst check whether those files are exist in that location or not and if file names are different other than primary then rename file locations. Also check the permissions on the folder/files.

  • Install Grid Control and use repository within a DataGuard configuration

    Hello,
    I need some information if anyone has experience in the following
    We have severel database running in DataGuard standby configuration.
    I want to install OMS 11.1 and use the repository in a primary and standby configuration.
    My configuration will look like this:
    host 1     Primary Repository database
         OMS service 1
    host 2     Standby Repository database
         OMS service 2
    During normal operation i want to have 2 OMS services running.
    Whenever a failover is necessary, i want to active my standby database and run OMS service 2.
    Can this be a working configuration?
    Any help is appreciated.
    Regards,
    Ben

    Hi.
    As far as I know, the dbconsole installed with the Oracle database applies for only one database on one server. The information accessed by the dbconsole relies within the sysman schema inside the actual database. For a database environment with 10 databases, it is possible to install grid control and manage all these databases despite version and OS. And I think that grid is a good solution to such an environment.
    The grid installation itself is a application server installation, and I suggest if possible that you separate the rdbms server and the server that contains the grid control.
    The repository database the grid control uses can either be installed in the 10g environment or in the grid control environment (server). You can place the repository in a new database in a separate ORACLE_HOME from the actual grid control application server.
    Good luck.
    rgds
    Kjell Ove

  • SDU Dataguard configuration

    Please,
    Looking for some clarification implementing SDU parameter file.
    I'm configuring Dataguard using Oracle 10g,Release 2 on Windows
    In order to best use data size sent amoung primary,standby and clients application oracle recommends to configure SDU parameter for the highest size.
    Network configuration.
    Primary database
    ( [i]SQL net files mandatory: Listener,sqlnet.ora and tnsnames.ora)
    Secondary database
    (SQL net files mandatory: Listener,sqlnet.ora and tnsnames.ora)
    Citrix server acting as client to the primary database
    (SQL net files mandatory: sqlnet.ora and tnsnames.ora)
    Users connect to the database through citrix
    Communication between Primary and Secondary database
    if I set the DEFAULT_SDU_SIZE=32767 on both primary and secondary database in SQLnet.ora file, I do not need to set this parameter either in tnsnames.ora nor listener.ora file on both primary and secondary database?
    Communication between citrix client and primary database.
    I should only set DEFAULT_SDU_SIZE=32767 into sqlnet.ora file for all connections involved.
    My big trouble is, when reading the Oracle Maximum Availability Architecture White Paper February 2007 they recommend to:
    specify on the primary database: DEFAULT_SDU_SIZE=32767 into sqlnet.ora file
    On the standby database, set SDU in the SID_LIST of the listener.ora file: SID_LIST_listener_name=(SID_LIST= (SID_DESC= (SDU=32767) (GLOBAL_DBNAME=sales.us.acme.com) (SID_NAME=sales) (ORACLE_HOME=/usr/oracle))) ---> this configuration is a static registration!, my secondary database was configured for dynamic registration, The static registration on standby side is mandatory ?,or there is an alternative ? for example on the standby specify only in the sqlnet.ora
    DEFAULT_SDU_SIZE=32767?
    Any suggestion may help me enough
    Thanks

    Hello,
    I guess it all depends on what you expect fro the standby. What kind of protection mode are you using? Do you have any delay configured? Is it doing real time recovery? And more.
    Can you be specific regarding the requirements that your organization has for this DRP?
    Regards,
    Yuri Gorelik
    [http://it.toolbox.com/blogs/living-happy-oracle]

Maybe you are looking for