EBS 11i (11i.10.2) Data Guard Switchover testing with Database 10gR2.

In my new job, I have to test DG switchover and with EBS 11i.
I know the database switchover part very well, but I don't know what needs to be done for 11i applications after switching from primary server to the standby server.
Please guide me what steps/procedures needs to be followed to switchover 11i applications to the standby site after the database switched over to standby database?
Both the database and the 11i applications installed on primary Linux server and the same architecture on the separate secondary Linux server.
Thanks,

Please also see:
Business Continuity for Oracle E-Business Release 11i Using Oracle 11g Physical Standby Database - Single Instance and Oracle RAC [ID 1068913.1]
Oracle E-Business Suite Release 11i High Availability Documentation Roadmap [ID 1072807.1
Thanks,
Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • DB link problem between active Data Guard and report application database

    My database version in 11.2.0.2.0 and OS is Oracle Solaris 10 9/10.
    I am facing a problem in my Active data guard Database for reporting purpose. Active Data guard information is as below.
    SQL> select name, database_role, open_mode from v$database;
    NAME DATABASE_ROLE OPEN_MODE
    ORCL PHYSICAL STANDBY READ ONLY WITH APPLY
    Problem detail is below
    I have created a db link (Name: DATADB_LINK) between active data guard and report application database for reporting purpose.
    SQL> create database link DATADB_LINK connect to HR identified by hr using 'DRFUNPD';
    Database link created.
    But when I run a query using db link from my report application database I got this below error.
    ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10_4261549777$" too small
    ORA-02063: preceding line from DATADB_LINK
    Then I check Active Data Guard database alart log file and get below error
    ORA-01555 caused by SQL statement below (SQL ID: 11yj3pucjguc8, Query Duration=1 sec, SCN: 0x0000.07c708c3):SELECT "A2"."BUSINESS_TRANSACTION_REFERENCE","A2"."BUSINESS_TRANSACTION_CODE",MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'feature' THEN "A1"."TRANS_DATA_VALUE" END ),MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'otherFeature' THEN "A1"."TRANS_DATA_VALUE" END )
    But the interesting point if I run the report query directly in Active Data Guard database, I never got error.
    So is it a problem of DB link between active Data Guard and other database?

    Fazlul Kabir Mahfuz wrote:
    My database version in 11.2.0.2.0 and OS is Oracle Solaris 10 9/10.
    I am facing a problem in my Active data guard Database for reporting purpose. Active Data guard information is as below.
    SQL> select name, database_role, open_mode from v$database;
    NAME DATABASE_ROLE OPEN_MODE
    ORCL PHYSICAL STANDBY READ ONLY WITH APPLY
    Problem detail is below
    I have created a db link (Name: DATADB_LINK) between active data guard and report application database for reporting purpose.
    SQL> create database link DATADB_LINK connect to HR identified by hr using 'DRFUNPD';
    Database link created.
    But when I run a query using db link from my report application database I got this below error.
    ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10_4261549777$" too small
    ORA-02063: preceding line from DATADB_LINK
    Then I check Active Data Guard database alart log file and get below error
    ORA-01555 caused by SQL statement below (SQL ID: 11yj3pucjguc8, Query Duration=1 sec, SCN: 0x0000.07c708c3):SELECT "A2"."BUSINESS_TRANSACTION_REFERENCE","A2"."BUSINESS_TRANSACTION_CODE",MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'feature' THEN "A1"."TRANS_DATA_VALUE" END ),MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'otherFeature' THEN "A1"."TRANS_DATA_VALUE" END )
    But the interesting point if I run the report query directly in Active Data Guard database, I never got error.
    So is it a problem of DB link between active Data Guard and other database?
    Check this note which is applicable for your environment
    *ORA-01555 on Active Data Guard Standby Database [ID 1273808.1]*
    also
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8908307196113

  • Data Guard - Grid Control - Standby database

    Heys,
    now I have to RAC Clusters. The next step would be to setup a standby database to prepare a graceful switchover.
    But what are the next steps ?
    I am currently installing GridControl on a seperate host with the option: Enterprise Manager10g Grid Control Using an Existing Database
    The installation is still running....
    What are the steps ? Any documentation ? Any tutorials ?
    Do I need to install agents on each client in the cluster ?
    What about the name resolution ?
    Any listener configuration necessary ?
    Is the configuration done via data guard command line ?
    Christian

    Bear in mind that the standby creation wizard in Grid Control will only create a non-RAC standby. Once you get to Grid Control 10.2.0.5 and your databases are in 11g you will be able to use the Grid Control convert to RAC wizard on your standby. Prior to that you will have to convert the standby to RAC manually or follow the above mentioned paper and create the standby by hand and then import it into Grid Control.
    Larry

  • 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 Broker fails with ORA-16635 and ORA-03135

    Hi All,
    I configured Oracle RAC with Dataguard 11.2 on Windows 2003.
    I've already configured Standby without Data Guard Broker and everything is working fine, but when I try to use Data Guard Broker, he can not synchronize the files from the Data Guard Broker.
    I've tried everything including MOS, but not found anything.
    I'm getting this error.
    From Primary
    DG 2011-02-11-09:15:41        0 2 0 NSV1: (MIV = 57) Start sending metadata file: "+DG_DATA/orcl/dgbroker/dg_config_file1.dat"
    DG 2011-02-11-09:15:41        0 2 0 NSV1: Sending block #1 (containing MIV = 57), 67 blocks
    DG 2011-02-11-09:15:42        0 2 0 NSV1: Error sending block #1, size 67 blocks. Error is ORA-16635.
    DG 2011-02-11-09:15:42        0 2 0 NSV1: Current network link for metadata resync is broken.
    DG 2011-02-11-09:15:42        0 2 0 NSV1: (MIV = 57) End metadata file transmission: opcode CTL_ENABLE (1.1.1825138532)
    DG 2011-02-11-09:15:42        0 2 0 NSV1: Can't send CLOSE message to DRCX. Network error is: ORA-16635.
    DG 2011-02-11-09:15:42        0 2 0 NSV1: Error is ORA-03135 connection lost contact
    DG 2011-02-11-09:15:42        0 2 0 NSV1: Current network link for metadata resync is broken.From Standby
    DG 2011-02-11-08:35:39  3001000 3 1825138419       for opcode = CTL_ENABLE, phase = RESYNCH, req_id = 1.1.1825138419
    DG 2011-02-11-08:35:39        0 2 0 NSV2: Error sending block #1, size 67 blocks. Error is ORA-16635.
    DG 2011-02-11-08:35:39        0 2 0 NSV2: Current network link for metadata resync is broken.
    DG 2011-02-11-08:35:39        0 2 0 NSV2: (MIV = 11) End metadata file transmission: opcode CTL_ENABLE (1.1.1825138419)
    DG 2011-02-11-08:35:39        0 2 0 NSV2: Can't send CLOSE message to DRCX. Network error is: ORA-16635.
    DG 2011-02-11-08:35:39        0 2 0 NSV2: Current network link for metadata resync is broken.
    DG 2011-02-11-08:35:39        0 2 0 NSV2: Metadata Resync failed. Status = ORA-16635
    DG 2011-02-11-08:35:39  3001000 3 1825138419 DMON: Database ORCLSTBY returned ORA-16635

    Hi,
    Are you using firewall between Hosts?
    If yes check if firewall is blocking yours connections.
    Set the following parameter in the sqlnet.ora file that would be referenced by each database, primary and standby.
    SQLNET.EXPIRE_TIME=n
    Where n is some number of minutes. Preferably below 10. When this parameter is enabled, a small 10 byte probe packet will be sent from node to node at specific intervals.
    Regards,
    Levi Pereira

  • Physical Data Guard as Test Database?

    I am in a new shop and the first DBA in the shop. On the first day I see that they have ‘tablespace full’ problems because people are running test jobs on the production database – reports, I hope!
    This is a 10g database on hp/ux.
    I will suggest that I create a proper test database as a physical standby database from production. The amount of data in the production database is not enormous. There is just a need to create a test system good enough to pull the testers off the production system.
    But what about the day that someone mangles the test system? How do you get a physical standby database back in sync? Restore from backup and reapply logs? Recreate the standby from production? Or is there a better way to do all this than physical standby?
    TYIA

    1) Running reports should never cause tablespaces to fill up. Selecting data doesn't cause any data to be written to tablespaces. You might get errors related to exhausting the TEMP tablespace if the reports are doing a lot of sorts, but it doesn't sound like that's what you're seeing.
    2) You would not normally create a test database as a standby of the primary database. Normally, you would take a backup of the production database and restore that backup on to the test server, rename the database, and open it up as the test system. Assuming you're using RMAN to back up the production database, this should be relatively straightforward.
    3) Normally, you would then schedule a regular restore of the production backup to the test server in order to refresh the test system. That's normally something that's done roughly monthly, but that depends on the frequency of your builds and how frequently you need pristine and/or updated data in the test system. In addition to providing a test system, doing regular restores is a great way to validate your backup and recovery strategy in a relatively low-stress environment-- it's much nicer to discover that the process that writes to tape has been broken for 3 weeks when you're attempting to refresh the test database than when the production database has failed and angry users are standing outside your cube demanding that you get the database up now.
    4) Going back to #1, though, if data tablespaces are filling up, that would seem like something that should be investigated in addition to the lack of a test environment.
    Justin

  • Data Guard Archive Latency with Physical Standby

    I'm trying to get a latency number that tells me how long it took ARCH to move an archive file from the Primary instance to the physical standby instance and "apply it". I see lots of numbers but I can't make heads or tails of them. Does a metric such as this exist in a log file, a V$ view, or can it possibly be calculated or extrapolated?
    Thanks
    Steve ([email protected])

    This is how calculated the same in a test env.
    1. stop standby listener
    2. shutdown standby
    3. perform a data load (import)
    4. start the standby listener. This will cause arch files to be shipped to the standby. Monitor the files being shipped and time it
    5. start the standby db in recovery mode
    6. repeatedly execute the following query while timing the log apply services:
    SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;

  • Configuring & Managing Data Guard 11g R2 with OEM 11g

    Hi All,
    Please let me know how to configure OEM for already setup standby database in Enterprise Manager

    Hello;
    So you did not Reinstate correct? Please understand it is very difficult to help you when you don't answer the questions.
    My failover test notes are here :
    http://www.visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.pdf
    Oracle support has an excellent note :
    Step by Step Guide on How To Reinstate Failed Primary Database into Physical Standby [ID 738642.1]
    Feedback is critical when you ask a question. I searched and found this :
    STAND BY DATABASE
    But nothing more came of it so I have no idea if I'm helping or not.
    Best Regards
    mseberg
    Edited by: mseberg on Jun 18, 2012 3:09 PM

  • Comparision between Multimaster replication and data guard

    Hi,
    I have some questions regarding Multimaster Replication and Data Guard. Like
    *1.)* I have a web site having database in oracle 10.2.0 and multimaster replication configured on it. But whenever i need to change the structure of the tables i
    need to stop replication. So my web site is unavailable but my first priority is availability. So will it be useful for me to configure data guard.
    *2.)* I have configured data guard for testing . My Database is Named as Gard and physical standby database is like stan.
    it is working fine.
    suppose my main database server get corrupted i have no option to start main database server. Now i left with only standby server how i can start standby server
    as database main server.
    *3.)* Is there any if main database stop working Standby database start working as main without dba intervention.
    Thanks
    Umesh
    Edited by: Umesh Sharma on Jan 14, 2009 4:17 AM

    Hi Umesh,
    first of all you should be aware that Dataguard and Replication are two completely different things.
    While the database where you replicate to is always up and open in read write mode, a physical standby can either be recovering or open in read only mode.
    1.) I think from what you are telling you probably should consider using dataguard with a logical standby database, but be aware that there will be some limitations regarding datatypes.
    2.) you can do a failover or a switchover, depending on your database version switchback may not be possible
    3.) have a look at dataguard broker, you can use it to automate the failover
    Best regards,
    PP

  • Configuring Data guard

    Hi,
    I am planning to configure data guard 11.1.0.7 on Redhat Linux 5. I would just like to have suggestions regarding failover/switchover strategy. I would like gurus here to shared their knowledge about how to configure the failover/switchover. I have following points in mind regarding this.
    1. Add an entry for the standby database in the connect string's "Address" portion so that if primary is not available after failover/switchover, client automatically start connecting to the standby
    OR
    2. Afgter failover/switchover, change the database alias in the DNS and primary host name alias should start pointing to the standby database host so that now clients start connecting with the standby database not.
    Or, any other preferred way?
    Thanks in advance
    Salman

    Uwe Hesse, I saw your document. How we can implement it in a RAC environment wheren we have two nodes RAC (client side load balancing is on) and we have a single node Standby. In this case, we would need to add another row in ADDRESS parameter in TNSNAMES, but, how it will be handeled because client side load balancing is on and if we add standby ADDRESS, load balancing will also try to use this third entry of Standby database.Refer some more documents
    Configuring Oracle Database 11g with Oracle Data Guard
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28282/configbp006.htm
    http://www.oracle.com/technetwork/database/features/availability/twp-dataguard-11gr2-1-131981.pdf
    11gR1 Data Guard Portal [ID 798974.1]
    Switchover&Failover
    Oracle10g: Data Guard Switchover and Failover Best Practices [ID 387266.1]

  • Repository with Data Guard

    Can i use a database with Data Guard for HA with "fast connect failover" for your EM repository database?

    Yes, it is the preferred method. Take advantage of the DG ability to execute a trigger on switchover/failover to move the service used by the OMS from the primary to the standby.
    Please check the chapter advance config

  • What are the pros and cons using Active Data Guard vs Data Guard?

    My understanding is that Active Data Guard is an additional database option for Oracle 11gR2 Enterprise Edition. I need to know the pros and cons using Active Data Guard vs Data Guard in order to decide whether to get pay extra for the Active Data Guard.
    Thanks for any help.

    Hemant K Chitale wrote:
    Before jumping in to Active Data Guard, one needs to evaluate :
    a. Is there really a need to run queries on the Standby ? The Standby could / should be at a remote site so queries are "across the network". Depending on the nature of the queries and the volume of output, the "performance" of the queries may not seem to be the same.
    b. If the database is not in Maximum Protection mode, the data "seen" at the standby may not be in "real-time" synch
    c. Not all applications are truely read-only when querying. Some applications use "jobs" that write to tables when querying. Such would not work with Active DataGuard. (example : EBusiness Suite). There are very complicated ways of handling this -- and one needs to consider if the complications can be introduced and supported.
    Over the network accessing standby read only is really not an good idea, I think no one will compare performance with primary and standby,
    But some of them they want to validate data which are very critical, as it is matching with primary or not, Its an added advantage with ACTIVE DATAGUARD
    Prior to that until unless stop MRP, open database and then we need to validate, So there is an interruption of recovery, I can say its also an advantage where there is no interruption of recovery.

  • Oracle 11G Direct SQL Load with Data Guard

    Does SQL Loader in direct mode always bypass the writing of redo logs ?
    If the database has force logging on, will SQL Loader in direct mode bypass the writing of redo logs ?
    Is there a way to run SQL Loader in direct mode that will create redo logs that can be applied by Data Guard to the backup database ?

    846797 wrote:
    Does SQL Loader in direct mode always bypass the writing of redo logs ?
    If the database has force logging on, will SQL Loader in direct mode bypass the writing of redo logs ?
    Is there a way to run SQL Loader in direct mode that will create redo logs that can be applied by Data Guard to the backup database ?In case of data guard setup , redo logs will always be generated.

  • Data Guard Broker teasing error ORA-12514: TNS:listener

    Hello,
    I have spent many hours but don't understand what little thing I am missing or confusing me.. Please help to fix the issue.
    Physical Standb db created successfully, but now facing following issue: Though it should be and must be fixed but really making me mad
    DGMGRL> SHOW CONFIGURATION;
    Configuration - DATA GUARD
      Protection Mode: MaxPerformance
      Databases:
        dg - Primary database
    Fast-Start Failover: DISABLED
    Configuration Status:
    DISABLED
    DGMGRL> ADD DATABASE DG_DB2
    > AS CONNECT IDENTIFIER IS DG_DB2
    > MAINTAINED AS PHYSICAL;
    Error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Failed.
    PRIM:
    db_name: DG
    db_unique_name: dg
    service_names:  dg
    STBY:
    db_name: DG
    db_unique_name: dg_db2
    service_names:  dg_db2
    # TNSNAMES same entries on both Primary and Standby: HOSTNAMES are different.
    DG =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = dg)
    DG_DB2 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = db02.domain)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = dg_db2)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))   db02.domain for Standby on standby machine.
    # Listener.ora on PRIMARY:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = db01.domain)(PORT = 1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = dg_DGMGRL.domain)
          (ORACLE_HOME = /oracle/app/11g/db)
           (SID_NAME = dg)
           (SERVICE_NAME = dg.domain)
    # Listener.ora on Standby:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = dg_db2_DGMGRL.domain)
          (ORACLE_HOME = /oracle/app/11g/db)
           (SID_NAME = dg_db2)
           (SERVICE_NAME = dg_db2.domain)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = db02.domain)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    I created Stby DB with the minimum parameters required, so that I configure BROKER and see it magic, but badly stuck in this situation here. I have read many docs related to this..but can not fix it unfortunately.
    Please guide me from your own experience as note ids, blogs are not helping me here...
    Bundle of thanks.
    Best Regards

    Hi,
    Your listener.ora file has SERVICE_NAME = dg_db2.domain whereas tnsnames.ora file has SERVICE_NAME = dg_db2.
    Check in your database for exact service name and reflect the same in both the files.
    SQL> sho parameter service_names
    Restart the listener and try connecting.
    Thank you!!

  • Oracle 11g Active Data Guard and SAP R3

    Hi All,
    I have a query regarding Oracle 11g Active Data Guard and SAP R3.
    Does the Oracle 11g R1/R2 Active Data guard feature supported with SAP R3?
    I appreciate your help to provide any link or document for the same.
    Thanks,
    Vihang

    I have a query regarding Oracle 11g Active Data Guard and SAP R3.
    Does the Oracle 11g R1/R2 Active Data guard feature supported with SAP R3?
    I appreciate your help to provide any link or document for the same.
    Oracle database 11g functionality certified by SAP, check below link
    http://www.oracle.com/us/solutions/sap/oradb11g-article-upd-1-323074.pdf
    http://www.oracle.com/technetwork/middleware/ias/downloads/osb-11gr1certmatrix.xls

Maybe you are looking for

  • Ipod 3rd generation wont download all the way

    My ipod 3rd generation wont let me download apps. when i put my apple ID and it starts to download but quits in the middle of the download

  • Itunes won't respond to double clicking on a song once another song is play

    hi. i open itunes, double click on a track and then if i want to play another track i double click on it but itunes won't respond and just keeps playing the original track. if i click on the track, it will highlight but won't play when double clicked

  • A different G4 start up problem. I think.

    I have a G4 Quicksilver, 867 MHz, running OS 10.4.11. I purchased a used G5 1.8 and waa transferring the files from the G4 to the G5 using a Firewire 400 cord. By starting up the G4 while holding the T key down the G4 Start Up drive Icon would appear

  • Tree Hierarchy in Web Dynpro

    Hello All, I want to create a web dynpro application that implements some functionlity that I saw in the SAP backend system. In the backend, I have a transaction that allows me to drill down into nodes and add and remove them with a right click conte

  • What's the easiest way to make a password system? 10 Duke Points!

    Hello everyone, What's the easiest way to make a password system in java? I'd like to be able to: 1) store passwords for about 6 people. 2) have the people only interact with my program using my Eclipse console with no GUIs, pop-ups or Swing code. 3)