Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Now this is something which has been on my mind since I started stetting up our load balancers.

Would you use the MASTER/BACKUP configurations for keepalived if both your HAProxy servers were the same hardware specs?

Or, would you use the EQUAL state?

Why I ask is, in my mind at least It seems more detrimental to have the LBs switch on a fail over and then back to the original master... as opposed to if using the EQUALS state the active LB is the one it switched to during the fail over

share|improve this question
up vote 2 down vote accepted

If the cluster members are of the same specs (no machine is much better in terms of hardware over the other), I would prefer to keep the current master without failing back to the original master. At least, this will save the current sessions/transactions during the original master recovery and there will be no real benefit as the two machines are identical.

share|improve this answer
Yep, this is exactly my thoughts as well on the matter. It just made me wonder given the number of posts and guides which tend to heavily favor the MASTER/BACKUP setups. – fenneh Apr 3 '12 at 14:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.