LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

primary/backup and ability to start a service?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: primary/backup and ability to start a service?
From: Ricardo Kleemann <ricardo@xxxxxxxxxxx>
Date: Thu, 19 Jul 2001 16:16:45 -0700 (PDT)
Hi guys,

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.

Anyways, can LVS be setup to do that rather than load-balancing? And also,
can it run a script when it brings up the secondary?

Thanks
Ricardo



<Prev in Thread] Current Thread [Next in Thread>