prabhuj_247068
Jan 31, 2016Nimbostratus
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.