Mrp for RAC RAC Data guard configuration configuration

Grid infrastructure: 11.2.0.4

DB version: 11.2.0.4

OS: RHEL 6.5

Never configured dataguard to the prior CFR.

We have a production of 3 CARS DB nodes and we plan to implement a physical standby 3-node DB with real-time applies for this prod DB.

In a RAC database, we can only configure one mrp on the side waiting. Thus, apart from the day before, we decided to use Node3 to run MRP. We send redo all instances as stated above on the primary side

Configuration side Step1.Primary

Thus, in the all 3 instances of primary DB, we will configure LOG_ARCHIVE_DEST_2 as follows.

Again all 3 instances should now point to Instance3 Node3 break-in:

ALTER SYSTEM SET LOG_ARCHIVE_DEST_2 = 'service =acmsprd_dr0_tns delay LGWR SYNC AFFIRM = 0 DB_UNIQUE_NAME = acmsprd_dr0 VALID_FOR = (primary_role, online_logfile)' scope = both;

Where acmsprd_dr0_tns is the following entry of TNS. As you can see, this name TNS tip to the side instance3 ensures

acmsprd_dr0_tns =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP) (HOST = yrmst197 - vip3.apac.strcld)(PORT = 1521) .net)

)

(CONNECT_DATA =

(SERVICE_NAME = acmsprd)

(INSTANCE_NAME = acmsprd_dr03)

)

)

Configuration of Step2.Standby side:

Instance3 side Eve in Node3 in, start the MRP with real time apply

sqlplus / as sysdba

bootable media;

change the database recovery managed standby database using the current log file disconnect;

Nothing wrong with my steps above? Is there anything else I should do with respect to mrp?

Thus, apart from the day before, the RFS process in each node will apply again he received primary for SRls independently to know if the mrp runs in this node. Right?

Incorrect answer. RFS does not apply again as you said. RFS receives that again. However, RFS on all standby nodes can receive redo of any process of LNS on any node of the primary.

It is the MRP which makes it apply, no RFS.

Hi Brian,.

You said

"It is not necessary to attribute a SRL to a specific thread. This means that it is possible (and this is how I set up my backup RAC databases) for a SRL be used by any instance, no thread. »

When you configure dataguard RAC DBs Eve (or primary DBs), add you the newspapers of recovery sleep without THREAD clause as below?

alter database add standby logfile Group 1 ('+ ORL_DG1', '+ ORL_DG2') size 500M;

alter database add standby logfile Group 2 ('+ ORL_DG1', '+ ORL_DG2') size 500M;

alter database add standby logfile group 3 ('+ ORL_DG1', '+ ORL_DG2') size 500M;

I dot does not specify a thread when creating my SRls. There is no reason to do so. Just that if you have X son of your primary and each thread has groups of newspapers make there, and then create of X * Y SRL in the day before.

While you create the SRls, remember to create in primary school as well. You'll want them at the primary level to support the transition to the future operations.

If this is the case, in any node Eve RFS can apply again to roll forward pending any newspaper in the standby database. Right?

Often when people have discussions like this, it hurts ensure us that we are semantically correct otherwise, we can easily get confusing terms...

In this case, RFS can write to any SRL, since they won't be assigned to a specific thread. And the SRL is not written in alternating as the ORLs. Then you can definitely see some of the SRL files never get used if you don't have enough flow to make to justify.

I stay away from the term applies when the MRI because apply is that means MRP. Terms of mixing can sometimes lead to confusion on the road, that's why I would make sure to use the term appropriate to the discussion at hand. I started this answer indicating that RFS is not the 'applies' because of the way the term should be used. That I get to this part of your last post, I see that maybe we get mixed up words that's why I wanted to sort them.

See you soon,.
Brian

Tags: Database

Similar Questions

  • Oracle will produce Certification Exam preparation seminar for ECAS 12 c Perf Tuning, Rac, Data Guard?

    Hello

    Oracle will produce Certification Exam preparation seminar for Oracle 12 c OCÉ Perf Tuning, Rac, Data Guard?

    I took the seminar for RAC and oracle 11 GRID infrastructure certification exam.

    I was wondering if they will ever do this course of preparation for Oracle 12 c for

    * performance (1z0-064)

    * rac and grid infrastructure (1z0-068)

    * Data Guard (1z0-066)

    Thank you Roger

    I don't know if everything is still planned for the creation of the seminars review for these exams. If/when they are released, they will be announced on our blog - blogs.oracle.com/certification.

    Kind regards
    Brandye Barrington

    Oracle Certification program

  • init < SID > .ora during the Data Guard configuration - advice needed

    Hi all

    I'm looking to implement data between 2 groups CARS hold. A single cluster will be primary and the other is disaster recovery.

    I've already implemented the two 11 g R 2 RAC clusters on RHEL 5 and now need some good docs for Data Guard install tips.

    Can someone direct me to the right info step by step for custody of data between clusters RAC - detailed explanations of each of the configuration steps would be helpful too, especially around the file init.ora configuration changes between primary and DR sites

    Very appreciated

    Steve

    Hi Steve,.

    Watch MAA white papers:

    http://www.Oracle.com/technetwork/database/features/availability/Oracle-database-MAA-best-practices-155386.html

    There are resources very good in establishing CARS DG environments like:

    DataGuard 11 g Installation and Configuration best practices on Oracle RAC
    Deployment of Eve fast Oracle RAC: Oracle Database 11g Release 2
    Installation Guide: creating a day before RAC logical database for a primary database of CARS
    Failover of client in databases highly available Oracle Data Guard Configurations

    a.s.o..

    Sebastian

  • Mixed version Clusterware in Data Guard configuration

    I currently have a primary database RAC with physical relief RAC database with the database to 10.2.0.4 and Clusterware versions. I intend to move the entire stack to 11 GR 2 finally. My window of failure is limited, I plan on upgrading the Clusterware to 11.2.0.1.2 in a breakdown and the database in a second failure.

    To mitigate risk, I plan on upgrading the physical relief of Clusterware cluster version before the main cluster. This will give me confidence and timing to repeat on the main cluster.

    The resulting configuration will be: -.

    Main cluster: -.
    10.2 Clusterware/ASM/listener
    10.2 database

    Cluster relief: -.
    Clusterware/ASM/listener 11.2
    10.2 database

    Can you see any problems with this please? Other that a process of LNS 10.2 on the principal should communicate with a listener 11.2 (RFS process), I don't see why it wouldn't work.

    In general, it should not any matter having a rescue system with different version of ASM and GI, since this has nothing to do with what needs the Data Guard. Your hope is so correct.

    However, there are some problems with the 10.2 clusterware 11 GR 2 and databases:

    Please check the MOS score: 948456,1 pre 11.2 questions Database 11 GR 2 Infrastructure grid environment

    As you can see in this note, this unfortunately requires patches in 10.2 as well House...

    In addition, take care if your third disc with voting rights is based NFS. It is best to remove it before upgrading clusterware (has had a problem with that).
    Also if you have some VIPs created for your own applications (not the VIP of the oracle, they are o.k. delete them.) I've heard talk about problem trying to upgrade a cluster containing self creates some VIPs.

    Good luck. And if you encounter problems during the update let me know...

    Sebastian

  • Restore the size of the log in Data Guard configurations

    DB version: 11.2
    Platform: Solaris 10

    We have currently a DB production which is not Dataguard.It has a load of joint working: some processing OLTP and batch.
    Its size of redo log is * 100 * MB.

    We will create a database with the requirement very similair but this DB will have primary standby (Data guard) and real time applies.

    To adapt to the requirements of dataguard, we should reduce the size of the recovery online newspapers? That is to say. Transport of small pieces of roll forward is better than carrying more. Right?

    Hello;

    If you use "real-time applies" the key is not the size so that the standby Redo Logs.

    In most cases, 100 MB is fine. Newspapers to sleep again must be the same size that it again.

    With 'real time applies' SRL act as a buffer.

    Unless you have a real problem with the size of do it again I would not change it.

    An excellent source of information on this is 'Restore the Services of Transport' in ' Data Guard Concepts and Administration 11 g Release 2 (11.2) "E10700-02".

    If you believe that your logs are too big departure "Troubleshooting performance problems with the database and base/MFG MRP [ID 100964.1]"

    Best regards

    mseberg

    Published by: mseberg on May 31, 2012 11:33

  • TAF TNS entry for active data guard

    Hello world

    Need your advice on the configuration of the TNS entrance side transparent client failover of the DB in waiting in a Data Guard configuration active?

    Normally, I create a service manually and configure this service to start or stop according to the change of role of database. Then have personalities of the two sites in the entry of TNS (example below).

    TEST =

    (DESCRIPTION =

    (FAILOVER = ON)

    (ENABLE = BROKEN)

    (LOAD_BALANCE = TRUE)

    (ADDRESS = (PROTOCOL = TCP) (HOST = VIP1-SITE1)(PORT = 1521))

    (ADDRESS = (PROTOCOL = TCP) (HOST = VIP2-SITE1)(PORT = 1521))

    (ADDRESS = (PROTOCOL = TCP) (HOST = VIP1-SITE2)(PORT = 1521))

    (ADDRESS = (PROTOCOL = TCP) (HOST = VIP2-SITE2)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = TEST)

    (FAILOVER_MODE =

    (TYPE = SELECT)

    (METHOD = BASIC)

    (RETRIES = 20)

    (TIME = 2)

    )

    )

    )

    I learned this method of-> http://uhesse.com/2009/08/19/connect-time-failover-transparent-application-failover-for-data-guard/

    Is there a better way to do this? Can we achieve this using an AMT only?

    I think I found the answer. According to the document oracle practices best client failover, the service can be configured to start automatically on the standby server when the role of the db is changed. This can be achieved by creating a service with srvctl with option '-l PRIMARY' on both sites

    For example:

    Main cluster: srvctl add service d Austin s oltpworkload r - ssa1 ssa2 ssa3, ssa4-l primary SCHOOL - q TRUE EI SESSION m BASE w 10 - z 150

    Cluster of relief: srvctl add service d Houston s oltpworkload - r BSR1, ssb2, ssb3, ssb4 - l PRIMARY - q PURE EI SESSION m BASE w 10 - z 150

    Documentary link--> http://www.oracle.com/au/products/database/maa-wp-11gr2-client-failover-173305.pdf

    Also the entrance to the AMT must be created with two descriptions, one for primary and one for standby

    TNS_DG =

    (DESCRIPTION_LIST =

    (LOAD_BALANCE = OFF)

    (FAILOVER = ON)

    (ENABLE = BROKEN)

    (DESCRIPTION =

    (ADDRESS_LIST =

    (LOAD_BALANCE = ON)

    (ADDRESS = (PROTOCOL = TCP) (HOST = vip1-primarydb)(PORT = 1521))

    (ADDRESS = (PROTOCOL = TCP) (HOST = vip2-primarydb)(PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcl)

    (FAILOVER_MODE =

    (TYPE = SELECT)

    (METHOD = BASIC)

    (RETRIES = 20)

    (TIME = 2)

    )

    )

    )

    (DESCRIPTION =

    (ADDRESS_LIST =

    (LOAD_BALANCE = ON)

    (ADDRESS = (PROTOCOL = TCP) (HOST = vip1-standbydb)(PORT = 1521))

    (ADDRESS = (PROTOCOL = TCP) (HOST = vip2-standbydb)(PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcl)

    (FAILOVER_MODE =

    (TYPE = SELECT)

    (METHOD = BASIC)

    (RETRIES = 20)

    (TIME = 2)

    )

    )

    )

    )

  • Purge logs archiving on things primary and Standby and for Data Guard RMAN


    Hi, I saw a couple of orders in regard to the purge archive records in a Data Guard configuration.

    Set UP the STRATEGY of SUPPRESSION of ARCHIVE to SHIPPED to All RELIEF;

    Set UP the STRATEGY of ARCHIVELOG DELETION to APPLIED on All RELIEF;

    Q1. The above only removes logs archiving to the primary or primary and Standby?

    Q2. If deletions above archive logs on the primary, is it really remove them (immediately) or does the FRA to delete if space is needed?

    I also saw

    CONFIGURE ARCHIVELOG DELETION POLICY TO SAVED;

    Q3. That what precedes, and once again it is something that you re primary side?

    I saw the following advice in the manual of Concepts of data protection & Admin

    Configure the DB_UNIQUE_NAME in RMAN for each database (primary and Standby) so RMAN can connect remotely to him

    Q4. Why would I want my primary ro connect to the RMAN Repository (I use the local control file) of the standby? (is this for me to say define RMAN configuration settings in the Standby) manual

    Q5. Should I only work with the RMAN Repository on the primary or should I be also in things in the deposits of RMAN (i.e. control files) of the standby?

    Q6. If I am (usually mounted but not open) Physics, of standby I able to connect to its own local repository for RMAN (i.e. control based on files) while sleep mode is just mounted?

    Q7. Similiarly if I have an old lofgical (i.e. effectively read-only), to even connect to the local RMAN Repository of Eve?

    Q8. What is the most common way to schedule a RMAN backup to such an environment? example cron, planner of the OEM, DBMS_SCHEDULER? MY instinct is cron script as Planner OEM requires running the OEM service and DBMS_SCHEDULER requires the data runs?

    Any idea greatly appreciated,

    Jim

    The above only removes logs archiving to the primary or primary and Standby?

    When CONFIGURE you a deletion policy, the configuration applies to all destinations archive

    including the flash recovery area. BACKUP - ENTRY DELETE and DELETE - ARCHIVELOG obey this configuration, like the flash recovery area.

    You can also CONFIGURE an archived redo log political suppression that newspapers are eligible for deletion only after being applied to or transferred to database backup destinations.

    If deletions above archive logs on the primary, is it really remove them (immediately) or does the FRA to delete if space is needed?

    Its a configuration, it will not erase by itself.

    If you want to use FRA for the automatic removal of the archivelogs on a database of physical before you do this:

    1. make sure that DB_RECOVERY_FILE_DEST is set to FRA - view parameter DB_RECOVERY_FILE_DEST - and - setting DB_RECOVERY_FILE_DEST_SIZE

    2. do you have political RMAN primary and Standby set - CONFIGURE ARCHIVELOG DELETION POLICY to APPLY ON ALL STANDBY;

    If you want to keep archives more you can control how long keep logs by adjusting the size of the FRA

    Great example:

    http://emrebaransel.blogspot.com/2009/03/delete-applied-archivelogs-on-standby.html

    All Oracle is worth a peek here:

    http://emrebaransel.blogspot.com/

    That what precedes, and once again it is something that you re primary side?

    I would never use it. I always had it put it this way:

    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;

    I would use only 'BACKED UP' for the data protection system. Usually it tell oracle how many times to back up before removing.

    Why would I want my primary ro connect to the RMAN Repository?

    Because if you break down, you want to be able to backup there, too.

    Also if it remains idle for awhile you want.

    Should I only work with the RMAN Repository on the primary or should I be also in things in the deposits of RMAN (i.e. control files) of the standby?

    Always use a database of catalog RMAN with Data Guard.

    If I am (usually mounted but not open) Physics, of standby I able to connect to its own local repository for RMAN (i.e. control based on files) while sleep mode is just mounted?

    Same answer as 5, use a catalog database.

    Similiarly if I have an old lofgical (i.e. effectively read-only), to even connect to the local RMAN Repository of Eve?

    Same answer as 5, use a catalog database.

    What is the most common way to schedule a RMAN backup to such an environment? example cron, planner of the OEM, DBMS_SCHEDULER? MY instinct is cron script as Planner OEM requires running the OEM service and DBMS_SCHEDULER requires the data runs?

    I think cron is still, but they all work. I like cron because the database has a problem at work always reports its results.

    Best regards

    mseberg

    Summary

    Always use a database with RMAN catalog.

    Always use CRF with RMAN.

    Always set the deletion «To APPLY ON ALL STANDBY» policy

    DB_RECOVERY_FILE_DEST_SIZE determines how long to keep the archives with this configuration.

    Post edited by: mseberg

  • Options for Oracle GoldenGate and Oracle Data Guard

    Hello

    Please give me suggestions on Oracle GoldenGate vs Oracle DataGuard? Based on the options, I choose for the implementation

    Thanks in advance

    Thank you
    Vincent

    Hello

    Oracle Dataguard:

    1 primary and Standby Database must be the same. (But 11g, it supports Heteregenous Data Guard Configurations. Example: We can imeplement Oracle Data Guard between Oracle Linux 6.2 Server (x86_64) and Microsoft Windows 2008 Server R2 (x 64)

    2 oracle Database version should be same in source and target

    3. no additional license required for Oracle Data Guard to install.

    Oracle GoldenGate:

    1 operating system in the primary database and the Standby Database are not necessarily even.

    2. major databases and standby are not necessarily even. (Including database software).

    3 oracle GoldenGate Software license required in the Source code and database is target.

    Hope it helps to...

    Thank you
    LaserSoft

  • steps for Data Guard with a primary eve and 2

    Hello

    Database: 10.2.0.4, 11.2.0.1
    Operating system: Windows, Unix

    A > primary database
    B > database ensures 1
    C > database ensures 2

    I want to configure * 2 Eve * databases for the single primary database.
    Allows to take, A, B and C are my machines. My Data Guard configuration will be like, * archive logs will be mobile * A to B and A to C.

    If I do all passage between and B , now that b is primary and remaining has and C are pending data bases. At this point also, Archives of the newspapers should move from B to A and B to C. In addition, even should arrive from C to A and C to B, if I make the passage between B and C. If all goes well, then I'll do switchback to the main database (A) primary.

    How should I mention PFILE in all machines , parameters like
    LOG_ARCHIVE_DEST_1 = LOCATION = < PATH > - LOCAL path ARCHIVE
    LOG_ARCHIVE_DEST_2 = SERVICE =
    LOG_ARCHIVE_DEST_3 = SERVICE =
    FAL_SERVER =
    FAL_CLIENT =
    STANDBY_FILE_MANAGEMENT =

    In my tnsnames.ora , primary, standby1 standby2 my service entrances and are even in all of my machines.

    Please suggest me, how can configure my pfiles in machines?

    Thank you
    Therese

    Please don't forget to update the thread with useful or correct, if you find the answer either.

    Kind regards
    SQuadri

  • Data Guard environment connection

    How should I make a data hold on patch?
    Our environment is RHEL 5.4, NON-RAC physical 1 and 2 Standby Active.

    I think since we have no quarterly maintenance windows for:
    (1) arrest Data Guard
    (2) patch and confirm each relevant databases
    (3) restart data guard


    Anyone can share there thoughts and experiences?

    Thanks in advance.

    You can find the exact in measurements
    How do you apply a group of patches, the power supply or the CPU in a configuration of data secondary physical custody [278641.1 ID]

  • Digital switchover and Active Data Guard

    I spin a quarter-Exadata V2 support systems (two instances CARS) and am changing my sleep Physics (an Exadata V1 rack with four RAC instances) in an Active Data Guard configuration (i.e. bearer Real - Time Query). The RDBMS runs 11.2.0.2 with BP7.

    My question is if I need to disable RTQ/Active Data Guard before a planned failover? If this is not the case, the transition process will automatically start QTR on the 'new' standby (i.e. my 'old' primary)? We'll test this on next month, but he was curious to know what to expect in advance.

    I use DGMGRL (Data Guard Broker) to manage the transition to digital.

    Any thoughts?

    Mark

    If you use the broker, as you must do with RAC, the broker must manage everything seamlessly. If it's not, and you need to test this, open an SR with Oracle's Support.

  • Data Guard - allocation of licenses and other fundamental questions before setting it up.

    Hi all

    Please allow me to submit some questions about Oracle Data Guard.

    There are 2 databases 'authorized and ready ':

    -a single instance of the "alfa", Oracle Enterprise Edition 10.2 database,

    -"bravo", Oracle 10.2 Enterprise Edition, Real Application Clusters database

    I have to "align" congratulations to alfa on a daily basis, so that--in case of failure of the main 'alfa' site - recovery is possible change to the site "bravo."

    (1) even if we can afford a loss of data corresponding to the period little uttered at the end of the last daily alignment (no need to 'transactional' alignment between the two databases), I assume that the best approach to meet this need in terms of efficiency and manageability consists on two databases including in a Data Guard configuration.

    Am I wrong?

    (2) in particular, the physical implementation of the standby database must be preferred over logic, because that "simpler and faster" in this case. Am I wrong?

    (3) only the Data Guard configuration require

    (a) additional licenses?

    (b) additional material/software resources for host machines?

    (5) the release of two databases must be equal to the specific to the component version number (10.2.0.1, for example)? Or, for example, is a 10.2.0.1 able to work with a 10.2.0.3 db db in the Data Guard configuration?

    Thank you very much in advance!

    Marco mazzocchi

    Hello

    (1) even if we can afford a loss of data corresponding to the period little uttered at the end of the last daily alignment (no need to 'transactional' alignment between the two databases), I assume that the best approach to meet this need in terms of efficiency and manageability consists on two databases including in a Data Guard configuration.

    Am I wrong?

    You have reason, physical hosting it good thing. For the most part, you will get impact with until or unless data loss because of some problems of network (or a configuration problem)

    (2) in particular, the physical implementation of the standby database must be preferred over logic, because that "simpler and faster" in this case. Am I wrong?

    Logical standby is a little different from the physical standby mode

    (3) only the Data Guard configuration require

    (a) additional licenses?

    (b) additional material/software resources for host machines?

    Data features come with Enterprise Edition - perhaps for the active database "cost of the additional license.

    https://docs.Oracle.com/CD/E11882_01/license.112/e47877/editions.htm#DBLIC109

    (5) the release of two databases must be equal to the specific to the component version number (10.2.0.1, for example)? Or, for example, is a 10.2.0.1 able to work with a 10.2.0.3 db db in the Data Guard configuration?

    Good level to maintain the same level of oracle binaries / patches and still the support of heterogeneous DG

    -Pavan Kumar N

  • ORACLE DATA GUARD

    Hello everyone

    Je challenge me make a lab for learn ORACLE DATA GUARD technically, my question is what is possible to make this work between two VM Machine,

    If Yes so What are the Prerequisites at the end of success in this challenge

    thnx

    It is quite possible. I myself learned per virtual machine.

  • Control grid agent and Data Guard in montage mode

    Hello

    I would like to know how you handle your data security when you don't have the license for the active data guard with grid control agents. The database pending is in montage mode, so the agents cannot query the database.

    What you guys do in such cases? Remove the agent? Or wait a failover?

    I think

    Sources:

    How to change the DBSNMP control user to another user for grid-control targets? [370234.1 ID]

    WARNING: The Dbsnmp user doesn't have privileges to monitor this data base [ID 604389.1]

    Best regards

    mseberg

  • Data Guard and EHCC on Exadata - does work?

    Exadata Hybrid columnar Compression (OHCC) works when a database is in mode "force logging?

    I fear that it may not work because OHCC works only for inserts in direct mode, which means me no logging.

    We are in the process of purchasing a vault Exadata, a second target Data Guard.

    V11.2 documentation Data Guard is specifically stated that Data Guard doesn't support hybrid columnar compression, but I don't know what are the implications of this.

    I expect to have to solve the primary database Machine for 'forcing logging' Data Guard will be used.

    DataGuard physical or logical?

    Oracle fully supports data Guard physical standby and hybrid columnar Compression on Exadata.

    Direct support issues that may exist with Data Guard logic and therefore, at least at the present time, logic is not supported.

    The above is to the best of my knowledge that I don't have access to the documentation of the Exadata. But was certainly true of my
    last experience of HCC. Your Oracle sales representative should be able to provide the definitive answer quickly and I would be grateful
    post you here.

Maybe you are looking for