Forum Discussion
Rick_110395
Nimbostratus
Aug 08, 2011iRule 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
}
}
- hoolio
Cirrostratus
Hi Rick, - Muhammad_64435
Nimbostratus
hello, - Rick_110395
Nimbostratus
Thanks guys!
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