Forum Discussion

Peter_125719's avatar
Peter_125719
Icon for Nimbostratus rankNimbostratus
Dec 14, 2012

Fail open for a proxy pool

Hi,

 

I am new to LTM and iRules.

 

 

My virtual sever is transparently redirecting web traffic to a pool of proxy nodes. LTM is deployed as a L2 device using VLAN group. There is no explicit proxy setting from browsers of client machines. And I did enable port translation and address translation from the virtual server.

 

When all the proxy nodes are out of service (active_members == 0), is there a way for me to totally stop the packet redirection and let the request go the orignal web server directly?

 

My rule could be something like:

 

 

when HTTP_REQUEST {

 

if { [active_members http_proxy_pool] == 0 } {

 

??????

 

}

 

}

 

Thanks,

 

Peter

 

 

3 Replies

  • Hi Peter,

    Assuming you have the VS default pool set to the proxy pool, this should work:

    
    when CLIENT_ACCEPTED {
       if { [active_members [LB::server pool]] == 0 } {
          forward
       }
    } 

    Aaron

  • Thanks a lot, Aaron. That worked.

     

     

    This follow-up questions is a little bit off the topic. Why is my LTM VE 10.0.1.3341.1084 changing the MTU of all port 80 web traffic to 590? It is the same LTM deployed in L2 on ESX.

     

    It looks like some setting of the virtual server is messed up.

     

     

    Peter

     

  • Thanks a lot, Aaron. That worked.

     

     

    This follow-up questions is a little bit off the topic. Why is my LTM VE 10.0.1.3341.1084 changing the MTU of all port 80 web traffic to 590? It is the same LTM deployed in L2 on ESX.

     

    It looks like some setting of the virtual server is messed up.

     

     

    Peter