On Wed, Oct 01, 2003 at 02:48:07PM +0800, Oliver wrote:
> first of all, sorry for this newbie question...
>
> I've installed a clustering service with data replication and failover.
> my setup's like this:
>
>
> LAN ----LVS ------ Internet
> |
> |
> |
> --------------------
> | | | |
> | | | |
> ftp mail web backup
>
>
>
> On this setup, I've already setup the real-time data replication of ftp,
> mail and web servers to backup server using unison. What i'm working
> right now is the failover. I've used ipvsadm on LVS server. I want that
> my LVS server will determine that if the ftp service of ftp server is
> not available, it will automatically route its connection into the
> backup server. how will i do it into ipvsadm? do i still need to use mon
> and heartbeat to implement its real server failover?
You could do this using mon, or using heartbeat, or using ldirectord.
In the case of the latter just set each virtual service up
with one real server and set backup as the failback server.
--
Horms
|