Srecko_M__12636
Nov 29, 2013Nimbostratus
Persistence mirroring with irules
Hi,
we are using iRules to direct traffic to a different pool, when traffic comes to the same VIP, but to a different HTTP host.
For example:
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
wap.example.com {
pool Pool_2
persist source_addr 255.255.255.255 12000
}
}
}
The idea is that if "HTTP:host" is anything different form "wap.example.com", then the traffic goes to Pool_1. The iRule is assigned to a VIP. A persistence profile with Source Address Affinity is also assigned to the VIP. This persistence profile has mirroring enabled.
The question is: How to enable persistence mirroring when the iRule directs traffic to Pool_2 for host "wap.example.com"?