Forum Discussion
Oracle/F5 can't connect after fail over
I'm DBA and new to F5. We are doing POC if F5 can redirect IP after Oracle data guard fail over. The applications config files hard code database ip in config files and want to keep the same ip after failing over. F5 was configured when primary database is switched or failed over, then the applications will reconnect data guard server. The applications just re-connect to data guard db since F5 will redirect to data guard server. Before fail over, the applications can connect to primary db with F5 ip. After performing fail over procedure and my network admin disable primary db in F5, I received ORA-12547: TNS: lost contact when trying to connect to database. Is there a documentation to deploy ip rerouting?
Thank you
2 Replies
- Chris_Akker_129Historic F5 Account
Hi Patcha, no IP re-routing needed.
You just need to follow the instructions for "Priority Group Activation" of pool members, contained in the LTM and RAC deployment guide. The example in this guide is for RAC Primary to Standby cluster failover, but the same concepts/principles apply to DataGuard Active/Standby role changes. Just modify the DB health monitor SQL query to look for the current DataGuard Role status of both DB servers, so LTM can determine which pool member is UP. If the application is hard coded to a single IP address, this is the only way practical way to do this efficiently with LTM.
You can find the details here:
http://www.f5.com/pdf/deployment-guides/oracle-rac-database-ltmv11-dg.pdf
Good Luck !
-Chris.
- Patcha_164590
Nimbostratus
Thank you. I will start over again.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com