jsmith7735_1319
Jan 21, 2014Nimbostratus
What is this Irule doing?
I have a VIP that is using this irule and one issue that the application owners are complaining about is that the server listening on port 88 is hitting max connections. Unfortunately I don't work on F5's daily so I'm not sure how to resolve this but I think we may have to rewrite the irule. Any help would be greatly appreciated.
when RULE_INIT {
set ::c 0
}
when HTTP_REQUEST { event enable
switch $::c {
0 {
HTTP::redirect "http://server1.test.com:88/test.html"
incr ::c event disable
}
1 {
HTTP::redirect "http://server2.test.com:87/test.html"
incr ::c event disable
}
2 {
HTTP::redirect "http://server3.test.com:86/test.html"
set ::c 0 event disable
}
}
}