Forum Discussion
Arek
Nimbostratus
Aug 19, 2020Source address affinity persistence none
Source affinity profile has persistence set to 12hrs for all source IP addresses but there is requirement to have no persistence for two servers. I have an iRule but I dont think that works well and...
Dario_Garrido
Noctilucent
Aug 19, 2020Hello Arek.
Try this.
when LB_SELECTED {
if { ([lindex [LB::server] 1] equals "192.168.255.10") || ([lindex [LB::server] 1] equals "192.168.255.17") } {
persist none
}
}Regards,
Dario.
Arek
Nimbostratus
Aug 22, 2020Hello Dario,
Thank you for your reply.
I used rule below just for one server and It worked
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 192.168.255.17] } {
persistence none
}
}
Thank you,
Arek
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects