Forum Discussion
nick_66950
Nimbostratus
Aug 17, 2007Can't seem to call a pool using iRules
Hi,
We use the following version of BIG-IP Version BIG-IP 9.1.2 Build 40.6
We have run out of valid IP addresses so wanted to implement a way of sharing a single IP/ single virtual...
Deb_Allen_18
Aug 17, 2007Historic F5 Account
Member syntax for pool command is correct, and I don't see anything syntactically wrong with the rule (although I do agree with wshultz about the logical construct improvements).
But do first examine the Local Traffic log for any runtime errors -- the rule will abort processing if any are encountered.
That aside, it looks like the selected pool member is not responding, so we need to start looking at the pool ADS-HTTP-Pool and/or see what happens to the connection after a pool member is chosen.
First be sure your pool members are monitored appropriately and showing UP (green).
If they are, try adding more code to determine what happened after the pool was selected (LB_SELECTED or LB_FAILED should be sufficient, but I included them both as examples of post-selection checkpoints.)
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
ads01.olas.net {
log local0. "chose ads01"
pool ADS-HTTP-Pool
}
adsv2.olas.net {
log local0. "chose adsv2_01"
pool ADSv2_01 member 10.100.105.1 80
}
}
}
when LB_SELECTED {
log local0. "Selected server: [LB::server]"
}
when LB_FAILED {
log local0. "Selected server: [LB::server]"
}
LB_SELECTED will be triggered if a pool member is selected. LB_FAILED will be triggered if no pool member is selected or if the selected member fails to respond.
LB::server returns a Tcl list containing pool name, member address and port. If no server was selected (all servers down), returns pool name only.
HTH
/deb
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