Yazid_Abdesslam
Jun 21, 2017Nimbostratus
Apply Persistence Cookie on iRule (multi pool)
Hello,
We use the bellow iRule to LB to multiple pools depending on URI:
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if { $uri starts_with "/content" } {
pool Pool_CRM81_Content_80
} elseif { $uri starts_with "/ecommunications_ccfra" } {
pool Pool_CRM81_ccfra
}
else {
drop
}
}
We'd Like to apply persistence cookie for Pool_CRM81_ccfra Only.
Trying to add command "persist cookie" failed,
can you give advices please?
Thank you in advance