Forum Discussion

sb_2323_80570's avatar
sb_2323_80570
Icon for Nimbostratus rankNimbostratus
May 09, 2010

help with lb::reselect persistence

Hi,

 

 

Could someone please point me on the right direction, If an irule that reselects a node and changes the destination TCP. This works fine but doesn't seem to create a session entry in the persistence table.

 

 

I have added persist after the node has been selected but this still fails, Would be greatly appreciated if someone could help

 

 

when LB_SELECTED {

 

if

 

{[IP::addr [LB::server addr] equals 1.1.1.1]}

 

{LB::reselect node 1.1.1.1 $tcp_port

 

persist source_addr 255.255.255.0 60

 

}

 

if

 

{[IP::addr [LB::server addr] equals 1.1.1.2]}{

 

LB::reselect node 1.1.1.2 $tcp_port

 

persist source_addr 255.255.255.0 60

 

}

 

No RepliesBe the first to reply