Rick_110395
Aug 08, 2011Nimbostratus
iRule behavior when pools are down
For example......in this iRule what would happen if a connection was initiated to "host1.domain.com", but srvpool1 is down. What would the iRule do with the connection?
when HTTP_REQUEST {
if { [HTTP::host] starts_with "host1" } {
pool srvpool1
} elseif { [HTTP::host] starts_with "host2" } {
pool srvpool2
} elseif { [HTTP::host] starts_with "host3" } {
pool srvpool3
} elseif { [HTTP::host] starts_with "host4" } {
pool srvpool4
} else {
pool default-pool
}
}