LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: question....

To: Joseph Mack <mack.joseph@xxxxxxx>
Subject: Re: question....
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Oliver <oliver.rojo@xxxxxxxxxxx>
Date: 03 Oct 2003 14:45:55 +0800
I think mon is only for monitoring lvs... keepalived is good... but i'm
using ipvsadm right now. but my problem if how can i configure both
external and internal VIP into one port. let's say i'll use ftp;
redirected to a backup server once ftp server is down. i did on my
ipvsadm conf like 

ipvsadm -A -t external_vip:21 -s wrr
ipvsadm -a -t external_vip:21 -r 192.168.1.11 -g -w 1
ipvsadm -a -t external_vip:21 -r 192.168.1.12 -g -w 1

In this scenario, my ftp users from outside network can connect into my 
backup-ftp (192.168.1.12)
once my ftp server is down but users from inside my LAN cannot. what's the best 
way to configure 
ipvsadm so that users from my internal lan can also connect thru it? Let's say 
internal LAN's
ip is 10.0.0.0/255.255.0.0... can i add something like

ipvsadm -A -t internal_vip:21 -s wrr
ipvsadm -a -t internal_vip:21 -r 192.168.1.11 -g -w 1
ipvsadm -a -t internal_vip:21 -r 192.168.1.12 -g -w 1

into my original ipvsadm config?

On Wed, 2003-10-01 at 20:36, Joseph Mack wrote:
> Oliver wrote:
> 
> > 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?
> 
> mon will do. So will keepalived and feedbackd
> 
> Joe
> 

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