How can I observe load balance event when I have setup FCF?

Dear expert,
I have setup two nodes RAC on linux and implement FCF. HA event works fine, because after one node down, connections to failed node in OC4J connection pool were cleaned up immediately. And I can observe HA event like
FINER: eventType= 256, svcName= orclx, instName= orclx1, db Name= orclx, hostName= linuxrac1, status= down, cardinality= 0
But I cannot observe LB event, it should be received too, shouldn't it?

Enabling Event Notification for Connection Failures in Oracle Real Application Clusters
Event notification is enabled if the SQL_ORCLATTR_FAILOVER_CALLBACK and SQL_ORCLATTR_FAILOVER_HANDLE attributes of the SQLSetConnectAttr function are set when a connection failure occurs in an Oracle RAC Database environment. Both attributes are set using the SQLSetConnectAttr function. The symbols for the new attributes are defined in the sqora.h file. The SQL_ORCLATTR_FAILOVER_CALLBACK attribute is used to specify the address of a routine to call when a failure event takes place.
The SQL_ORCLATTR_FAILOVER_HANDLE attribute is used to specify a context handle which will be passed as one of the parameters in the callback routine. This attribute is necessary in order for the ODBC application to determine which connection the failure event is taking place on.
The function prototype for the callback routine is as follows:
void failover_callback(void *handle, SQLINTEGER fo_code)
The handle parameter is the value that was set by the SQL_ORCLATTR_FAILOVER_HANDLE attribute. Null is returned if the attribute has not been set.
The fo_code parameter identifies the failure event that is taking place. The failure events map directly to the events defined in the OCI programming interface. The list of possible events is as follows:
ODBC_FO_BEGIN
ODBC_FO_ERROR
ODBC_FO_ABORT
ODBC_FO_REAUTH
ODBC_FO_END
see Oracle® Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide
chapter 6 for an example

Similar Messages

  • How can i do with labview program,when i have 20 different values,and 1 want to add it with constant value.and how to get the results?

    how can i do with labview program,when i have   20 different values,and 1 want to add it with constant value.and how to get the results?

    Why do the 20 values have to be different? The same code should work even if some are equal.
    What do you mean by "get the result"? The result is available at the output terminal and all you need is a wire to get it where you need it. That could be an indicator, another operation, or even a hardware device.
    What is the data type of the 20 values? An array? A cluster? A bunch of scalars? A waveform? Dynamic data?
    LabVIEW Champion . Do more with less code and in less time .

  • How can i open my iphone 4s when i have forgotten my passcode ? without deleting everything on it

    how can i open my iphone 4s when i have forgotten my passcode ? without deleting everything on it

    Put it in recovery mode to restore, you'll get the option to reset the passcode during this process.
    iOS: Wrong passcode results in red disabled screenand iOS: Recovery mode
    If you have previously synced your device with iTunes
    You may be able to reset the passcode by restoring the device.
    Connect the device to the computer with which you normally sync and open iTunes.
    Note: If iTunes prompts you to enter the passcode, try another computer that you have synced with. Otherwise, go to "If you have never synced your device with iTunes", below.
    Right-click the device in the left column and select Back up.
    When the backup is complete, select Restore.
    When finished, restore from your most recent backup.
    If you are using Find My iPhone, you can use Remote Wipe to restore your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode.
    Message was edited by: Ingo2711

  • How can I design Load Balancing for distant Datacenters? without single point of failure

    Dear Experts,
    We are using the following very old and passive method of redundancy for our cload SaaS but it's time to make it approperiate. Can youplease advise:
    Current issues:
    1. No load balancing. IP selection is based on primary and secondary IP configurations. If Primary fails to respond, IP record for DNS changes to secondary IP with TTL=1min
    2. When primary server fails, it takes around 15 min for clients to access the servers. Way too long!
    The target:
    A. Activate a load balancing mechanism to utilized the stand-by server.
    B. How can the solution be designed to avoid single point of failure? In the previous example, UltraDNS is a single point of failure.
    C. If using GSS is the solution, how can it be designed in both server locations (for active redundancy) using ordinary DNS server?
    D. How can HSRP, GSS, GSLB, and/or VIP be used? What would be the best solution?
    Servers are running ORACLE DB, MS SQL, and tomcat with 2x SAN of 64TB each.

    Hi Codlick,
    the answer is, you cannot (switch to two web dispatchers).
    If you want to use two web dispatchers, they need something in front, like a hardware load balancer. This would actually work, as WD know their sessions and sticky servers for those. But remember you always need a single point for the incoming address (ip).
    Your problem really is about switchover groups. Both WD need to run in different switchover groups and need to switch to the same third software. I'm not sure if your switchover software can handle this (I'm not even sure if anyone can do this...), as this means the third WD needs to be in two switchover groups at the same time.
    Hope this helps,
    Regards,
    Benny

  • How can I erase data on iPad when I have a dead screen?

    I have a 32g 3g original version iPad.  The screen is dead but I when I hook up to iTunes I can still see my data and sync etc. so the insides are working fine.  I want to permanetly errase all the my personal data and settings.  How can I do that when I can't see the ipad screen.  A simple reset from iTunes will not do that will it?

    You can restore it "as new device".  Plug it into iTunes, press and hold the on/off and the home button at the same time until iTunes pops up saying it has detected a device in recovery mode.  The restore it as a new device - that will wipe everything off it and return it to essentially the way it was once activated right out of the box.

  • How can i get back my contacts when they have been deleted?

    I tried putting music on my iPhone 5 for the first time and after doing it I realized all my contacts, messages, and photos were replaced with my moms contacts, messages, and photos that she had backed up on to the same computer. How can I retrieve all of the things i had lost?

    What address book or cloud service were you syncing them with? Are they still there?

  • HT4623 how can I get into my Ipad when I have forgotten my passcode

    Someone in the family has changed the passcode to my Ipad - It could have been me - but no one remembers doing it. We are now locked out of the Ipad. How can I get back in!

    Connect the iPad to the computer that you normally sync to and you should then be able to reset the iPad and re-sync your content to it (http://support.apple.com/kb/HT1212) - you may need to put the iPad into recovery mode : http://support.apple.com/kb/ht1808

  • HT4061 how can i access my iPhone 4 when I have forgotten passcode

    my grandson forgot his passcode and doesn't want to loose what he has on it, how can we get into the phone

    You don't if you forget. That's what passcode is for to protect without the correct passcode.
    Forgot or Wrong Passcode
    http://support.apple.com/kb/HT1212

  • How can I delete my iCloud account when I have changed my Apple ID and cannot now sign out as do not have the original Apple ID and password.

    I am unable to delete my iCloud account from my device. This is because I recently changed my Apple ID email/ username which now means when I try to delete my iCloud account to log back in with my new Apple ID I am unable to as it requests my old Apple ID username and password which no longer exist. i am on IOS 8.1. Can someone help me find a solution to this?

    Make sure you are signed into iMessage and FaceTime with your current ID.  If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
    Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.)  Now go to Settings>iCloud, turn off Find My iPad and enter your current password when prompted (even though it prompts you for the password for your old ID).  Then save any photo stream photos that you wish to keep to your camera roll (unless using iCloud Photo Library).  When finished go to Settings>iCloud, tap Sign Out and choose Delete from My iPad when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your device).

  • HT4436 How can I get an Icloud account when I have an iphone3?

    I have an iPhone 3G and a Windows7 laptop.  I use iTunes for all my music.  How do I create an iCloud account??
    I currently can't afford to upgrade my phone.
    Thanks

    Welcome to the Apple Support Communities
    The iPhone 3G can only be updated to iOS 4.2.1, and iCloud requires iOS 5 or later, so you can't use iCloud with the iPhone 3G

  • How can i register my xml file when i have no xsd ?

    For given xml data.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE metadata SYSTEM "http://www.fgdc.gov/metadata/fgdc-std-001-1998.dtd">
    <metadata>
    <idinfo>
    <citation>
    <citeinfo>
    <origin>MRF</origin>
    <pubdate>20040512</pubdate>
    file is large this is a sample.
    I am inserting using xmltype without registering schema.
    using this method,it is working fine.
    CREATE TABLE xml_table OF XMLType;
    INSERT INTO xml_table
    VALUES (XMLType(bfilename('XMLDIR','Test_xml.xml'),
    nls_charset_id('AL32UTF8')));
    Can you suggest a way to register above xml using below mentioned method given in samples?
    BEGIN
    DBMS_XMLSCHEMA.registerschema('http://www.oracle.com/person.xsd',
    '<schema xmlns="http://www.w3.org/2001/XMLSchema"' ||
    ' xmlns:per="http://www.oracle.com/person.xsd"'
    etc. and
    CREATE TABLE foo OF XMLType
    XMLSCHEMA "http://www.oracle.com/person.xsd" ELEMENT "person";
    Can I register schema for my xml file which does not have xsd format this way, if yes how??
    Please suggest.

    The main purposes of registering a schema, depending upon how you register it, are to create objects within Oracle to have the XML stored in and to use to validate XML against.
    If you are trying to validate the XML, then you need to register the DTD from http://www.fgdc.gov/metadata/fgdc-std-001-1998.dtd. (If possible, I would suggest to convert the DTD to an XSD before registering it given that DTDs are outdated now)
    You can find examples of registering schemas in the FAQ at the {forum:id=34} forum. Assuming your DB version meets the requirements, any registration questions should be posted in that forum. You can also search that forum for registerschema and find many examples as well.

  • How can i fix my iphone 3gs when i have network issues after updating to IOS 6.1.3 and avoid the connect to ITunes screen?

    Im an owner of an Iphone 3gs.
    When I updated my software to IOS 6.1.3 I started having network issues such as my phone would go on searching, it would search for signal and then No service after few minutes it would restart and when its on again it would show me Connect To Itunes screen, I tried connecting but nothing happens and if I just leave it as it is it will just keep on restarting and showing the same screen sometimes I might get lucky and the phone will start working again but No Service and if I turn on my 3G for the times Im outdoors it will just restart again so 3G is also another problem I have got. Today I decided to take it to an Apple Store, the guy restored it and now what happens is that it switches on and is showing me the connect to Itunes message but with black backround and i cant do anything it keeps on restarting and showing the same thing. Please if there is anyone that would like to spend some time with me to help me out, he would be more than Welcome.
    Im located in South Africa

    iOS: Device not recognized in iTunes for Mac OS X

  • HT1879 How can you buy more japanese ablum when you have a us account

    Just want to know if i can get more japanese song/ablums even though i have us account

    You cannot use other countries itunes stores
    You can only buy what the itunes store in the U.S sells.
    You can purchase from other sellers if you like.

  • How to deal with the mouse events when the thread is running

    Hi everybody,
    I have a problem with my program.
    Now I want to present a picture for some time in the Canvas,then automatically clear the screen, but when the user press the mousebutton or keybutton, I want to stop the thread and clear the screen.
    How can I receive the mouse event when the thread is running?
    Thanks,

    I use my code in a GUI applet.
    I try to use the code tag, it's the first time.
                   Image im=sd.getStimulus(obj);
                   if(pos==null){
                        g.drawImage(im, (w-im.getWidth(null))/2,(h-im.getHeight(null))/2,null);
                   }else{
                        g.drawImage(im, pos.x,pos.y,pos.w,pos.h,null);
                   try{
                        sleep(showtime);
    //                    Thread.sleep(showtime);
                   }catch(InterruptedException e){}
                   if(pos==null){
                        g.clearRect((w-im.getWidth(null))/2,(h-im.getHeight(null))/2,im.getWidth(null),im.getHeight(null));
                   }else{
                        g.clearRect(pos.x,pos.y, pos.w, pos.h);
                   }

  • How can I see all photo miniatures when I open a photo album or an event in iphoto?

    How can I see all photo miniatures when I open a photo album or an event in iphoto?

    Note the zoom slider at the bottom of th iPhoto Window - drag it left.

Maybe you are looking for