irule not working as expected
Issue with an irule ,from tcpdump dont see traffic hitting the backend servers in the pool.
when RULE_INIT { set debug 1 }
when HTTP_REQUEST {
if {$debug} { set LogString "Client [IP::client_addr]:[TCP::client_port] -> [HTTP::host][HTTP::uri]" log local0. "=============================================" log local0. "$LogString (request)" foreach aHeader [HTTP::header names] { log local0. "$aHeader: [HTTP::header value $aHeader]" } log local0. "=============================================" }
switch -glob [HTTP::header "SOAPAction"] { "; - "; - "; { if { [active_members qa2-pool] > 0 } { pool qa2-pool } else { pool qa1-pool } } } }