> Does LVS support a primary/backup type of scenario? Aside from load
> balancing, I would like to be able to have a setup where I can have a
> primary database server and one or more hot backup servers.
>
> So if the primary goes down, LVS then not only redirects to
> the backup,
> but also starts up the database service as part of "bringing it up".
>
> The main reason is because it's very difficult to get useful
> replication
> out of something like mysql, so instead I thought of having a
> primary with
> one or more hot backups, and the data shared over NFS. The hot backups
> typically would not even be running the daemon, that way there's no
> problems with the shared data. But if the primary goes down, then the
> backup can take over, starting up the daemon.
> can it run a script when it brings up the secondary?
http://www.linux-ha.com + mon
LVS is for load-balancer type scenarios.
|