Ashu_Aggarwal
Jan 27, 2020Cirrus
irule help - disable persistence
I have a VS configured with session cookie persistence profile. So all the requests from users & middleware receive session cookie. users receives session cookie is fine but all the requests from middleware routed to only one server in load balancing pool which is not desired. I need to configure a irule so that all the POST messages from middleware should not receive a cookie & get loadbalanced more efficiently. This is the i-rule i came up with. Would it work ?
when CLIENT_ACCEPTED {
switch [IP::client_addr] {
"10.27.15.231" { persist none }
"10.27.15.236" { persist none }
"10.27.15.238" { persist none }
}
}