Forum Discussion

NitinK's avatar
NitinK
Icon for Employee rankEmployee
Sep 30, 2014

Irule for Source address persistence with dependency on a different virtual Server Persistence table

I have a Virtual Server 1.1.1.1:any and has source address persistence on it. Can a irule monitor the persistence table on the above VS and then take a decision for a VS 1.1.1.1:28489. The backend servers on both the VS are same.

 

2 Replies

  • persist should be used to lookup info on persist table for any virtualserver

     

    https://devcentral.f5.com/wiki/iRules.persist.ashx

     

  • Basically what i want is that when a connection come from a specific source to a VS 1.1.1.1:any it would go to a backend server A Now a second connection comes in from the same source for the VS 1.1.1.1:28489, So the Irule should check the VS 1.1.1.1:any Persistence table and identify which server on the pool the connection has gone and accordingly send traffic ti that same server. that is Server A.

     

    Bothe VS 1.1.1.1:any and 1.1.1.1:28489 have server A and B on its pool.