TAF On 11g DataGuard with FSFO

Hi All,
Today, i have created TAF for my 11.1.0.7 Oracle database running on RHEL 5.4 64 bit.
I have configured my databases with FSFO enabled. (MaxAvailibility with LGWR SYNC AFFIRM transport)
I created TAF with following entries:
1) Created and enabled a dedicated service in primary :
I have local_listener parameter set in my primary and standby databases.
begin
dbms_service.create_service('taf_test','taf_test');
end;
begin
DBMS_SERVICE.START_SERVICE('taf_test');
end;
begin
dbms_service.modify_service
('taf_test',
FAILOVER_METHOD => 'BASIC',
FAILOVER_TYPE => 'SELECT',
FAILOVER_RETRIES => 200,
FAILOVER_DELAY => 1);
end;
/2) Made sure that listener is listening to above created service:
lsnrctl services l_payee1fe_dg_001
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 21-JAN-2010 09:52:27
Copyright (c) 1991, 2008, Oracle.  All rights reserved.
Services Summary...
Service "taf_test.us" has 1 instance(s).
  Instance "payee1fe", status READY, has 1 handler(s) for this service...
    Handler(s):
      "DEDICATED" established:13 refused:0 state:ready
         LOCAL SERVER3) TNS Entry :
taf_test.us=
(DESCRIPTION=
        (SDU= 32767)
        (ENABLE=BROKEN)
        (ADDRESS_LIST=
                (FAILOVER=ON)
                (LOAD_BALANCE=YES)
                (ADDRESS=(PROTOCOL=TCP)(HOST=payee1fe-orasvr.db.us.com)(PORT=58003))
                (ADDRESS=(PROTOCOL=TCP)(HOST=payee1fe-orasvr.db.us.com)(PORT=58003))
        (CONNECT_DATA=
                (SERVICE_NAME = taf_test.us)
  )4)Trigger for setting service on appropriate primary database :
create trigger taf_test after startup on database
declare
v_role varchar(30);
begin
select database_role into v_role from v$database;
if v_role = 'PRIMARY' then
DBMS_SERVICE.START_SERVICE('taf_test');
else
DBMS_SERVICE.STOP_SERVICE('taf_test');
end if;
end;
/5) Ran a big SELECT on primary and after 5 sec, kill primary's pmon to do fail-over.
6) After sometime, i saw that SELECT was hanged for some time and once, DGMGRL has open new primary (org standby), startup trigger got fired and SELECT started fetching rows from the point where it hanged.
In that way, my TAF was working properly as expected.
My question is :
How come new Primary got the session state of SELECT which originated on old primary and then failed-over to new primary ? I confimed that,SELECT was NOT re-executed on new primary and started fetching rows from the row where it hanged at the time of fail-over.
Since both the databases have different cache and controlfiles, i want to understand how TAF works on dataguard.
In RAC,there is always a GRD through which session state can be co-ordinated between different instances. But this is not the case in DG.
I did not find anything in PRIMARY's alert log. Though STANDBY alert log was containing below statement:
ALTER SYSTEM SET service_names='taf_test' SCOPE=MEMORY SID='payee1fe';Can anyone shed light on internal working of TAF in DG.
Regards,
Bhavik Desai

Hi,
Just now i tested,SELECT FAIL-OVER for SELECT with PARALLEL (4) hint. I got below msg and SELECT did not executed on new primary:
ERROR:
ORA-25401: can not continue fetches
4350 rows selected.However, i observed that the session is failed-over to new primary. After getting above msg in SQLPLUS window, when i saw number of slaves given to my new sessions, i got :
SQL> select *From v$pq_tqstat;
DFO_NUMBER      TQ_ID SERVER_TYP   NUM_ROWS      BYTES  OPEN_TIME AVG_LATENCY      WAITS   TIMEOUTS PROCES   INSTANCE
         1          0 Producer        19800      65296          0           0          3          0 P002            1
         1          0 Producer        19800      65296          0           0          4          1 P001            1
         1          0 Producer        19800      65294          0           0          3          0 P000            1
         1          0 Producer        19800      65296          0           0          3          0 P003            1
         1          0 Consumer         4351      65296          0           0          8          0 QC              1Does it mean that, SELECT fail-over is only supported for serialized SELECTs ? Or there is other alternative to achive PARALLEL SELECT fail-over ?
Regards,
Bhavik Desai
Edited by: BhavikDe on Jan 24, 2010 11:30 PM

Similar Messages

  • Active Dataguard with FSFO

    We have an 11gR2 database with physical standby (Dataguard with Fast start Fail over) implementation and considering the options for including Active Dataguard configuration on the above setup for using standby database for reporting.
    Has anyone configured 'Active dataguard' with combination of FSFO, any pointers on lessons learnt or limitations on this combinations would be greatly appreciated.
    Thank you very much for your time.

    An issue with Active Data Guard is the design of service level agreements. In the event of failover, service will degrade - perhaps dramatically. Clients are often very keen to bring the standby into use because it appears to be a way of saving money, but what will you do if it is activated? Your SLA will have to state either that the query service will be disabled, or that both the r/w and the r/o services will continue to be available, but at greatly reduced performance (which you must quantify). You need to get the client's agreement and document this.

  • Dataguard with EBSR12.1.1

    Hi,
    We are planning to implement Dataguard with EBS R12.1.1 .
    what is the procedure.
    Regards,
    Muthu

    806099 wrote:
    Hi,
    We are planning to implement Dataguard with EBS R12.1.1 .
    what is the procedure.Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database [ID 1070033.1]
    Using Active Data Guard Reporting with Oracle E-Business Suite Release 12.1 and Oracle Database 11g [ID 1070491.1]
    Business Continuity for Oracle Applications Release 12 on Database Release 10gR2 - Single Instance and RAC [ID 452056.1]
    Thanks,
    Hussein

  • Error running Organization Lookup Recon in OIM 11g R2 with Active Directory

    Hi all,
    I have an implementation of OIM 11g R2, with an Active Directory 11.1.1.5.0 connecting to an instance of Active Directory on Windows Server 2008. I am trying to run the "Active Directory Organization Lookup Reconciliation" scheduled task, but the job fails with this error:
    oracle.iam.connectors.icfcommon.exceptions.IntegrationException: Connector ConnectorKey( bundleName=ActiveDirectory.Connector bundleVersion=1.1.0.6380 connectorName=Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryConnector ) not found
    This is the full stack trace from the oim_domain.log file:
    oracle.iam.connectors.icfcommon.exceptions.IntegrationException: Connector ConnectorKey( bundleName=ActiveDirectory.Connector bundleVersion=1.1.0.6380 connectorName=Org.IdentityConnectors.ActiveDirectory.ActiveDirectoryConnector ) not found
    at oracle.iam.connectors.icfcommon.ConnectorFactory.createConnectorFacade(ConnectorFactory.java:176)
    at oracle.iam.connectors.icfcommon.recon.AbstractReconTask.init(AbstractReconTask.java:115)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.execute(SchedulerBaseTask.java:382)
    at oracle.iam.scheduler.vo.TaskSupport$1.processWithoutResult(TaskSupport.java:135)
    at oracle.iam.platform.tx.OIMTransactionCallbackWithoutResult.process(OIMTransactionCallbackWithoutResult.java:9)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:13)
    at oracle.iam.platform.tx.OIMTransactionCallback.doInTransaction(OIMTransactionCallback.java:6)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
    at oracle.iam.platform.tx.OIMTransactionManager.execute(OIMTransactionManager.java:22)
    at oracle.iam.scheduler.vo.TaskSupport.executeJob(TaskSupport.java:116)
    at sun.reflect.GeneratedMethodAccessor739.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.iam.scheduler.impl.quartz.QuartzJob$TaskExecutionAction.run(QuartzJob.java:266)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at oracle.iam.scheduler.impl.quartz.QuartzJob.execute(QuartzJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    The Connector Server is installed on the AD instance, and the key has been set, and used appropriately in the Active Directory Connector Server IT Resource in OIM.
    Any advice on how to resolve this error or on any possible causes would be much appreciated, thank you.

    From the installation media, copy and extract contents of the bundle/ActiveDirectory.Connector-1.1.0.6380.zip file to the CONNECTOR_SERVER_HOME directory
    Refer http://docs.oracle.com/cd/E22999_01/doc.111/e20347/deploy.htm#CHDDJGIG

  • OBIEE 11G: Issue with Agent

    Hello All,
    I am trying to make agent work in OBIEE 11G together with Active Directory settings but the agent are failling for some users. Some users are not able to send the ibots:
    We get the following message with Agent Failed:
    Agent ID: XXXXXXX
    No devices for user: XXXX
    Agent ID: XXXXXXXX
    No Content for user: XXXX
    Kindly note that I have already checked the My Account of these users and the email address is well present there.
    Can anyone help us investigate on this issue.
    Thanks and Regards

    Where do you have your LDAP configured
    Is it in RPD or in Weblogic?

  • Is BI Publisher 11g compatible with CC&B 2.3.1

    Dear All,
    Is BI Publisher 11g compatible with CC&B 2.3.1.
    In the Oracle support and forums, its mentioned that the BI Publisher 10g can be integrated with CC&B 2.3.1 and the sample reports provided with the application can be used for online bill display etc. Can BIP 11g version be used for the same. Please advice.
    Thanks in advance for your help.
    Thanks,

    may be this can help
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=SAMPLE%20CODE&id=1429646.1

  • Database 11g r2 with forms 6

    can we connect orace database 11g release 2 with forms/reports 6.

    no you can not connect oracle database 11g r2 with forms or reports 6.
    as forms and reports builder 6/6i support to 10 g.
    so you have to shoft your forms and report on developer suit 10g or heigher.

  • 11g problem with Win7 starter

    Taking a class and the book came with Oracle 11g DVD. Tried to load it onto my laptop and get an error when checking the operating system. The error is something like "expecting 5.0, 5.1, or 6.0 received 6.1" which I am assuming refers to Win7 vs vista/xp etc... Is there a way I can tell from the DVD 11g version # (afraid I don't have it in front of me now) which version of 11g came with the book and which version file(s) I should download from Oracle to run with Win7 starter?
    Thanks in advance
    Bill

    Ok, I get that its certified for Pro and Ultimate (which I don't think I can run on my netbook I use for homework), but I think I veered the conversation away from my original point. The version of Oracle 11g which came with my textbook says it will run on win2k, winXP, and Vista but craps out when trying to load onto Win7. The version of Oracle (to best of my recollection, as I don't have the disc in front of me is 11.0.1.something).
    I guess my big question is would this version load on Win7 pro or do I need a newer version of Oracle that will load onto Win7? If I do need a new version in order to load on Win7, how can I tell which flavor of Oracle I have on my DVD - the free version, the next one up with a student license???
    Worst case scenario, I load it onto my desktop that is still running XP, but I would like to be able to take it with me on the netbook to do my homework whenever I find time.
    Thanks,
    Bill

  • Oracle 11g compatibility with oracle 10g and 9i?

    Hi All
    I have some queries on 11g compatibility.
    Is oracle 11g client compatible with oracle 10g client which is already installed on desktop?
    If yes any changes to be done and where?
    Is oracle 11g compatible with oracle 10g/9i on the same server where 10g/9i are installed?
    Regards

    Thanks Justin Thats right ...
    Problem elaboration is as follows
    We currently have an application which requires oracle 10g(10.2.0.3) client to connect to database from user desktops. As
    part of new application development the oracle 11g clients need to be installed on all the user deskotps.
    The complete application software along with oracle client 11g has to be roled out on these desktop as part of
    implementaion of new application besides the existing application(The application software is packaged along with oracle
    10g client).
    We would like to understand if there is any software provided by oracle using which we can switch between different oracle
    versions while accessing the respective applications simultaneously. Also are there any known bugs/issues in running
    oracle 10g client and oracle 11g client together on the same user desktops with different oracle homes?

  • Chinese Charactors Not Displaying 11g DB with UTF8

    Hi All,
    As per the Metalink document 237593.1 I have created 11G DB with UTF8.
    And i ave added the windows registry path to UTF8
    "+HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\KEY_OraDb11g_home1\NLS_LANG = AMERICAN_AMERICA.UTF8+"
    DB Version : 11.1.7
    OS Version : WinXp
    How to display the chinese charactors in 11g Database.
    Abk

    1) To ensure the setting in the registry is in effect, make sure you don't have the environment variable NLS_LANG set
    (or set environment variable NLS_LANG=AMERICAN_AMERICA.UTF8, overriding whatever was set in the registry and make sure you start your client program under this environment)
    2) Make sure your client is able to display UTF8 Chinese character under env NLS_LANG=NLS_LANG=AMERICAN_AMERICA.UTF8
    If you are not sure whether your client is able to display UTF8 Chinese character, use SQLPlus to spool the output to a text file. Then open the file in a browser and select UTF8 charset. This is the easiest way to check that the data is corect.
    BTW, there is no 11.1.7. I guess you mean 11.1.0.7

  • 11g DataGuard

    Hi all,
    I followed "http://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/11g-dataguard.html" to setup 11g standby database. In point 9, it required to start standby database in NOMOUNT mode. However I got the following error:
    C:\app\eric\product\11.1.0\db_1\NETWORK\ADMIN>set ORACLE_SID=orclsb
    C:\app\eric\product\11.1.0\db_1\NETWORK\ADMIN>sqlplus /nolog
    SQL*Plus: Release 11.1.0.6.0 - Production on Thu Nov 13 12:01:11 2008
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    SQL> connect / as sysdba;
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SQL>

    Hi,
    Check for the Listener Status... and also for the entries in litener.ora files
    Also at the same time check for entries in the tnsnames.ora and check whether they are correctly mentioned or not..
    tnsping <service_name> see if it is able to resolve the alias.....
    Regards,
    Prosenjit Mukherjee

  • Does JDev/JHeadstart 11g work with an Oracle 8i database

    Hi All:
    We are trying to plan with respect to going to 11g in JDev & JHeadstart.
    Could anyone tell me if JDev/Jheadstart 11g work with an Oracle 8i database. One of our Vendor's db's is still 8i.
    Thanks very much.
    Mary
    U of W

    Mary,
    I don't know, it is not officially supported:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10131/cert/database.html
    But this doesn't mean it won't work.
    Steven Davelaar,
    JHeadstart Team.

  • 11g dataguard client tnsname.ora entry format for switchover and failover

    I need format for the tnsnames.ora to use for the enduser when failover or switchover occurs in 11g dataguard.

    http://download.oracle.com/docs/cd/B19306_01/network.102/b14213/tnsnames.htm#sthref722

  • 11g SOA with AIA suddenly creates huge temp files(sar files)!!

    Hi All,
    One of our clients that is on 11g SOA with AIA, the team observed while deploying applications, that it suddenly creates huge temp files(sar files) and the server slows down and then shuts down, has anyone seen such behavior or possible reasons?
    If anyone could share such prior experience would be apreciated!
    Thanks for your time!
    Regards,

    Hi Ajay,
    Could you check the managed server logs on the server you are deploying to? I prefer the soa_server1.out file if its available. Hopefully there is something more telling on that side.
    My gut feeling is that there is a schema required by the ProcessFulfillmentOrderBillingBRMCommsAddSubProcess process has not been deployed (which sometimes happens with this PIP in particular).

  • Is my AirPort Extreme base station A1034 (802.11g) compatible with Comcast 50 Mbps internet service?

    Is my AirPort Extreme base station A1034 (802.11g) compatible with Comcast 50 Mbps internet service?

    The WAN port on the A1034 will handle up to a 100 Mbps Internet connection, so you are OK there.
    Wireless on the A1034 is limited to 54 Mbps tops, so things should work OK as long as wireless devices can receive a strong wireless signal from the Apple router.

Maybe you are looking for

  • How to create the event in the report for jobs scheduling.

    Hi Experts, i have a requirement like as follows: The following triggers for Batch Jobs in the SCM system will be created.i.      Background Processing Event = u201CAPO Background Processing Eventu201D. After sending the Event, write a Log Report lin

  • Ipod not found on my computer or iTunes

    Everything was fine till my brother came with his new iPod. Mine was not named . I just plugged in his and i've been asked for a name . I skipped and continue. Now my own iPod is not recognized by iTunes or my computer. I'm scared to ****. What do I

  • Where do I find help on how to use a software?

    Recently I've purchased a ZIP software through App Store - (Smart Zipper Pro). I have never used one of these programs and now have a large file to send to a customer. I found no customer support nor directions on the use of it. I will appreciate the

  • In Siebel 7.5 Finding Contacts associated each Accounts for a POSITION

    Hi I am using Siebel 7.5 with SQL server DB 1. select * from S_POSTN where NAME ='AA-XX-YYY' --- here ROW-id is '1-M4DHF' then 2.select * from S_ACCNT_POSTN where POSITION_ID ='1-M4DHF' ---There are 2071 Accounts associated with this Postion I would

  • India Toll free number assuming it as USA ISD number iphone 4s.

    Hi, I am 4s (IOS 8.1.2) user from India-Hyderabad. When I tried calling to toll free numbers which starts 1800...automatically It assuming as USA number and charged ISD calling rates. How can I come across this problem? @ Raghavender