Forum Discussion

Ken_Wong_48678's avatar
Ken_Wong_48678
Historic F5 Account
Sep 28, 2007

load balancing problem

I have a interesting requirement and want to know whether iRule can help....

 

 

There is a pool and there are four servers (let's call A, B, C and D) inside the pool. A and B are production servers and C and D are backup for them respectively. If A down, C will on line; If B down, D will on line.

 

 

Any idea? Thanks in advance

 

 

Regards,

 

Ken

 

3 Replies

  • you can set higher priorities for A and B say 10 as compared to C and D say 2. So c and D will be hit only if ever A/B go down

     

  • Ken_Wong_48678's avatar
    Ken_Wong_48678
    Historic F5 Account
    Thanks and I know how priority works in pool....but the problem is I need C to backup A and D to backup B.

     

     

    Any other suggestion? Thanks in advance

     

     

    /Ken
  • Define your A & B servers as higher priority in the pool than C & D, then write a rule in LB_FAILED that selects C if A failed and D if B failed.