Irule assistance needed
I am in need of a little assistance in creating an irule, actually I am in need of a lot of assistance.
I have two web servers 10.0.0.1 and 10.0.0.2 that communicate with two back end servers (10.2.0.1 and 10.2.0.2) via the VIP address of 10.1.1.1.
The web servers tend to reuse open connections instead of bringing up new ones.
Because of this behavior none of the normal persistence methods work properly.
I need an irule that will pin traffic from web server 10.0.0.1 to back end server 10.2.0.1 and likewise pin traffic from the web server 10.0.0.2 to back end server 10.2.0.2 under normal circumstances, but the rule also needs to be able to sense when one of the back end servers is off line and switch all traffic from the web servers to the functional back end server.
Thanks for any help you can provide me.