Integration between Veritas Cluster and JDBC driver
Dear Sir,
Currently our application uses Oracle RAC for DB failover management and pool the connection at application end. In case of DB failover at one node, application receives the FAN events. Application determine the DB failover based on failover error code (FCF error code) and take certain action.
Now we are planning to move HA structure. Sorry, I don't have much knowledge about Veritas Cluster. But we are planning to use Veritas Cluster for failover management. To take this option we are currently executing some impact analysis from application point of view. Can you please share your view for following queries-
- How Veritas Cluster and JDBC driver communicate each other?
- In case of DB failover at primary node, does the Veritas Cluster generates any failover events (i.e. similar to FCF error code)?
- As I have mentioned that we maintain the connection at application end. In case of DB failover, Veritas Cluster will refresh the connection pool i.e. remove the stale connection from the pool?
- If Veritas Cluster will not refresh the connection pool in case of DB failover then how application will detect DB failover? Does the application receive any FCF error code while use the stale connection?
Please note that currently we using oracle 11gR1 enterprise editions and planning to upgrade the oracle version to 11gR2 or 12c enterprise editions.
Regards,
Krishnendu
Hi,
Hope can give you some tips:
- How Veritas Cluster and JDBC driver communicate each other? <<VCS have no communcate with JDBC, it only manage many agent, which help monitor all kinds of resources like application/Oracle/listener.., when resource fault, it help failover to another node. For SFRAC,Oracle running on both nodes, failover not happen.
- In case of DB failover at primary node, does the Veritas Cluster generates any failover events (i.e. similar to FCF error code)? <<<sure.
- As I have mentioned that we maintain the connection at application end. In case of DB failover, Veritas Cluster will refresh the connection pool i.e. remove the stale connection from the pool?<<<you can set virtual ip in VCS, while DB failover,application and virtual ip failover also, refresh the connect from application side.
- If Veritas Cluster will not refresh the connection pool in case of DB failover then how application will detect DB failover? Does the application receive any FCF error code while use the stale connection? <<application, virtual ip, db failover to same server, while application start,it begin new connection for db.
Since your question are some complex, you can open case for Support engineer for detail , or contact sale engineer for detail plan.