Forum Discussion

Oli_138142's avatar
Oli_138142
Icon for Nimbostratus rankNimbostratus
Nov 27, 2013

mulitple irules accessing the same sub table

I have an irule that inputs session data in to a subtable. I have 2 VS, one deals with https traffic and one deals with http traffic, and I will assign the same irule to both VS. The subtable name is hardcoded in both - in this case sessionCount.

 

Can I share the same subtable across both virtual servers and have the irule input session data from both virtual servers? As the irule is the same, the same session data will be written to the subtable.

 

Many thanks, Oli

 

  • Hi, yes you can. Each 'table' command is atomic, so they won't 'clash' if both try to update at the same time.

     

  • Hi, yes you can. Each 'table' command is atomic, so they won't 'clash' if both try to update at the same time.