Forum Discussion

Seckin_149390's avatar
Seckin_149390
Icon for Nimbostratus rankNimbostratus
Nov 14, 2017

Redirect the request not to specific pool member based on URL

Hi Everyone,

 

I want to redirect the connection to default pool except one pool member, i will use to do this irule but do you have any syntax for this request.

 

Pool has 3 pool members .45, .46 and .47 and this is what i want ;

 

If http path or uri equals to "/sections/reports/OSFRaporu.xhtml", the connection should not send the .47 ip address node and must be load balanced to other pool members .45 and .46.

 

Kind Regards,

 

1 Reply

  • Put nodes .45 and .46. in a separate pool and you can use an iRule like this. Apply your default pool with all three members to the VS.

    when HTTP_REQUEST {
        if {[HTTP::uri] equals "/sections/reports/OSFRaporu.xhtml"} {
            pool 45-45-pool
        }
    }
    

    You can also do this as a traffic policy