|
PB8对Oracle8i的FailOver的支持 |
||
|
This document
contains guidelines for setting the database parameter in the transaction
object of a PowerBuilder application for Oracle 8i database failover
and also for configuring the Oracle client TNSNAMES.ORA file
for failover.
In PowerBuilder 8.0, the enhanced Oracle database interface driver "O84 Oracle8/8i (8.x.4+)" now supports PowerBuilder application failover when connecting to an Oracle8i database server (version 8.1.5 and higher). There are four new DBParms in PowerBuilder 8.0 for Oracle that allow you to customize failover behavior for Oracle 8i databases. These DBParms are set via the Network tab in the Oracle8i database profile. Oracle Database profile: Oracle Connect-Time Failover:The application database connect request is forwarded to a another listener if the first database listener is not responding. Connect-time failover is enabled by database instance registration, because the listener knows if an instance is up prior to attempting a connection.When connect-time failover is enabled, Net8 is instructed at connect time to fail over to a different listener if the first listener fails when set to ON. The number of addresses in the list determines how many addresses are tried. When set to OFF, failover is Net8 tries one address. Connect-time failover is turned ON by default for multiple address lists (ADDRESS_LIST), connect descriptors (DESCRIPTION), and multiple connect descriptors (DESCRIPTION_LIST). The TNSNAMES.ORA
file need to be configured for connect-time failover listing each
database address, in order, that should be tried until one succeeds:
If the client application database connection through one instance to the database is broken, you can write applications to automatically reconnect through a different instance. See Oracle8 Documentation: Net8 Administrator's Guide - Configuring Multiple Address Options for more information. |
||