Forum Discussion

souravkayal_287's avatar
souravkayal_287
Icon for Nimbostratus rankNimbostratus
May 16, 2017

Irule to redirect

I have a requirement from a client to set up the follwing loadbalancing:

 

Client need to access this URL:

 

https://xyz.com:10100/xx_Callback/services

 

f5 must load balance to :

 

(Final URL 1) (Final URL 2) (Final URL 3) (Final URL 4)

 

SO the pool has two nodes working on two serivices ( one on 10101 and 10102 and second node on 10103 and 10104)

 

note: the URI changing for node 1 (Callback1)and node 2(Callback)

 

please suggest me the irule for this. I did try something but not working as expected:

 

1 Reply

  • Hi,

     

    Want do you really want?

     

    One VS with 1 pool with members:

     

    • node1:10101
    • node1:10102
    • node2:10103
    • node2:10104

    may work without any irule.

     

    If you want to change hostnames in requests, you may use an irule (or LTM policy).

     

    If you want to rewrite responses, you may use an irule or a rewrite profile.