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...
nick_66950
Nimbostratus
Aug 20, 2007Hi
First of all thanks for the quick replies. I have tried your suggestions and it seems that the LB does select and the LB:Failed does not get called. But still I get no output. I am pretty sure that the servers/monitor/pool are up as if I choose a default pool then it works. Unfortunatly I do not get anything usefull out of the log. For instance the LB:Failed does not get called.
My Irule now:
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 {
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.
log local0. "LB Selected server: [LB::server]"
}
when LB_FAILED {
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.
log local0. "Selected server failed: [LB::server]"
}
Logs:
Mon Aug 20 01:43:40 BST 2007 tmm tmm[735] Rule ADSIRule : LB Selected server: ADS-HTTP-Pool 10.100.105.4 80
Mon Aug 20 01:43:40 BST 2007 tmm tmm[735] Rule ADSIRule : chose ads01
Mon Aug 20 01:42:00 BST 2007 wikkitgate2 system_check 010d0005 Chassis fan 103: status (0) is bad.
Mon Aug 20 01:41:35 BST 2007 tmm tmm[735] Rule ADSIRule : LB Selected server: ADSv2_01 10.100.105.1 80
Mon Aug 20 01:41:35 BST 2007 tmm tmm[735] Rule ADSIRule : chose adsv2_01
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