How do the application servers connect the new database after failing over from primary DB to standby DB

How do the application servers connect the new database after failing over from primary DB to standby DB?
We have setup a DR environment with a standalone Primary server and a standalone Physical Standby server on RHEL Linux 6.4. Now our application team would like to know:
When the primary DB server is crashed, the standy DB server will takeover the role of primary DB through the DataGuard fast failover. As the applications are connected by the primary DB IP before,currently the physical DB is used as a different IP or listener. If this is happened, they need to stop their application servers and re-configure their connection so the they coonect the new DB server, they cannot tolerate these workaround. 
Whether does oracle have the better solution for this so that the application can automatically know the role's transition and change to the new IP without re-confige any connection and shutdown their application?
Oracle support provides us the answer as following:
==================================================================
Applications connected to a primary database can transparently failover to the new primary database upon an Oracle Data Guard role transition. Integration with Fast Application Notification (FAN) provides fast failover for integrated clients.
After a failover, the broker publishes Fast Application Notification (FAN) events. These FAN events can be used in the following ways:
Applications can use FAN without programmatic changes if they use one of these Oracle integrated database clients: Oracle Database JDBC, Oracle Database Oracle Call Interface (OCI), and Oracle Data Provider for .NET ( ODP.NET). These clients can be configured for Fast Connection Failover (FCF) to automatically connect to a new primary database after a failover.
JAVA applications can use FAN programmatically by using the JDBC FAN application programming interface to subscribe to FAN events and to execute event handling actions upon the receipt of an event.
FAN server-side callouts can be configured on the database tier.
FAN events are published using Oracle Notification Services (ONS) and Oracle Streams Advanced Queuing (AQ).
=======================================================================================
Who has the experience and the related documentation or other solutions? we don't have the concept of about FAN.
Thank very much in advance.

Hi mesbeg,
Thanks alot.
For example, there is an application JBOSS server connecting the DB, we just added another datasource and put the standby IP into the configuration file except adding a service on DB side like this following:
        <subsystem xmlns="urn:jboss:domain:datasources:1.0">
        <datasources>
                <datasource jta="false" jndi-name="java:/jdbc/idserverDatasource" pool-name="IDServerDataSource" enabled="true" use-java-context="true">
                    <connection-url>jdbc:oracle:thin:@<primay DB IP>:1521:testdb</connection-url>
                    <connection-url>jdbc:oracle:thin:@<standby DB IP>:1521:testdb</connection-url>
                    <driver>oracle</driver>
                    <pool>
                        <min-pool-size>2</min-pool-size>
                        <max-pool-size>10</max-pool-size>
                        <prefill>true</prefill>
                    </pool>
                    <security>
                        <user-name>TEST_USER</user-name>
                        <password>Password1</password>
                    </security>
                    <validation>
                        <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleValidConnectionChecker"/>
                        <validate-on-match>false</validate-on-match>
                        <background-validation>false</background-validation>
                        <use-fast-fail>false</use-fast-fail>
                        <stale-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleStaleConnectionChecker"/>
                        <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.oracle.OracleExceptionSorter"/>
                    </validation>
                </datasource>
                <drivers>
                    <driver name="oracle" module="com.oracle.jdbc">
                        <xa-datasource-class>oracle.jdbc.OracleDriver</xa-datasource-class>
                    </driver>
                </drivers>
            </datasources>
        </subsystem>
If the failover is occurred, the JBOSS will automatically be pointed to the standby DB. Additional actions are not needed.

Similar Messages

  • How will the new OSX Mavericks affect applications already installed and using Mountain Lion?

    How will the new OSX Mavericks affect applications already installed and using Mountain Lion?

    If you're asking about compatibility, that would be something you would need to ask of the app developers, though most apps compatible with Mountain Lion should be compatible with Mavericks. You can also consult the tables here:
    http://roaringapps.com/apps
    though that information comes from user reports and so should not be considered authoritative.
    If you're asking whether installing Mavericks will delete your apps, no, it won't, though a good backup is always highly recommended.
    Regards.

  • I just bought a new Macbook Pro and transferred my iTunes archive of music to it. How do I transfer the playlists from my other computer(s)? iTunes on the new machine wants to start from scratch.

    How do I transfer playlists from my other Apple computer(s) to my new Macbook Pro? I think I have successfully moved the music (archive) but the new machine wants to start from scratch on the playlists.

    http://support.apple.com/kb/ht1751
    Essentially you need to copy over the itunes folder
    username/Music/itunes
    Over to your macbookpro I suggest using an ethernet cable as it is way quicker. Put it in the same spot on the new Macbook Pro
    username/music/
    This should bring over the playlists etc. Then just put the music back in from the archive

  • In pages(not the New version) footer is over to the left, so when i put the page numbers in they don't sit right. How do i move the footer

    In pages(not the New version) footer is over to the left, so when i put the page numbers in they don't sit right. How do i move the footer

    The footer is not only to the left. To get the page number to the right you can use Format > Align right. That will make all page numbers move to the right. Is that what you want?

  • How does the new iPhone 6/iWatch know whether I'm standing or sitting?

    I work long hours standing and I'm wondering how does the new iPhone/iWatch knows whether I'm standing or sitting down?  And what if I leave my iPhone on the table but I'm walking around with just my iWatch on the wrist, is the new Health App going to be keeping track of my walking around the office?

    You will know when you buy them and use them. No one here can answer that question yet.

  • ACI-How are the new advancements in ACI helping the drawbacks in nexus switching?

    ACI-How are the new advancements in ACI helping the drawbacks in nexus switching?

    ACI is a paradigm shift in data centre designs.
    According to this solution overview ACI is the next generation of Software Defined Networking:
    http://www.cisco.com/c/en/us/products/collateral/switches/nexus-9000-series-switches/guide-c07-731461.html
    Having worked with Nexus switches for a couple of years now I haven't encountered any serious drawbacks with these devices.

  • How is the new version of ios 5 working

    how is the new version of ios 5 working

    Kind of like the previous one, with new features. What exactly do you want to know?

  • I can't install the new software 8.2 wireless from the phone only when I connect to my laptop

    need help to install the new software 8.2 wireless from my phone

    Howdy Punya,
    It sounds like you are unable to get your phone updated by downloading it directly to the device, and it only works when you connect it to iTunes. I would recommend you use the troubleshooting in the following article with different troubleshooting depending on the issue that it is having:
    Resolve issues with an over-the-air iOS update
    If that does not resolve, or doesn't address the issue, can you elaborate on what is happening when you try?
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • How to insert the new row after current row in RowIterator - Steve Muench

    Hi,
    Our client wants the new row to be added after current row on the front end instead of before current row.
    we were using "new JUActionBinding(this,iterBinding,JUActionBinding.ACTION_CREATE_INSERT_ROW);" this code inserts the new row after current row.
    I tried a lot to insert the new row after current row. Used new JUActionBinding(this,iterBinding,JUActionBinding.ACTION_LAST to move the cursor to last row in rowiterator and the used .ACTION_CREATE_INSERT_ROW but this thing inserts the new row as the second last row.
    Could somebody plesae help ?
    Message was edited by:
    user556161

    I am using JDeveloper 9.0.4.2.0 (Build 1459)

  • Glom – Could not create the new database

    I would like to try Glom, but always get the this error
    "Glom could not create the new database. Maybe you do not have the necessary access rights. Please contact your system administrator."
    This happens with both local and extern server configuration. Any ideas on how to fix this?
    Regards,
    Renke

    It would also help, if you install the application and just tell me, if you get the same error, when trying to create a database. Maybe it's just a problem on my side.
    Regards,
    Renke

  • I cant get but 200 app o the New IPAD , had well over 300 on my old one.

    I cant get but 200 app o the New IPAD , had well over 300 on my old one.

    What about videos, movies, photos, etc?
    How much space is your Other using? You may be able to reduce.
    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwn
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
     Cheers, Tom

  • Step by step guide to how to install application servers

    Team,
    Please provide me a step by step guide to how to install application servers in BI. Right now we have one server, we need to add three more appication servers. Please provide any documentation.
    Thanks

    Here you go:
    http://www.bbgeeks.com/blackberry-guides/blackberry-guide-how-to-install-third-party-applications-on...
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I have been sharing an itunes acct with my wife. If I setup my own acct, will the content of my iphone be on the new acct after I sync?

    I have been sharing an itunes acct with my wife. If I setup my own acct, will the content of my iphone be on the new acct after I sync?

    Sure.
    See here for Creating Her Apple ID  >  http://support.apple.com/kb/HT5622
    It should be Noted that anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID
    And here for  >  How to Use Multiple iDevices with One Computer
    Also have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And you may find this Video Link of Interest...
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • I cannot get the new mac mini to wake from sleep and trigger the displays - this is the second mac mini I have had and both have had the same issues. It worked before on my macbook extremely well...

    I cannot get the new mac mini to wake from sleep and trigger the displays - this is the second mac mini I have had and both have had the same issues. It worked before on my macbook extremely well...
    Using 2 displays, connected via HDMI and thunderbolt
    Been on to support a number of times now - is anyone experiencing the same issues?

    BUMP.
    I actually showed this to Apple geniuses when I took my computer to the apple store, and it's still here. In console it says:
    kernel[0]: Previous Shutdown Cause: -128
    I don't know if that's related or not, but maybe helps?

  • REP-0309: Unable to connect to the specified database after three attempts.

    Hi,
    I am getting the following error in cloned instance when I developed one custom report (rdf) and copied that report into custom top reports folder. and ran that report using custom responsbility.
    that report query is like this
    select user_name,user_id,start_date,end_date from fnd_user.
    simple report...
    ==========================
    Current system time is 30-JUL-2008 11:36:16
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    USERID='0'
    APPLLCSP Environment Variable set to :
    XML_REPORTS_XENVIRONMENT is :
    /u01/testora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to: /u01/testora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    Enter Password:
    Enter Password:
    REP-0501: Unable to connect to the specified database.
    ORA-01017: invalid username/password; logon denied
    REP-0501: Unable to connect to the specified database.
    ORA-12154: TNS:could not resolve service name
    REP-0501: Unable to connect to the specified database.
    ORA-12154: TNS:could not resolve service name
    REP-0309: Unable to connect to the specified database after three attempts. Access denied.
    Report Builder: Release 6.0.8.25.0 - Production on Wed Jul 30 11:36:16 2008
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username: Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 779500.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 30-JUL-2008 11:36:17
    =========================================
    what might be the problem...
    I developed the report in 10g Report Builder. and moved to 1.5.10.2 instance... ran that report in my report builder using apps user and..it is running fine in my report builder.

    hi bsubbu
    your password of custom application user schema at database level should be similar with the password at application level
    for instance your custom application schema name and password is xxgis/xxgis , we register this schema at application site by this navigation
    security> oracle > register >database username (xxgis) > password (xxgis)
    here you might have change your custom application user's password at database level using
    alter user xxgis identified by newpassword;
    change this user password at application site also :
    security> oracle > register> database username (xxgis) > password (newpassword)
    i understand this from the document
    Regards
    Message was edited by:
    user608721

Maybe you are looking for