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:
nitass
April 26, 2015, 8:26am
2
you may check priority group activation, destination address persistence or single node persistence to see whether it is applicable.
About priority-based member activation
Single Node Persistence
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 ?
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.
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)