arun_parthas_10
Mar 18, 2009Nimbostratus
Need help with writing an Irule
Hi
I have a situation where I have 4 clients hitting a VIP with two servers behind..
I am having a Least Connection ( member ) as LB method and Persistence set for 4 hours.. the problem I am having is that 3 clients are bound to server1 and 1 remaining client connect to server 2.. I need help in writing a iRule where I would like to force clients 1&2 to Server 1 ( have Server 2 as failback host ) and client 3 and 4 to Server 2 ( have Server 1 as failback host ), so I make use of both servers on the backend equally.. I will not need to use persistence if I can achieve this . Please see the scenario mentioend below :
1. Tie the first two external hosts ( apache1, apache2 ) with one backend host1 (new pool ) also by having a backup host2.
2. Tie the Second two external hosts ( apache3, apache4 ) with one backend host2 (new pool ) also by having a backup host1.
Any help on this would be greatly appreciated.
Arun P