Forum Discussion
Primary failover setup
I would like to setup F5 LB with following behavior using iRules,
I want to get 2 tcp servers (machine1, machine2) configured under F5 LB in primary-failover mode. When both services are up and running a client should connect to machine1 only. When machine1 goes down, the client will retry connecting and F5 should redirect the connection to machine2. If machine1 comes back the existing client and new clients should still connect to machine2 (Note: new connections should go to machine2 even if machine1 is up and running). Only when machine2 goes down, the application should reconnect to machine1.
Could you please help me how to setup F5 with above behavior using iRules.
1 Reply
- anoop1
Nimbostratus
Hi Prabhu,
i do not think irule is the answer of your question you should be using priority group activation along with icall to achieve the same , either you can run it periodicly or the best method should be configuring the alert for the pool member with alert.conf and trigger the icall based on the event and alter the priority group ratio via icall script.
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