Forum Discussion

Sylvain_85827's avatar
Jul 02, 2013

Rewrite URL based on selected node for load-balancing

Dears iRules Gurus and community,

 

Once again I need your help ^^ I'm wondering how to rewrite an URL of HTTP requests (IPP in fact) depending on the node chosen for load-balancing the traffic.

 

Typically in ASCII ART or RFC style this would give:

 

|| ----- if node1 selected for load-balancing -----> https://mynode1/xxxxxx ----> node 1 IIS server

 

https://mypublicurl/xxxxxx ----> || f5 LTM v11 || ----- if node2 selected for load-balancing -----> https://mynode2/xxxxxx ----> node 2 IIS server

 

|| ----- if node3 selected for load-balancing -----> https://mynode3/xxxxxx ----> node 3 IIS server

 

|| etc...

 

Any idea?

 

Thanks for your very valuable (and appreciated :D) help!

 

Cheers.

 

18 Replies