Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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. –  justFen Apr 3 '12 at 14:43

Your Answer

 
discard

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.