Forum Discussion

Ravi_Rajan_7549's avatar
Ravi_Rajan_7549
Icon for Nimbostratus rankNimbostratus
Mar 17, 2008

Redirection with Multiple pools

Hi,

 

 

I am not very experienced with irules and have few queries as below -

 

 

I have two pools ex. poola and poolb. Each pool has few servers like -

 

 

poola - server1, server2

 

poolb - server3, server4.

 

 

Server1 & Server2 -

 

These servers are hosting web applications with URI - /abc and /xyz

 

 

Server3 & Server4-

 

 

These servers are hosting web applications with URI /pqr and /def

 

 

Now i have a single virtual server and i need an irule which does something like this -

 

 

For each incoming request, the irule should check the URI and based on URI, it should use the appropriate pool.

 

 

For ex - In case URI is /abc, then the virtual server should poola and If URI is /def then the virtual server should use poolb.

 

 

TIA,

 

 

Regards,

 

Ravi

 

14 Replies