Forum Discussion

Mali47_261353's avatar
Mali47_261353
Icon for Nimbostratus rankNimbostratus
Apr 10, 2018

APM multiple pool iRule

We are currently working on migrating from TMG to F5 and would like to accomplish reverse proxy feature offered by TMG. Our configuration requires we use a single VIP using APM. The single VIP will have multiple paths, each path will then need to be sent to a different pool, similar to a TMG firewall policy. We have figured out to how use a static pool, however we would like to be able to use multiple paths that maps to different pools through APM.

 

Example, the main VIP I test.net paths are /departments --> pool1, /resources --> pool2 etc..

 

Any suggestions that would help.. we are using the APM Portal access also

 

Thanks.

 

3 Replies

  • Hello,

     

    For you needs you several options:

     

    -> With APM

     

    -> With LTM Policy

     

    -> With Irule (we can do It without Irule... but it's an option)

     

    If you use APM you can create a macro and you can use landing URI (Initial URI) for each Pool... And you can directly from VPE set pool depending the landing URI. But after reflexion, you may have problems.

     

    because once the policy evaluated you do not go back inside anymore.so if the user enters another URL he will not be redirected to the right pool but on the one selected during the evaluation of the policy...

     

    So I advise you to use "LTM Policy" for your need. It's simple to deploy and maintain...

     

    Let me now if you have another question

     

  • Thanks, I just used a Policy to forward to multiple pools and works with APM