I'm working with Oracle in a series of payments applications mostly done in Perl that run 24x7.
We're trying to set up our environment to enable database changes (both patching and application changes) in place, transparently to clients/customers/users.
I am using the TAF support built into DBD::Oracle (thanks to the people who did that work) to detect successful failovers, set an environment variable and then croak. I have a subclass of ModPerl::PerlRun looking for that environment variable so if there's an application error because of a server failover, it can re-run the CGI script with the new DB connection.
I am wondering however, if it would be possible to set up FAN support. Reading between the lines of the Oracle docs, I believe that it might be possible to set up an OCI connection pool on the client side that the server would communicate with directly, such that OCI would call the TAF handler with an OCI_FO_END event after a failover.
Has anyone done something like that?
Thanks in advance,
Christopher Everett
U.S. BANCORP made the following annotations
---------------------------------------------------------------------
Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation.
---------------------------------------------------------------------
We're trying to set up our environment to enable database changes (both patching and application changes) in place, transparently to clients/customers/users.
I am using the TAF support built into DBD::Oracle (thanks to the people who did that work) to detect successful failovers, set an environment variable and then croak. I have a subclass of ModPerl::PerlRun looking for that environment variable so if there's an application error because of a server failover, it can re-run the CGI script with the new DB connection.
I am wondering however, if it would be possible to set up FAN support. Reading between the lines of the Oracle docs, I believe that it might be possible to set up an OCI connection pool on the client side that the server would communicate with directly, such that OCI would call the TAF handler with an OCI_FO_END event after a failover.
Has anyone done something like that?
Thanks in advance,
Christopher Everett
U.S. BANCORP made the following annotations
---------------------------------------------------------------------
Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation.
---------------------------------------------------------------------