Data Guard on RAC

hello
is there any special configuration or guidelines to setup data guard on an Oracle Clustered database, or just like the single instance ?
many thanks

Hi,
Do you mean that each instance on a cluster have its own spfile, and i have to edit each spfile separatly for redo shipping to the standby?
All instances in cluster database must use the same shared spfile.. Also you can edit spfile.. you will have to update it using command:
alter system set parametername=value scope=spfile sid=instancename
my second question is that each instance generates its own archive redo logs , so this would not require that the standby database to be clustered, right ? it will apply the redo logs coming for whatever cluster instance , is that right? even if its a single non clustered standby instance...
You can have a single instance standby and all logs from all primary instances will be applied to it..
Regards
Rajesh

Similar Messages

  • Steps for data guard RAC primary RAC standby

    Hi,
    I have some doubt in configuring data guard for rac DR to rac primary.
    1) In RAC DR, physical standby will be in RAC before starting data guard for RAC Primary , right?.
    2) While configuring RAC DR , should one node be down in standby?.
    3) After creating the auxiliary database in standby, i mean restoring the rman backup from staging directory in DR,
    Shall we have to register the services(database,instance,asm,etc..) to CRS(OCR)?. If yes ,Why?.
    4) After DR configure over , Shall i shut/down one node?. Should all the nodes in DR be in up , while applying logs to
    standby ?.
    If anybody have made the setup and have the prepared document , requesting you to share with me.
    Thank you very much,
    Sunand

    Hi Sunand,
    Please follow the following My Oracle Support (MOS) Document ID:
    MAA - Creating a RAC Physical Standby for a RAC Primary [ID 380449.1]
    For further details, see the referred documents in previous post. Try practicing on VMWare because it will give you the flexibility for creating snapshots to save your work. Please see the answers for your question below:
    Q1. In RAC DR, physical standby will be in RAC before starting data guard for RAC Primary , right?.
    Answer: Yes, this is recommend but not mandatory. You can add a second node later on.
    Q2. While configuring RAC DR , should one node be down in standby?
    Answer: Yes, there are some database configuration commands that should be run in exclusive mode. You can start the remaining instance(s) after DB creation. Do not forget to set CLUSTER_DATABASE parameter to TRUE. Also, all instances except one should be close while performing switchover/failover.
    Q3. After creating the auxiliary database in standby, i mean restoring the rman backup from staging directory in DR, Shall we have to register the services(database,instance,asm,etc..) to CRS(OCR)?. If yes ,Why?
    Answer: Yes, this is recommended for RAC configuration to take advantage of high availability services.
    Q4. After DR configure over , Shall i shut/down one node?. Should all the nodes in DR be in up , while applying logs to
    standby ?
    Answer: You can start up all the instances after DR creation. In this case if your one node goes down log apply services will continue to apply changes in DR.
    Hope, this helps to clear your questions.
    Regards,
    Shahid

  • Data guard 11g vs 10g

    Does data guard run in 11 g primary and 10g standby vice verca in any situation physical or logical.
    Is the any possibility.

    Hello,
    You can find here a White Paper about "Data Guard" (and RAC) in Oracle 11g:
    [http://www.oracle.com/technology/deploy/availability/pdf/dataguard11g_rac_maa.pdf]
    In 11g, it seems (in ยง3.3) that the requirement about using the same Database version was "relaxed".
    But OK! it's just a white paper and, I think that this point should be cleared in detail with Oracle Support
    document.
    Best regards,
    Jean-Valentin

  • Data Guard configuration for RAC database disappeared from Grid control

    Primary Database Environment - Three node cluster
    RAC Database 10.2.0.1.0
    Linux Red Hat 4.0 2.6.9-22 64bit
    ASM 10.2.0.1.0
    Management Agent 10.2.0.2.0
    Standby Database Environment - one Node database
    Oracle Enterprise Edition 10.2.0.1.0 Single standby
    Linux Red Hat 4.0 2.6.9-22 64bit
    ASM 10.2.0.1.0
    Management Agent 10.2.0.2.0
    Grid Control 10.2.0.1.0 - Node separate from standby and cluster environments
    Oracle 10.1.0.1.0
    Grid Control 10.2.0.1.0
    Red Hat 4.0 2.6.9-22 32bit
    After adding a logical standby database through Grid Control for a RAC database, I noticed sometime later the Data Guard configuration disappeared from Grid Control. Not sure why but it is gone. I did notice that something went wrong with the standby creation but i did not get much feedback from Grid Control. The last thing I did was to view the configuration, see output below.
    Initializing
    Connected to instance qdcls0427:ELCDV3
    Starting alert log monitor...
    Updating Data Guard link on database homepage...
    Data Protection Settings:
    Protection mode : Maximum Performance
    Log Transport Mode settings:
    ELCDV.qdx.com: ARCH
    ELXDV: ARCH
    Checking standby redo log files.....OK
    Checking Data Guard status
    ELCDV.qdx.com : ORA-16809: multiple warnings detected for the database
    ELXDV : Creation status unknown
    Checking Inconsistent Properties
    Checking agent status
    ELCDV.qdx.com
    qdcls0387.qdx.com ... OK
    qdcls0388.qdx.com ... OK
    qdcls0427.qdx.com ... OK
    ELXDV ... WARNING: No credentials available for target ELXDV
    Attempting agent ping ... OK
    Switching log file 672.Done
    WARNING: Skipping check for applied log on ELXDV : disabled
    Processing completed.
    Here are the steps followed to add the standby database in Grid Control
    Maintenance tab
    Setup and Manage Data Guard
    Logged in as sys
    Add standby database
    Create a new logical standby database
    Perform a live backup of the primary database
    Specify backup directory for staging area
    Specify standby database name and Oracle home location
    Specify file location staging area on standby node
    At the end am presented with a review of the selected options and then the standby database is created
    Has any body come across a similar issue?
    Thanks,

    Any resolution on this?
    I just created a Logical Standby database and I'm getting the same warning (WARNING: No credentials available for target ...) when I do a 'Verify Configuration' from the Data Guard page.
    Everything else seems to be working fine. Logs are being applied, etc.
    I can't figure out what credentials its looking for.

  • Data guard performance problem (rac to single instance)

    i have a table it has GPS data, and gps table has too many data, 5 millions,
    iam using RAC (2 nodes 11gr2). standby database is single instance data guard,
    single instance database (standby)'s hardware cpu is lower than RAC machines. rac nodes have (15k) disks, standby has (7200rpm),
    so i dont want to use GPS tables on data guard system, i dont want to run GPS table's DML commands (delete, insert), i think it may increase performance,
    is it posible? what is your advise?
    any feedback makes me happy,
    best regards

    it's not possible with data guard, but you can use streams or golgengate for this purpose. Have a look at dataguard performance tuning guide. Maybe there is something you can fix on the configuration to be faster.
    [Data Guard Redo Apply and Media Recovery Best Practices|http://www.oracle.com/technetwork/database/features/availability/maa-wp-10grecoverybestpractices-129577.pdf]
    [Redo Transport and Network Best Practices|http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr1-activedataguard-1-128199.pdf]
    I don't know an 11g version for these docs but they would still help.

  • Oracle RAC / Logical Data Guard causing network problems on VMware

    We have VMWare 5.0 cluster across the 12 blades (6 per chassis) running a mixture of Red Hat and Windows 2008 R2 vms. The Red Hat boxes are two times two node Oracle RAC (primary and secondary), also apache web servers and jboss application servers. The Windows servers are for AV/DC/Management/Monitoring.
    The problem is that intermittent network connectivity to random Windows and Red Hat boxes occur when the Oracle RAC builds up archive logs and then ships / applies them to the secondary nodes, between ESX nodes either on different blades in the same chassis or across the chassis and even when all RAC nodes are on the same ESX host.
    We are using NFS, Oracle 11g and Red Hat 6.2.
    Sorry if this info is a bit vague, im not an Oracle expert! :-)
    thanks,
    Dave

    Hi,
    1.) The calculation for Standby RedoLogs is:
    (Max Number of Logfiles per thread (Instance) +1) * Max Number of Threads (Instances))
    So if you have 4 Redo Log Groups on your primary (which is 2 Redo Log Groups per Instance), then it ends up:
    (2 +1) * 2 = 6
    So actually you will only need 6 standby redo logs, not 8. But 2 more don't harm.
    Your primary will need exactly the same number (6 or in your case 8). Which will be 3 per thread/instance or in your case 4.
    2.) The SID List in the listener.ora is a listing of SIDs the Listener is listening on. It is not the listener name.
    Hence it is not "lsnrctl guard_dgmgrl start" but only "lsnrctl LISTENER start", whereas the LISTENER is the default and "lsnrctl start" would be sufficient.
    However since this is grid infrastructure with the listener running out of ASM home, be sure to have set your environment to GI Home not to DB_HOME for the listener.ora entries, but to DB_HOME for the tnsnames.ora entries necessary for data guard.
    And since listener is running under clusterware you should use "srvctl stop listener" and start.
    Last but not least the SID entries for dataguard have to use DGMGRL not dgmgrl.
    3.) Here is the whitepaper you are looking for:
    www.oracle.com/goto/maa
    Also for client failover best practices.
    (Here the direct link to the RAC whitepaper):
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-10g-racprimarysingleinstance-131970.pdf
    However since this is 10g you should combine this with the 11g RAC standy paper (e.g. SCAN Listener setup).
    Sebastian

  • Using RAC One Node as a primary database in a Data Guard configuration

    Is it possible to use RAC One Node as a primary database in a Data Guard configuration ?
    Oracle doc states: "Supports Oracle Data Guard such that you can run physical or logical standby databases on it or even we can NOT run primary databases on it either if the primary databases have DG"
    I guess it is not possible but can you folks confirm?
    Alessio

    Hmmm.... still unclear.
    I've submitted a comment which the documentation team should pick up :
    "+This sentence : "Supports Oracle Data Guard such that you can run physical or logical standby databases on it or even we can NOT run primary databases on it either if the primary databases have DG"+
    +is not very clear.+
    +I can understand it upto the words "on it" but the second part of the sentence, beginning with "or even we can NOT ..." seems mangled and unclear.+
    +Can you clarify whether RAC One Node can be used as :+
    +a. A Primary in a DataGuard configuration+
    +b. A Standby in a DataGuard configuration ?+"
    Hemant K Chitale

  • Listeners Problem  oracle11g R2 Data Guard RAC?

    Hi,
    I want to Static Register LISTENERDB in Data Guard RAC.
    LSNRCTL> start listenerdb
    Starting /u02/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for HPUX: Version 11.2.0.1.0 - Production
    System parameter file is /u02/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Log messages written to /u02/app/oracle/diag/tnslsnr/drpdb1/listenerdb/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENERDB)))
    TNS-01155: Incorrectly specified SID_LIST_listenerdb parameter in LISTENER.ORA
    NL-00303: syntax error in NV string
    Listener failed to start. See the error message(s) above...
    LSNRCTL>
    Listene.ora file: user Oracle
    LISTENERDB=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENERDB)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENERDB=ON # line added by Agent
    SID_LIST_LISTENERDB =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u02/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = drpdb1)
    (GLOBAL_DBNAME = drpdb.nblitd.com)
    Please help
    Thanks
    Solaiman

    Hi,
    Please check below thread. Seems like same problem.
    http://www.orafaq.com/forum/t/87764/2/
    Cheers
    Sush

  • Any Benefits of Extended RAC Over Data Guard?

    Hi,
    My company is in the process of setting a second data center, a bit far from the current one (about 20 KM).
    This Data Center will be used as a DR site, as well as to accommodate additional servers since the current Data Center is already stretched.
    We're currently running about 5 RAC clusters, two nodes each on Oracle 11g and on AIX plaforms. It's not yet decided what type of technology will be employed with the databases - whether RAC with Data Guard (DG) or Extended RAC.The network link will be fairly good, a dark fiber link.
    Does anyone have a suggestion as to which of the above technology would be preferable? With Extended RAC I think we are able to continue operating from the second site without needing to 'failover' as such, while with DG, we probably will need to put in place an elaborate failover procedure, even though we can use the Fast-Start-Automatic failover feature of 10g Rel2 and above.
    Any thoughts/suggestions/clarifications?
    Dula
    Edited by: dula on Aug 28, 2009 2:47 PM

    Hi Dula,
    Even some time back we were also consdering the same to use remote DG for disaster recovery solution (active-passive) to create extended RAC on a remote site and then make use of those remote servers for the purpose of disaster reocovery and also make those servers connect to the PROD application servers thus making a (active-active) clustering solution.
    Management wanted to look into the feasibility of using active-active nodes on remote sites which they thought will help them make use of remote servers to connect to the LIVE applicatio. With the active-passive mode where there was just standby servers in recovery mode on remote site they were of the opinion that why to waste power for remote servers and why not use them in LIVE site.
    We thought of using the dense optic fiber for the DB replication to remote RAC nodes and also for our 30+ application servers to connect from site 1 to site 2( site 2 will be remote site with extented rac nodes hosted).
    However there were many reservations that came which making decission. First was that we could not find any reliable source of group who had successfully implemented this active-active remote extended rac nodes in production. The cost of dense optic fiber was another consideration. How the interconnects will perform in remote sites was another grey area for us. Also since the application servers uses TAF to connect to DB servers it was not known that how the sessions from the same application servers(web based applications) to local and remote nodes will have performance impact. With so many grey areas we dropped the idea of using extended rac nodes and went ahead with DG solution.
    Amar

  • Data guard setup for 2 node RAC primary to 2 node RAC standby

    Hi All,
    I am going to setup data guard for 2 node RAC primary to 2 node RAC standby on Oracle 10.2.0.4. in AIX5L.
    Can you please provide the document on the above setup which is having all the steps (details).
    Also, the documents on different scenarios like
    1) If one node of standby goes down, how the redo logs will be applied. IS there any problem?
    2) If both nodes of standby are failed, how to reciver them?
    3) If one node of primary fails, is there any issue?
    4) If two nodes of primary fails, is there any issue?
    Thanks in advance,
    Mahi

    Have a look at the following location, you may find some similar documents:
    http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm
    By
    http://www.oraxperts.com

  • RAC + Data Guard setup

    In high-level terms, if you are running a 2-node RAC and get asked to create a 2-node disaster recovery site, how would I go about doing that? (The cluster in the disaster recovery site has already been created and the Oracle 11.2.0.1 software installed).
    I'm thinking generally that an RMAN clone of production to the secondary site would be an idea: but can that be done with both production nodes up? And is the best approach to clone to a single-instance and then add a second instance manually later on?
    Any pointers, or tips for a 2-node data guard from a 2-node RAC setup would be appreciated, basically. I realise it's pretty vague, but I'm just scoping this out at the moment and need some general pointers.

    Hi,
    Step by Step RAC to RAC Dataguard.
    <<http://www.oracledba.org/11gR2/dr/11gR2_dataguard_RAC_to_RAC.html>>
    Regards,

  • Recomendation: RAC + ASM + Data Guard

    Hi all:
    I need to implement a Data Guard in my 2 nodes RAC Database.
    How I make the ASM instance in the remote host?? I'm not found any documentation...
    Please, any sugestion.
    Thanks a lot.

    Use the same installation procedure as you used for RAC.
    Check these example instructions for Linux.
    :p

  • 9i RAC to single standby DB with Data guard

    hello gurus,
    I have a question, Im trying to set up a standby database.
    The primary DB would be a two node 9i RAC R2, to a one single standby DB.
    I done this already. My question is if I can use data guard with this type of configuration. I have try to configured it with OEM and the GUI does not support this.
    does any one know if this can be achieve using dataguard's CLI??
    thanks

    well that is something out of my reach for the moment.
    I have to do everything on 9i.
    I have the standby environment running already, i just want to make my life easier trying to ad min this environment using data guard

  • Implemeting 11gR2 RAC with Data Guard

    Hi ,
    Could any one provide the steps on how to setup 11gR2 two node RAC With Dataguard . Could the 11R2 Active database duplication can be used in setting up the standby ?
    I just need the order of steps to be followed to set up the environment.
    Thanks,
    shashi.

    Hi Fiedi ,
    Thanks for the reply .
    I know how to build the oracle dataguard . But , I'm looking for the order of steps that I need to follow to build 11gR2 RAC with data guard.
    1] Set up the Grid Infrsatructure for the 2 node RAC .
    2] Create the database .
    3] Modify the init.ora prameter to chage the above created database as primary .
    4] Set up the grid infrastructure for the 2 node RAC on the DR site.
    5] Create the standby database using 11gR2 active database dupication.
    Is the above order correct ? If not , let me know the correct order of steps that needs to be followed to setup 11gR2 RAC with dataguard.

  • DATA Guard Logical Standby v.s. Streams Apply (10gR2, rac -- rac )

    Greetings -
    We currently have a 3 node cluster, doing a 'Schema' capture, with a 2 node cluster serving as the apply side. Both are on 10gR2 (solaris 10)
    We have been experiencing apply latency due to large transactions. The way logminer/streams evaluates the arch logs, it converts each updated row into a transaction as part of a transaction set, using 'decode (' statements.
    I am under the impression a physical standby will do the same thing. But what about a logical Standby ?
    (this from the Oracle Documentation)
    [10g Concepts|http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/concepts.htm#SBYDB00010]
    ...Contains the same logical information as the production database, although the physical organization and structure of the data can be different. The logical standby database is kept synchronized with the primary database though SQL Apply, which transforms the data in the redo received from the primary database into SQL statements and then executing the SQL statements on the standby database.
    Does anyone know firsthand if SQL APPLY re-issues the original sql, or if it relies on the 'decode' command as well ?
    Thanks
    The Nets Edge

    A Physical standby does not do anything with SQL. It is running media recovery under the covers. A Logical standby uses the Logminer to read the redo, converts it to SQL and Data and applies those transactions to the Logical standby.
    The both build logical change records, figure out order, dependencies etc etc and applies the transaction. Both are susceptible to long running transactions on the Primary (source) database.
    Streams uses Logminer, Logical Standby use part of the Streams apply so as Mr. Morgan said, they are very similar :^)
    If you are having apply performance issues you may want to look at Active data Guard.
    Larry

Maybe you are looking for

  • Car Bluetooth

    Okay, I have a car which has blue enabled so I can talk to people through my bluetooth system in my car, it wasn't compatitible with iPhone 4 so I was told by tech support to upgrade my bluetooth in my car but now I have it doesnt let me call back if

  • WEP issue

    Hi, I am running a Brand new MBP 2.4 duo 160gig When I try to connect to the wireless office network it times out instantly. Password is good (Hexidecimal 64 BIT) Tried it again with a character wrong and it immediately told me that the passkey was w

  • How to pass credentials to OSB business service at runtime?

    Hi, I have a proxy service which calls a Business service through routing action. I have a scenario where I have to pass SOAP header with username token policy (which has username and password) while routing to the business service in the proxy servi

  • How do i add a database?

    My add a database + is not available. I set up a site, document type and testing server with every combination I can think of. And I reinstalled dreamweaver numerous times? Any suggestion?

  • Help! Errors when changing category in text items!

    I'm very often experiencing problems when editing a text item and moving it from one category to another. It won't do it. The editing page will stay the way it is and the only message I get is: Error 30694: Error in API - update item failed What coul