Data Guard & Real Application Clusters

Hello, I have a problem with my configuration of data protection. I'm setting up data guard in a RAC
but I don'n know configured how do it again by sending to the standby database.
I would like to than all the documentation on the subject.
Thank you.

Here are some links:

http://www.Oracle.com/technology/deploy/availability/PDF/MAA_WP_10g_RACPrimaryRACPhysicalStandby.PDF
http://www.Oracle.com/technology/deploy/availability/PDF/MAA_WP_10g_RACPrimarySingleInstancePhysicalStandby.PDF

And of course, there is the Manual:

http://download.Oracle.com/docs/CD/E11882_01/server.112/e10700/TOC.htm

See Chapter 3 and annexes D and F.

Larry

Tags: Database

Similar Questions

  • EBS on Real Application Clusters running

    Is there than a practice paper for the establishment of EBS on CARS?

    Thank you

    Hello

    Please refer to these docs.

    Oracle E-Business Suite and Oracle Real Application Clusters Documentation Roadmap [ID 745759.1]
    Oracle E-Business Suite Release 11i high availability Documentation Roadmap [ID 1072807.1]
    Oracle E - Business Suite Release 12 high availability Documentation Roadmap [ID 1072636.1]

    Thank you
    Hussein

  • ORA-00439: feature not enabled: Real Application Clusters

    Hi friends,
    I installed Oracle 10 g server on my PC without RAC configuration. To enable archiving only after a command, I have published.

    "Alter system set Cluster_Database = True Scope = spfile"

    It was working well but when I tried to start the database by using connect as sysdba and "statup" command it gives following error.

    "ORA-00439: feature not enabled no: Real Application Clusters.

    Please help me on this issue.

    CLUSTER_DATABASE parameter is not bound to the Archives of the newspapers (assuming that's what you mean by 'activate archiving'). So I don't know why you set this in the first place.

    Given that the CAR is not installed and CLUSTER_DATABASE required by CARS, the error you are getting is not surprising. You'll want to change the parameter to false.

    Justin

  • Differences between Oracle Real Application Clusters 11 g 1 material and GR 11, 2

    Hi Experts,

    Please give me the differences between RAC Oracle 11 GR 1 material and GR 11, 2.

    Thanks in advance,

    Kalashnikoff.

    From GR 11 1 11 GR 2 material, there is not much on the side of the data base which is different with respect to Oracle RAC. Which means that anything like that again for a server Oracle 11 g RAC 2 is too new for an Oracle 11 GR one-time 2 server.

    On the side of the grid Infrastructure, the biggest difference is the introduction of the listener SCAN.

    See you soon,.

    Brian

  • Real Application Clusters configuration

    Hello world

    How to create a database with RAC?

    I have work experience in oracle 9i, but I am trying to create a database with RAC. Can someone give me the steps to do so.


    Thank you

    You already have a RAC cluster set up for you? Because you need to create a RAC database. I would say that, like others to begin with the docs. To create the db, all you need is run DBCA which can create a stand-alone database and a RAC database as well.

    HTH
    Aman...

  • 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 Real Application Testing

    I capture a 10.2.0.5 RAC workload and try to play again on a RAC 11.2.0.3. All the Docs describe going from a stand-alone node RAC and all steps to do. However, I can't find anything describing the JAR to the CARS process.

    Any help would be appreciated.
    Thank you

    user12006502 wrote:
    I capture a 10.2.0.5 RAC workload and try to play again on a RAC 11.2.0.3. All the Docs describe going from a stand-alone node RAC and all steps to do. However, I can't find anything describing the JAR to the CARS process.

    Any help would be appreciated.
    Thank you

    It's there, you just need to look around for it (and probably do some reading).

    Things like
    http://docs.Oracle.com/CD/E11882_01/server.112/e16540/dbr_capture.htm#CACICAAC
    "
    Capture the workload that only one can be carried out at any time. If you have an Oracle Real Application Clusters (Oracle RAC) configuration, workload capture is performed for all of the database. To allow a clean state before you begin to capture the workload, all instances must be restarted.
    "

    and

    http://docs.Oracle.com/CD/E11882_01/server.112/e16540/dbr_replay.htm#CHDBCADJ
    "
    For Oracle Real Application Clusters (Oracle RAC) databases, you can map all the connection strings to a load balancer connection string. This is particularly useful if the number of nodes on the Replay system is different from the capture system. Alternatively, if you want to run the workload to specific instances, you can use the services or explicitly specify the instance identifier in remapped connection strings.
    "

    See you soon,.

  • Problem link DB between active Data Guard and reports application database

    My version of the 11.2.0.2.0 and OS database is Oracle Solaris 10 9/10.
    I am facing a problem in my custody of data Active data base for purposes of tax. Active Data guard information is as below.

    SQL > select name, database_role, open_mode from v$ database;

    NAME DATABASE_ROLE OPEN_MODE
    --------- ---------------- --------------------
    ORCL PHYSICS READ SHALL ONLY APPLY

    Detail of the problem is less than
    ------------------------------
    I have created a db link (name: DATADB_LINK) between active data guard and report of application of data base for purposes of tax.
    SQL > create database DATADB_LINK link to connect to HR identified by HR using 'DRFUNPD ';
    Database link created.

    But when I run a query using db link to my database of enforcement report I got this error below.

    ORA-01555: snapshot too old: rollback segment number 10 with the name ' _SYSSMU10_4261549777$ ' too small
    ORA-02063: preceding the line of DATADB_LINK

    Then I see logfile named database alart Active Data Guard and get below error

    ORA-01555 caused by the following SQL statement (SQL ID: 11yj3pucjguc8, time of request = 1 sec, SNA: 0x0000.07c708c3): SELECT "A2". "' BUSINESS_TRANSACTION_REFERENCE ', 'A2 '. "' BUSINESS_TRANSACTION_CODE ', MAX (CASE 'A1'. "TRANS_DATA_KEY"WHEN "feature' AND 'A1'." " END OF TRANS_DATA_VALUE"), MAX (CASE 'A1'. "TRANS_DATA_KEY" WHEN 'otherFeature' THEN 'A1' '. "" END OF TRANS_DATA_VALUE")

    But the interesting point if I run the query report directly in the Active Data Guard database, I got never error.

    So it's a problem of link DB between active Data Guard and other databases?

    Fazlul Kabir Mahfuz wrote:
    My version of the 11.2.0.2.0 and OS database is Oracle Solaris 10 9/10.
    I am facing a problem in my custody of data Active data base for purposes of tax. Active Data guard information is as below.

    SQL > select name, database_role, open_mode from v$ database;

    NAME DATABASE_ROLE OPEN_MODE
    --------- ---------------- --------------------
    ORCL PHYSICS READ SHALL ONLY APPLY

    Detail of the problem is less than
    ------------------------------
    I have created a db link (name: DATADB_LINK) between active data guard and report of application of data base for purposes of tax.
    SQL > create database DATADB_LINK link to connect to HR identified by HR using 'DRFUNPD ';
    Database link created.

    But when I run a query using db link to my database of enforcement report I got this error below.

    ORA-01555: snapshot too old: rollback segment number 10 with the name ' _SYSSMU10_4261549777$ ' too small
    ORA-02063: preceding the line of DATADB_LINK

    Then I see logfile named database alart Active Data Guard and get below error

    ORA-01555 caused by the following SQL statement (SQL ID: 11yj3pucjguc8, time of request = 1 sec, SNA: 0x0000.07c708c3): SELECT "A2". "' BUSINESS_TRANSACTION_REFERENCE ', 'A2 '. "' BUSINESS_TRANSACTION_CODE ', MAX (CASE 'A1'. "TRANS_DATA_KEY"WHEN "feature' AND 'A1'." " END OF TRANS_DATA_VALUE"), MAX (CASE 'A1'. "TRANS_DATA_KEY" WHEN 'otherFeature' THEN 'A1' '. "" END OF TRANS_DATA_VALUE")

    But the interesting point if I run the query report directly in the Active Data Guard database, I got never error.

    So it's a problem of link DB between active Data Guard and other databases?

    Check this statement that applies to your environment

    * ORA-01555 on Active Data Guard Standby Database [1273808.1 ID] *.

    also

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:8908307196113

  • Data Guard - journal not attributed to primary school

    Data Guard

    ==========

    When I run

    Select count (*) from v$ archived_log in case of application = 'NO' on the primary, I had more than 3000 results.

    the day before I got only one (but that another question I am trying to solve with the help of the Oracle).

    is that normal or what? its something about a new database that you install for the study, but its another thing on a database that worked for awhile and I recently presented to it.

    one thing is sure that the archive log is shipped on the eve and applied in real time. and also switch are fine (SUCCESS). the mark in the data manager Guard gives also the success, but wan't the right answer is '0' or no line selected, right?

    Thank you.

    Hello

    The fact that your query returns more than 3000 is not necessarily say that there is no problem because when you query v$ archived_log it will always report "N" for the destinations of local newspaper archive, you should check for APPLIED only = "" and standby_dest = 'YES '.

    If your update query should be:

    Select count (*) from v$ archived_log in case of application = 'NO' and standby_dest = 'YES '.

  • Grid d? infrastructure is needed for Active Data Guard fast failover?

    Hello

    I'm currently deploying an Active Data Guard of 11 GR 2 configuration with a captain and two slaves physical standby and failover accelerated for a Java JDBC application. Each instance has a read-only service that is always active and a service of reading / writing that is activated only on the master:

    srvctl add service -d smsgsig1 -s smsgro -l PRIMARY,PHYSICAL_STANDBY -e NONE -m NONE
    srvctl add service -d smsgsig1 -s smsgrw -l PRIMARY -e SELECT -m BASIC -w 10 -z 150
    

    Initially, I had planned to use the Service of Notification of Oracle (ONS) to notify the application in case of change of master, that works, however, after a few tests, it seems that simply leave the retry request enough times in the case of a connection failure is sufficient to re-connect to the new master afterwards, in order to complete any pending transaction.

    So my question is: since I plan not to use ADD-ONS, do I have the grid infrastructure and Oracle Restart at all to deploy Active Data Guard? The documentation does not explicitly require it, and all the necessary tools, including srvctl, exist in the plain 11 GR 2 home. However the mechanism of activation/deactivation of the service will work without restart? To be honest, I don't think it would be, but that this would simplify the deployment, a little, I thought it would be good to ask :-)

    Thank you for your understanding,

    Chris

    Hello;

    The simple answer is no, I could consider changing my order srvctl.

    EI SESSION (type switching must be set to both)

    m BASIC (set on both)

    l PHYSICAL_STANDBY (isn't one of yours in this service role?)
    z - 15 (150 retrys seems too high)

    q (the value TRUE or FALSE)

    w (set on both)

    srvctl add service d smsgsig1 s smsgro-l PRIMARY - SESSION - q TRUE m BASE w 10 EZ 15

    srvctl add service d smsgsig1 s smsgrw-l PHYSICAL_STANDBY - q REAL - m BASE w 10 EZ 15 SESSION

    Best regards

    mseberg

  • How to move from Data Guard time really apply (restore) to archive the journal

    Hello

    Standby database configured with broker and application really remake in time; However, I want to change it to archive the journal apply mode without losing the broker configuration. Is this possible? If it is not possible to use the broker to make archive log apply, I can remove the broker and use Data Guard to set up the day before to use the archive log apply?

    Concerning

    Hello;

    Broker automatically allows real-time applies to databases on hold if the standby database has standby redo logs configured.

    Stop repeat applies

    DGMGRL> EDIT DATABASE 'PRIMARY' SET STATE='APPLY-OFF';
    

    Repeat restart applies broker

    DGMGRL> EDIT DATABASE 'PRIMARY' SET STATE='APPLY-ON';
    

    In order to get rid of standby redo logs would be a way. I would like to leave myself alone. Real time assistance to prevent the loss of data.

    Best regards

    mseberg

  • Data Guard archive political deletion log

    Hi all

    I configured the data guard with 2 bases Eve in oracle 11g.

    I want to use rman to delete archives on all servers.

    I have configured no FRA, no recovery catalog.

    My question is:

    If I delete waiting til sequence # 1627 and on primary sequence til = # = 1620 or vice versa this would cause problems for Data Guard.

    I say delete until the different sequences # on primary and standby cause problems for synchronization?

    Thank you

    So if I understand delete archivelog to sysdate - or delete archivelog all completed before sysdate n is not the archivelog deletion policy you put on RMAN?

    She depends on it. The note was made at the base of the MOS document how ensure that RMAN is NOT delete archived logs that have not yet shipped to standby mode (Doc ID 394261.1)

    Delete archivelog to sysdate - depends on all of the deletion policy. If the deletion policy is set on "applied pending all", then it does not delete the archives, if they are not applied on the day before. If the deletion policy is set to none, then it does not check if the archive is applied on the eve and deletes them directly.

    Last Archive generated on primary:

    SYS@oraprim > select max(sequence#) from v$ archived_log;

    MAX(SEQUENCE#)

    --------------

    114

    Last check-in applied in mode ensures:

    SYS@orastb > select max(sequence#) from v$ archived_log in case of application = 'YES ';

    MAX(SEQUENCE#)

    --------------

    109

    Delete policy set to NONE on primary:

    RMAN > show archivelog deletion policy;

    using the control file of the target instead of recovery catalog database

    RMAN settings for database with db_unique_name ORAPRIM are:

    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY;

    RMAN > delete archivelog until 'sysdate;

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 60 type of device = DISK

    List copies of newspapers archived to database with db_unique_name ORAPRIM

    =====================================================================

    Thrd Seq S key low time

    ------- ---- ------- - ---------

    110-1-214 A JANUARY 13, 16

    Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_110.318.901050727

    216-1-111 A JANUARY 13, 16

    Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_111.317.901050731

    217-1-112 A JANUARY 13, 16

    Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_112.316.901050731

    113. OF 1 219 A 13 JANUARY 16

    Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_113.315.901050733

    222 1 114 A JANUARY 13, 16

    Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_114.314.901050737

    You sure you want to delete the items above (enter YES or NO)? NO.

    It is the removal of primary archives that have not yet been applied on the eve.

    Delete policy 'APPLIES ON STANDBY ALL' value on the primary:

    RMAN > show archivelog deletion policy;

    RMAN settings for database with db_unique_name ORAPRIM are:

    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;

    RMAN > delete archivelog until 'sysdate;

    output channel: ORA_DISK_1

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 60 type of device = DISK

    RMAN-08120: WARNING: log archived not deleted, not yet applied watch

    Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_110.318.901050727 thread = 1 sequence = 110

    RMAN-08120: WARNING: log archived not deleted, not yet applied watch

    Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_111.317.901050731 thread = 1 sequence = 111

    RMAN-08120: WARNING: log archived not deleted, not yet applied watch

    Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_112.316.901050731 thread = 1 sequence = 112

    RMAN-08120: WARNING: log archived not deleted, not yet applied watch

    Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_113.315.901050733 thread = 1 sequence = 113

    RMAN-08120: WARNING: log archived not deleted, not yet applied watch

    Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_114.314.901050737 thread = 1 sequence = 114

    It checks if the archive has been applied on the day before. As the 110 to 114 sequence is not applied in the waiting, the archives are not deleted on the primary.

    Hope that gives you a clear picture of how it works.

    -Jonathan Rolland

  • Data Guard and auditor of the Apex

    Hi all

    I seem to be unable to understand the configuration of parameters for protective Apex listener when connecting to a database.

    We have a lot of servers of databases (without data guard) and we use the command line Wizard to generate the configuration file. It's straigthforeward and
    easy. We enter the server, port, and Service_name and it works.

    But for a guard database, there are two servers and I seem to be unable to set it in the right way. After doing some research I came across the parameter apex.db.customURL which should solve the problem.

    I removed the references to the server, port, and Service_name and put the key in.

    The result were errors of connection due to some incorrect port settings.

    SEVERE: The pool named: apex is not properly configured, error: IO error: format invalid number for the port number

    oracle.dbtools.common.jdbc.ConnectionPoolException: the pool named: apex is not properly configured, error: IO error: format invalid number for the port number

    at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(ConnectionPoolException.java:65)

    What Miss me?

    Thank you
    Michael

    (Here's the rest of our configuration :)

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

    < ! DOCTYPE SYSTEM property "http://java.sun.com/dtd/properties.dtd" > ""

    Properties of <>

    < comment > saved on Mon Oct 19 18:28:41 CEST 2015 < / comment >

    < key "debug.printDebugToScreen entry" = > false < / entry >

    < key "security.disableDefaultExclusionList entry" = > false < / entry >

    < key = "db.password entry" > @055EA3CC68C35F70CF34A203A8EE1A55D411997069F6AE9053B3D1F0B951D84E0E < / entry >

    < key = "enter cache.maxEntries" > 500 < / entry >

    < key = "enter error.maxEntries" > 50 < / entry >

    < key = "enter security.maxEntries" > 2000 < / entry >

    < key = "cache.directory entry" > / tmp/apex/cache < / entry >

    < enter key = "jdbc. DriverType"> thin < / entry >

    < key = "enter log.maxEntries" > 50 < / entry >

    < enter key = "jdbc. MaxConnectionReuseCount"> 1000 < / entry >

    < key "log.logging entry" = > false < / entry >

    < enter key = "jdbc. InitialLimit' > 3 < / entry >

    < enter key = "jdbc. MaxLimit' 10 > < / entry >

    < key = "enter cache.monitorInterval" 60 > < / entry >

    < key = "enter cache.expiration" > 7 < / entry >

    < key = "enter jdbc.statementTimeout" > 900 < / entry >

    < enter key = "jdbc. MaxStatementsLimit' 10 > < / entry >

    < key = "misc.defaultPage entry" > apex < / entry >

    < key = "misc.compress" / entry >

    < enter key = "jdbc. MinLimit"> 1 < / entry >

    < key = "cache.type entry" > lru < / entry >

    < key "cache.caching entry" = > false < / entry >

    < key "error.keepErrorMessages entry" = > true < / entry >

    < key = "cache.procedureNameList" / entry >

    < key = "cache.duration entry" > days < / entry >

    < enter key = "jdbc. InactivityTimeout"1800 > < / entry >

    < key "debug.debugger entry" = > false < / entry >

    < key = "enter db.customURL" > JDBC: thin: @(DESCRIPTION = (ADDRESS_LIST = (ADRESSE = (COMMUNAUTÉ = tcp.world) (PROTOCOL = TCP) (host = DB-ENDUR) (Port = 1520)) (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL=TCP) (Host = DB-ENDURK) (PORT = 1521)) (LOAD_BALANCE = off)(FAILOVER=on)) (CONNECT_DATA = (SERVICE_NAME = ENDUR_PROD.) VERBUND.CO. «"" AT))) < / entry >»»»

    < / properties >



    Hi Michael Weinberger,

    Michael Weinberger wrote:

    I seem to be unable to understand the configuration of parameters for protective Apex listener when connecting to a database.

    We have a lot of servers of databases (without data guard) and we use the command line Wizard to generate the configuration file. It's straigthforeward and
    easy. We enter the server, port, and Service_name and it works.

    But for a guard database, there are two servers and I seem to be unable to set it in the right way. After doing some research I came across the parameter apex.db.customURL which should solve the problem.

    I removed the references to the server, port, and Service_name and put the key in.

    Keep the references the server name, port and service. No need to delete.

    The result were errors of connection due to some incorrect port settings.

    SEVERE: The pool named: apex is not properly configured, error: IO error: format invalid number for the port number

    oracle.dbtools.common.jdbc.ConnectionPoolException: the pool named: apex is not properly configured, error: IO error: format invalid number for the port number

    at oracle.dbtools.common.jdbc.ConnectionPoolException.badConfiguration(ConnectionPoolException.java:65)

    What Miss me?

    You must create two entries in the configuration file "defaults.xml" for your ADR (formerly APEX Listener).

    One for db.connectionType and, secondly, for db.customURL, for example:

    customurl
    jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=
    (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(HOST=DB-ENDUR)(Port = 1520))
    (ADDRESS=(COMMUNITY=tcp.world)(PROTOCOL=TCP)(HOST=DB-ENDURK)(PORT = 1521))
    (LOAD_BALANCE=off)(FAILOVER=on))(CONNECT_DATA=(SERVICE_NAME=ENDUR_PROD.VERBUND.CO.AT)))
    

    Reference: http://docs.oracle.com/cd/E56351_01/doc.30/e56293/config_file.htm#AELIG7204

    NOTE: After you change the configuration file, don't forget to restart independent ADR / Java EE application server support if ADR is deployed on one.

    Also check if your URL for a JDBC connection is working properly and if there are any questions, you can turn on debugging for ADR:

    Reference:

    Directed by Tony, you should post the ADR related questions to the appropriate forum. Reference: ADR, SODA & JSON in the database

    You can also move this thread on the forum of the ADR.

    Kind regards

    Kiran

  • 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)

    )

    )

    )

    )

  • Data Guard observer: OK to install the OEM CC Server?

    I've been around Oracle databases for many years, but am new to Data Guard. I have successfully set up my two 12 c (on Windows 2012) new database servers and installed Enterprise Manager Cloud control 12 c on a VM of Windows 2012, created my database empty, empty new on the server principal and used OEMCC to create a watch physical on the secondary database server. So far, so good... everything works as expected. The application provider is now wanting me to allow fast failover which means that I have to install L'Observateur keep data on a computer somewhere is there a reason why I cannot / should not install the BDG on my server OEMCC itself?

    I don't see any problem as long as the observer is on a different physical machine in the primary/secondary site.

    Ivica

Maybe you are looking for