Guys,
I thought about an onther solution in case the persist lookup doesn't give me the node handling a connection for the specified IP.
I made up two iRules, one for the RSTP VIP and one for the HTTP vip. This gives :
Attached to the HTTP VIP :
when HTTP_REQUEST {
set realip [HTTP::header "x-nokia-ip-address"]
set realnode [session lookup tablesession $realip]
node $realnode
}
Attached to the RSTP VIP :
when LB_SELECTED {
set nodeip [LB::server]
session add tablesession [IP::remote_addr] $nodeip 1 1800
}
Is it correct ?
Thanks a lot for your answer. I forgot to mention that I'm running v9.1.1.
Regards.