kevinmc
Aug 07, 2017Altocumulus
LTM persistence
A virtual server has a default persistence profile set (cookie) and an iRule assigned as below
Which of these will take preference?
when CLIENT_ACCEPTED {
log local0. "Start Log"
log local0. "Client Connect: [IP::client_addr]:[TCP::client_port]"
if { [class match [IP::client_addr] equals addresslist] } {
pool SF-ECRPREP
persist source_addr
log local0. "Sent to Pool [LB::server addr] with Source Persist"
log local0. "End Log"
}
else {
log local0. "Start Log"
log local0. "Client Connect: [IP::client_addr]:[TCP::client_port]"
pool SF-ECRPREP
persist cookie insert ECRPREP 0
log local0. "Sent to Pool [LB::server addr] with Cookie Persist"
log local0. "End Log"
}
}