ClusterIP and/or heartbeat on three boxes
We've got three Linux boxes that we're trying to get ClusterIP working on. We want to get to a situation where the three boxes are load balanced (they run exim, bind and squid), and if one or two die, the others will automatically take up the load.
We can get ClusterIP to load balance, but if one box goes down, the other two don't take over - any traffic for the down box simply gets dropped. We've tried heartbeat, and can get that to make sure that traffic always goes to a box that is up, but we can't get it to load balance.
Most of the examples etc that I've found assume that you've got two boxes, and many simply won't work with more than two.
We've thought about running a script on each box to constantly check the state of the other two boxes and re-configure ClusterIP according to which ones are up, but we'd rather use existing software if possible, rather than re-invent the wheel.
Does anything like this exist? Or are we going to have to bite the bullet and write the script?
Last edited by RussP; 04-08-2009 at 03:34 AM.
Reason: Forgot to add that most examples talk about 2 boxes