fat_138651
Aug 29, 2016Nimbostratus
source ip AND port persistence
Hi all,
I am loadbalancing LDAP using the iAPP (11.6.0 HF6). Because a lot of clients are using LDAP via some kind of proxy-server (all have the same IP, but different ports), I would like to set up a peristence using the source IP and the source port.
I am currently using an iRule which is connected to the ldap vs.
when CLIENT_ACCEPTED {
set client_remote "[IP::client_addr]:[TCP::client_port]"
persist hash ($client_remote) 300
log local0. "Connection: Client($client_remote)"
}
The iRule is working fine regarding the loadbalancing itself. My problem ist, that the entrys in the persistence table are not timing out. My table is just getting bigger and bigger.
Why is my timeout not working?
I did some research in devcentral and found out, that the "persist carp" might be a better way. Is that correct?
Thanks in advance for your help
Kind Regards,
Thorsten