Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

irule query

Could anyone help me with the following scenario if its possible with irule or lese what is the options:

We have 2 severs and we need to send the traffic to only 1 server and whenever its down then only we have to send traffic to the second server.

we are running in 11.5.x version.

Appreciated quick help:

1
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

you may check priority group activation, destination address persistence or single node persistence to see whether it is applicable.

About priority-based member activation
https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-basics-11-6-0/4.html

Single Node Persistence
https://devcentral.f5.com/codeshare?sid=690

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

is there a way that we can configure this with irule /icall which send traffic to only one node and when its down to another ?

0
placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Do you not want to used the built-in mechanism in the pool via priority group activation as previously mentioned by nitass?

I suppose if you don't want to use PGA, you could look at the LB_FAILED event for an iRule.

0
Comments on this Answer
Comment made 26-Apr-2015 by f5_rock 2858
Can you please share the LB_FAILED iRule. IP 1: 10.101.10.24 (Primary ) --> if its fail then traffic should go to secondary member IP 2: 10.201.11.22 (Secondary)
0