Forum Discussion

AB_537's avatar
AB_537
Icon for Nimbostratus rankNimbostratus
Aug 17, 2007

BIP, Proxy pass, Reverse proxy

hello,

 

i am new to bip and having some problems with my rule. This is my scenario. i am trying to set up load balancing using bip for some java web app which would be accessed from a pulic server to our internal network.

 

From the public server, there is a proxy pass that is directed to bip through an open port in our fire wall. i have a simple rule that says if http-uri contains "appname" use this-pool.

 

it keeps looping (i think ) and comes up with a proxy error. i noticed this when I decided to set persistence for that pool.

 

Could someone please help me out?
  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    Please post the iRule you are having trouble with and we may be able to help you out.

     

     

    /deb
  • AB_537's avatar
    AB_537
    Icon for Nimbostratus rankNimbostratus
    if (http_uri starts_with "/wavapp") {
       use pool DMZ_POOL
       log "HOST: " + http_host
       log "URI: " + http_uri
    }
    else if (http_uri starts_with "/epermitting") {
       use pool DMZ_POOL
       log "HOST: " + http_host
       log "URI: " + http_uri
    }
    else {
       discard
    }

    Above is my rule. The fire wall is opened for port 4150 so my virtual server on bip which is doing the load balance is on port 4150.(Well i am not sure if such a port is okay for http service and is causing the problem). So from the public server the proxy pass takes you to virtual server 4150 to be load balanced. I tried http cookie and did not work properly with the rule. Simple persistence seems to work a bit but every now and then the proxy error pops up.

    Thanks