Forum Discussion

rdc_gayu_110274's avatar
rdc_gayu_110274
Icon for Nimbostratus rankNimbostratus
Mar 26, 2007

Previous iRules on 9.1.2 stop working on 9.2.2

We have following iRules working on BIG-IP 9.1.2:

 

iRules attached to TCP Virtual Server A:

 

when CLIENT_ACCEPTED {

 

TCP::collect

 

}

 

when CLIENT_DATA {

 

...

 

Set key and data according to TCP packet payload

 

set key2 [list $key any]

 

session add uie $key2 $data

 

...

 

TCP::release

 

TCP::collect

 

}

 

iRules attached to TCP Virtual Server B:

 

when SERVER_CONNECTED {

 

TCP::collect

 

}

 

when SERVER_DATA {

 

...

 

Set key according to TCP packet payload

 

set key2 [list $key any]

 

set data [session lookup uie $key2]

 

...

 

TCP::release

 

TCP::collect

 

}

 

The iRules are simple: store data into session table when VIP A receives TCP packet, and retrieves previously stored data when VIP B returns TCP response.

 

This is working perfectly find on BIG-IP 9.1.2. Now we have updated the BIG-IP to 9.2.2 and the iRules are not working: previous stored data cannot be retrieved in the second iRules script.

 

Is there any changes in iRules command "session"? Any help is appreciated!

 

Otherwise we have to switch back to BIG-IP 9.1.2. Thanks again!

1 Reply

  • 9.1.2 was actually released much later than 9.2.2, so there are a lot of fixes in 9.1.2 that aren't in 9.2.2. If you have a specific reason to be on the feature branch, you should upgrade to 9.2.5. Else, if you don't have a need for the features in the feature release, you should stay on the 9.1.x maintenance release branch.

     

     

    SOL2965 on AskF5.com gives more detail on the versions available:

     

    Click here

     

     

    Aaron