Forum Discussion

LFLEB_299427's avatar
LFLEB_299427
Icon for Nimbostratus rankNimbostratus
Nov 16, 2016

irule for traffic redirection based on cookie content and monitor

Hi All,

 

I need to create an irule that take decision to which pool sending the traffic based on the cookie content plus on a health of specific TCP port. The problem is that i have more then 35 ports to check one by one. Do you think its better to create 35 monitor and let the irule check these monitors then forward traffic? or i can put on the irule a specific code that directly check and get a response if the port is up without having to create all these monitors?

 

Here is an example of my need: If monitor_tcp_833_site1 is up and the packet contains 8574 in the cookie then send to pool 1 If monitor_tcp_833_site1 is down and monitor_tcp_833_site2 is up and he packet contains 8574 in the cookie then send to pool 2

 

If monitor_tcp_834_site1 is up and the packet contains 8575 in the cookie then send to pool 1 If monitor_tcp_834_site1 is down and monitor_tcp_834_site2 is up and he packet contains 8575 in the cookie then send to pool 2

 

etc. for 35 or 40 ports

 

Thank you

 

No RepliesBe the first to reply