Forum Discussion

Ten_92952's avatar
Ten_92952
Icon for Nimbostratus rankNimbostratus
Aug 30, 2011

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.

 

1 Reply

  • Hi Ten,

     

     

    Have you tested a OneConnect profile? If you're SNATing on the 10.1.1.1 VS you can use the default OneConnect profile with a /0 source mask. If you're not using SNAT, create a custom OneConnect profile with a /32 source mask.

     

     

    See this page for details:

     

    http://devcentral.f5.com/wiki/AdvDesignConfig.ONECONNECT.ashx

     

     

    Aaron