RAC and dataguard

With reference to this thread
is Dataguard and standby dbs is HA
RAC and DATAGAURD are two different approches for high availability and desaster recovery.
We are planning to implememt RAC and DATAGAURD but there are budget issues also.
With RAC As i understand we have multiple instances governing a single database. So multiple node/machines governing a single database server.
With DATAGAURD,we have a DR solution at another location.If the primary server fails,standby database takes up the role of primary.
With RAC alone,if any node fails, there is another node to do instance recovery or the server still continues. But what if database server crashes. WIth RAC alone and no dataguard, won't it allow downtime?

Hi Hashmi,
RAC and DataGuard are indeed different things, as you understood.
Regarding your question, there is no database server, that's the whole thing. There is one database (which resides on external redundant storage like Netapp, EMC, etc.) and there are several servers that are running the instances. Downtime will occur only if the storage crashes. And if you don't trust your storage you can have ASM redundancy, so storage failure will not cause downtime as well.
The down side, is that there is one database, so if you have logical corruption, human error, or something similar you can loose data or have downtime.
However, the high availability is real.
In DataGuard, once the primary is down it takes some time (not long) to activate the standby, but it has a different IP, so you should configure your DNS/clients (in advance or at failover) to connect to the activated standby.
HTH
Liron Amitzi
Senior DBA consultant
[www.dbsnaps.com]

Similar Messages

  • Tnsnames configuration for RAC and dataguard

    Hi everyone,
    I have an environment with RAC and dataguard (production is RAC, standby is single instance) and I was wondering what is the best way to configure the clients (since I have quite a few and I don't want to change their tnsnames if I need to failover to the standby database).
    Now, I need to have both RAC nodes of course, the question is what I should do with the standby...
    The problems are:
    1. If I add the standby as another address, 1/3 of the connections will get to it and I don't think it's a good idea
    2. I can disable the load_balance, but then all connections will go to the first node's listener
    3. After a failover, if the RAC nodes are down, it will take a long time to connect (the servers will not respond and the client will wait for timeout if it tries to connect to the RAC nodes first, only after the timeout it will try the standby and succeed)
    Any ideas and suggestions will be appreciated.
    Thanks,
    Liron

    Hi Robert,
    I agree that the standby should be up, but you have to admit that if it is down it should not delay connections to the primary...
    About the DNS, it's not that I don't trust the SA, but this is an environment for a customer so it should be as independent as it can be. So the failover process will be easy and fast. I don't know if I can get DNS permissions, but that's a good idea...
    A question that can be derived from this:
    assuming that I use observer to have an automatic failover, how should I configure my TNS? If the standby will become the primary automatically, I have to configure the clients to connect to the activated standby automatically. With no DNS changes or anything manual.
    I guess in this case, my best option will be with LOAD_BALANCE=off, some of the clients will have RAC-NODE1 as first address and some will have RAC-NODE2, the standby will be the last address and we'll suffer the timeout if the primary will be down when connecting to the activated standby.
    If anyone has other ideas, it would be great.
    Thanks,
    Liron

  • Infrastructure suggestion for Oracle RAC and Dataguard

    Hello,
    We are working on migration business proposal and need to suggest HA and DR infrastructure solution with Oracle 11G databases. I am thinking to suggest Oracle 11g RAC and Dataguard to meet this requirement. We also wanted to cover Dev, Test and Pre Prod along with Prod in new environment. Can someone suggest cost effective, stable and scalable infrastructure for this requirement
    Best regards,
    Venkat

    In terms of cost ? Perhaps.
    In terms of performance? NO.
    Bear in mind I'm not trying to sell anything here, but in my experience hardly anything matches the performance of Exadata. It has specific features for the DB such as de iDB protocol which enables the offloading of queries to the exadata storage servers. More unique features include: storage indexes, HCC compression, smart flash cache... It's all a matter of how much you want to spend.
    Yes, you can have all your servers on the same box if you want, just make sure it is not a single point of failure. (Have appropriate safeguards in place in case of power failure, Data center catastrophes, etc). In case of LPARs on the same box, be aware of one server over-utilizing resources which would affect the other LPARs (configurable).
    More info on Exadata: http://www.oracle.com/technetwork/server-storage/engineered-systems/exadata/dbmachine-x3-twp-1867467.pdf
    If your company has a tight budget you might also look at your options with Database appliance: http://www.oracle.com/technetwork/server-storage/engineered-systems/database-appliance/documentation/oracle-db-applianceā€¦
    Database appliance has more flexibility in terms of licensing and it's also a complete hardware solution from oracle for Databases.
    Regards

  • EPB and DBI on RAC with Dataguard

    Hello all,
    I was wondering if anyone has installed and configured EPB and DBI on a
    - Apps 11.5.10.2,
    - Oracle Server 10.1.0.4 instance on
    - Red Hat AS 4,
    - HP Proliant,
    - 2 noded RAC cluster
    - Dataguard (in physical mode) as a DR solution.
    Please let me know if you were able to get this particular configuration up and running and what issues you ran into.
    Thanks
    Steve

    Hi,
    Im also keen to here of anyone with similar build for EPB and DBI Implementation ?
    Regards,
    TC

  • Database replication between Oracle RAC and Oracle Standalone DB in 9i

    Hi,
    We have currently 4 node RAC environment and Oracle RAC implementation with 4 Oracle instances. We want to move the one instance and make it Standalone with Oracle database due to availability issue. Thus we will remain with 3 nodes on the RAC database and one Standalone database. We want to implement Oracle replication on this solution, where partial database of RAC environment needs to be replicated to Standalone node.
    We will have Oracle 9i database server for both RAC and Standalone machine.
    The partial data that we are looking for replication are of size 25GB. Some of questions we have:
    1. Is there any other replication mechanism apart from Materilzed view for this solution?
    2. Is it feasible to sychronize around 25GB data between servers?
    3. What can be estimated time for refresh or Synchronization?
    The methods that we are evaluating currently for this replication are:
    1. Multi Master replication
    2. Oracle 9i Datagaurd.
    Please let me know if we need to look for some other methods of replication also.
    Thanks in advance for help.

    ManojMac wrote:
    The partial data that we are looking for replication are of size 25GB. Some of questions we have:
    1. Is there any other replication mechanism apart from Materilzed view for this solution?Streams is another option
    2. Is it feasible to sychronize around 25GB data between servers?Sure. Depending on the rate of change, your latency requirements, whether the standalone database has the horsepower to apply all the changes generated by to other three nodes, etc.
    3. What can be estimated time for refresh or Synchronization?Depends on the architecture, the network connection, whether you are doing incremental refreshes, etc. And it depends on what time you're measuring-- you might be measuring the latency between the RAC cluster and the standalone database, you might be measuring the time it takes to incrementally refresh a single materailized view when there have been no changes, you might be measuring the time it takes to do a complete refresh of an entire refresh group, pulling 25 GB of data over the network.
    The methods that we are evaluating currently for this replication are:
    1. Multi Master replication
    2. Oracle 9i Datagaurd.DataGuard is not an option if you only want to replicate a subset of the data. The two realistic options are materialized views and Streams. Are you anticipating that you will be making changes on both nodes? If not, you can use simple materialized views rather than multi-master replication.
    Since 9.2 is not longer covered by Premier Support, are you planning to upgrade to a supported version in the near future? In particular, Streams works a lot better in later versions of the database.
    Justin

  • RAC and ASM with geographically seperated disks

    We are planning to use RAC and ASM with four nodes. The two nodes will be at one location and another two nodes at different location. The ASM disks also will be available locally. Is it possible to configure ASM with geographycally serepared disks.
    We are thinking of two RAC and ASM setups with two nodes each and streams replication between the RACs.
    I want to know what is the best method to implement. Is it RAC with four nodes OR two RACs with two nodes each and streams replication between the RACs.

    Apart from the latency issue, which has been mentioned by others, you also need to mirror your disks between the two sites and be very careful about split brain scenarios under node or site crashes.
    You need to mirror the disks between the sites in case one site crashes completely and loses all network access. The only way the second site can carry on is if it has access to all the data disks, and the cluster control disks (terms vary for this, such as quorum or voting disk). If you do not mirror you simply do not have a resilient design. Resilience is about eliminating all single points of failures, which means duplicating everything i.e. mirroring.
    And mirroring between two remote sites adds more volume to the data traffic between the two sites. And it would need to be synchronous rather than asynchronous to guarantee no data loss. And your commits for each transaction would be limited by the round trip time to write to the remote site and get the acknowledgement back.
    Split brain is something you need to avoid with remote clusters, and local clusters too. If the network goes down between the two sites and both sites have local copies of all of the data and cluster control disks, which site becomes the primary and which one becomes the standby? You cannot have both sites coming back up as primary with active databases and accepting transactions! At this point you have split brain, and each side is processing transactions independently, and both databases are now deviating from each other with different data changes.
    I don't think a 4 node RAC environment split across geographical distances is really viable, except under small transaction volumes, and where response time (transaction time) is not critical. If you have high volumes and need fast transactions then you need to only use local RAC configurations, and replicate between the two sites asynchronously. DataGuard is easier, but you need to decide if you need Streams and how to make it work for you.
    John

  • Difference between RAC and MySQL Cluster !

    Difference between RAC and MySQL Cluster
    Please write me in well explanation , with examples , needed useful link and all other stuffs.
    (1)Italian dealers/distributors for MySQL
    (2)Difference between RAC and MySQL Cluster
    (3)Pricing about MySQL and PostgreSQL
    (4)How and which type / Way to deliver support by MySQL
    (5)Security features about MySQL Vs Oracle
    (6)Management Console
    MySQL Vs Oracle
    Thanks in advance !
    MySQL Cluster

    Ha ha, most amusing.
    I suggest you try googling for answers to these things. This is a site dedicated to the Oracle database, the questions are answered by volunteers (not Oracle employees) and we are primarily geeks rather than marketing droids. If you have a specific Oracle question please feel free to post anytime.
    Thank you for your interest.
    Arrivederci, APC

  • Problems with RAC and XA: Fallback

    Hello,
    we are seing problems with RAC and XA (Tuxedo 11, DB 11.2), specifically encountering "ORA-24798: cannot resume the distributed transaction branch on another instance".
    The first scenario relates to fallback after a RAC node failure. There are two servers, S1 and S2. S1 makes an ATMI call to S2. Both servers are in the same Tuxedo group, using TMS_ORA. RAC is set up for failover (BASIC), no load balancing.
    The sequence is:
    - S1 and S2 are connected to the same RAC node n1. All is well.
    - RAC node n1 fails. S1, S2 and the TMS_ORA all fail over to RAC node n2. After the failover has happened, all is well.
    - RAC node n1 recovers. All is still well (as there is no automatic fallback).
    - S1 (or S2) is restarted (either intentionally or because of a crash). Since n1 is up again, S1 connects to n1. Now we get ORA-24798. Permanently.
    S1 is connected to n1 and S2 is connected to n2. Since both are in the same group, both use the same XA transaction branch. When called, S2 attempts to JOIN the transaction branch that S1 started. But the DB (11.2) does not allow the same branch to span more than one node. Hence the ORA-24798.
    This seems to be a severe limitation in the combination of Tuxedo, XA and RAC. It basically means we still have to use DTP services, even with Tuxedo 11 and DB 11.2. Or are we missing something?
    We could put S1 and S2 into different groups, but that seems to be inefficient, and not practical for a real application (10s of servers).
    I am extrapolating from this that RAC load balancing would also not work, as S1 and S2 could be connected to different RAC nodes.
    Roger

    Roger,
    When using an external transaction manager such as Tuxedo you should still declare Oracle services as DTP services when using Oracle Database 11g. The Tuxedo documentation is not clear about this. The relevant 11gR2 RAC documentation is at http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/hafeats.htm and states
    "An XA transaction can span Oracle RAC instances by default, allowing any application that uses the Oracle XA library to take full advantage of the Oracle RAC environment to enhance the availability and scalability of the application.
    "GTXn background processes support global (XA) transactions in an Oracle RAC environment. The GLOBAL_TXN_PROCESSES initialization parameter, which is set to 1 by default, specifies the initial number of GTXn background processes for each Oracle RAC instance. Use the default value for this parameter clusterwide to allow distributed transactions to span multiple Oracle RAC instances. Using the default value allows the units of work performed across these Oracle RAC instances to share resources and act as a single transaction (that is, the units of work are tightly coupled). It also allows 2PC requests to be sent to any node in the cluster.
    "Before Release 11.1, the way to achieve tight coupling in Oracle RAC was to use Distributed Transaction Processing (DTP) services, that is, services whose cardinality (one) ensured that all tightly-coupled branches landed on the same instance—regardless of whether load balancing was enabled. Tightly coupled XA transactions no longer require the special type of singleton services to be deployed on Oracle RAC databases if the XA application does not join or resume XA transaction branches. XA transactions are transparently supported on Oracle RAC databases with any type of service configuration.
    A"n external transaction manager, such as Oracle Services for Microsoft Transaction Server (OraMTS), coordinates DTP/XA transactions. However, an internal Oracle transaction manager coordinates distributed SQL transactions. Both DTP/XA and distributed SQL transactions must use the DTP service in Oracle RAC."
    This issue came up earlier this year in another newsgroup thread at https://forums.oracle.com/forums/thread.jspa?threadID=2165803
    Regards,
    Ed

  • RMAN support of OPS/RAC and ISD's

    Can some one point me in the right direction for any white papers, or documentation, on RMAN and its current support of OPS/RAC and/or Intelligent Storage Devices (ISD). I'm trying to do a comparison of RMAN against other third party backup and recovery software and need to find out as much as I can of RMAN support of these architectures. Thanks!

    The closest documention I have of RMAN and OPS/RAC is the Oracle Documentation. Take a look in the RAC ADMIN doc. And I talked a little bit about it in an OpenWorld paper from last year. You can find the paper @
    http://otn.oracle.com/deploy/availability/pdf/BR_OOW01_213WP.pdf
    Bottom line, RMAN supports the clustered environments the same as single instance databases. The rub is the archive log destinations. This is discussed in the RAC documentation.
    Thanks, Tammy

  • Solaris 10 and Hitachi LUN mapping with Oracle 10g RAC and ASM?

    Hi all,
    I am working on an Oracle 10g RAC and ASM installation with Sun E6900 servers attached to a Hitachi SAN for shared storage with Sun Solaris 10 as the server OS. We are using Oracle 10g Release 2 (10.2.0.3) RAC clusterware
    for the clustering software and raw devices for shared storage and Veritas VxFs 4.1 filesystem.
    My question is this:
    How do I map the raw devices and LUNs on the Hitachi SAN to Solaris 10 OS and Oracle 10g RAC ASM?
    I am aware that with an Oracle 10g RAC and ASM instance, one needs to configure the ASM instance initialization parameter file to set the asm_diskstring setting to recognize the LUNs that are presented to the host.
    I know that Sun Solaris 10 uses /dev/rdsk/CwTxDySz naming convention at the OS level for disks. However, how would I map this to Oracle 10g ASM settings?
    I cannot find this critical piece of information ANYWHERE!!!!
    Thanks for your help!

    You don't seem to state categorically that you are using Solaris Cluster, so I'll assume it since this is mainly a forum about Solaris Cluster (and IMHO, Solaris Cluster with Clusterware is better than Clusterware on its own).
    Clusterware has to see the same device names from all cluster nodes. This is why Solaris Cluster (SC) is a positive benefit over Clusterware because SC provides an automatically managed, consistent name space. Clusterware on its own forces you to manage either the symbolic links (or worse mknods) to create a consistent namespace!
    So, given the SC consistent namespace you simple add the raw devices into the ASM configuration, i.e. /dev/did/rdsk/dXsY. If you are using Solaris Volume Manager, you would use /dev/md/<setname>/rdsk/dXXX and if you were using CVM/VxVM you would use /dev/vx/rdsk/<dg_name>/<dev_name>.
    Of course, if you genuinely are using Clusterware on its own, then you have somewhat of a management issue! ... time to think about installing SC?
    Tim
    ---

  • Difference between oracle 9i Rac and 10g Rac

    Friends -
    Could you please list out what are the main differences between oracle 9i Rac and oracle 10g Rac
    Appreciate your support on this
    Regards
    satish

    hi
    check the new features document of 10g RAC
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/whatsnew.htm#sthref6
    HTH

  • Database replication between Oracle RAC and Oracle Standalone DB

    Hi,
    We have currently 4 node RAC environment and Oracle RAC implementation with 4 Oracle instances. We want to move the one instance and make it Standalone with Oracle database due to availability issue. Thus we will remain with 3 nodes on the RAC database and one Standalone database. We want to implement Oracle replication on this solution, where partial database of RAC environment needs to be replicated to Standalone node.
    We will have Oracle 9i database server for both RAC and Standalone machine.
    The partial data that we are looking for replication are of size 25GB. Some of questions we have:
    1. Is there any other replication mechanism apart from Materilzed view for this solution?
    2. Is it feasible to sychronize around 25GB data between servers?
    3. What can be estimated time for refresh or Synchronization?
    Thanks in advance for help.

    The methods that we are evaluating currently for this replication are:
    1. Multi Master replication
    2. Oracle 9i Datagaurd.
    Please let me know if we need to look for some other methods of replication also.

  • Database migration from non rac and non asm to RAC database with ASM

    HI,
    i have requirement to import one database ( db1) which running one node with out ASM and with out RAC , now i want to import that database with rman backup to another database ( db2) which running on different server with 3 node RAC and ASM ( disk group +DATA ) , can you please provide me the steps how i can migrate.? ( i have created db2 with dbca with RAC).
    regards,
    sri

    Sri,
    This could be done multiple ways. Simplest for you is to use DBCA:
    http://download.oracle.com/docs/cd/B28359_01/install.111/b28264/cvrt2rac.htm

  • Infotype 77 changes to reflect new race and ethnicity categories

    To incorporate the new race and ethnicity categories SAP note 435204 needs us to implement support pack SAPKE47063 (Release 470). However we are currently on SAP KE47060 Human Resources and NOT ready to apply SAPKE47063, is there any way we could implement the new race and ethnicity categories by applying some other oss notes.
    Thanking you in advance.

    Thank you for your feedback.
    The new Federal Changes have come up with a new field called Ethnicity in addition to field call Ethnic Origin. The config allows us only to update the Ethnic Origin. In the OSS note 435204 they talk about updating this Federal requirement using the support pack SAPKE47063 but we are currently on SAP KE47060.
    Thanks
    Pratap

  • Business continuity 11i and dataguard

    Hi,
    Is there a white paper/best practice for business continuity on 11i with single 10g instance and Dataguard solution? i've tried looking and cannot find and thing.
    thanks
    M.

    Hi,
    Please refer to:
    Note: 403347.1 - MAA Roadmap for the E-Business Suite
    Note: 464167.1 - Is Logical Standby Feature Supported For Oracle Applications Release 11i
    Comparing Oracle Data Guard vs. Active Data Guard for EBS Environments
    http://blogs.oracle.com/stevenChan/2008/10/comparing_oracle_data_guard_vs_active_data_guard_f.html
    Regards,
    Hussein

Maybe you are looking for