TAF is a feature of OCI. It allows applications to reconnect if the initial connection fails. TAF can resume the SELECT operation but all active transactions are rolled back. TAF supports 2 types of failover methods:
1. BASIC: Reconnection is established at failover time.
TAF without FAN (fast application notification)
srvctl add service -d DBALAB -s DBSRV -r dbsrv01,dbsrv02 -P BASIC
TAF with FAN:
srvctl add service -d DBALAB -s DBSRV -r dbsrv01,dbsrv02 -P BASIC
srvctl start service -d DBALAB -s DBSRV
srvctl modify service -d DBALAB -s DBSRV -q TRUE -P BASIC -e SELECT -z 180 -w 5 -j LONG
2. PRECONNECT: In addition to the intial connection, the shadow connection is also created.
No comments:
Post a Comment