[lvs-users] LVS + Database
david at davidcoulson.net
Sun Jun 17 12:49:10 BST 2012
On 6/17/12 2:18 AM, YesGood wrote:
> Changed, now I prefer build a master-hot standby (read/write node-read
> only node ) server for the load balancing cluster. It's possible send
> request for both nodes for build load balance?
No, you only want to send connections to the read/write server,
otherwise clients can't update data.
> With active/passive HA, I don't offer load balancing.
> I see about DRBD three-node setup.
> And also I thinking of the NAS shared-disk, but apparently that isn't
> compatible with the ocfs, neither with gfs.
> Which is the best choice for the shared data between databases server, and
> offer load balancing?
What are you trying to accomplish? Do you really need load balancing
between two boxes, or would an active/standby database be enough. You
say you want it for performance, but when a system dies you will need to
be able to support your entire workload on one box.
> I listen of the HAProxy, that offer too load balancing. If I use HAProxy is
> equal to use LVS, and so I must choice between both. In this moment I don't
> know HAProxy.
There are a dozen ways to get requests from a client to multiple boxes.
you have a database problem, not a load balancer problem.
More information about the lvs-users