LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: newbie question

To: 2598 [·¨³Ó¶¯] <2598@xxxxxxxxxxxxx>
Subject: Re: newbie question
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Jeremy <jjohnson@xxxxxxxx>
Date: Wed, 11 Oct 2000 20:52:49 -0700
Setup your Realservers with 2 different IP numbers and your director
with the 3'rd IP address, assuming you have LVS-DR support compiled into
your kernel, simply add this add this line to your /etc/rc.d/rc.local on
your RealServers and reboot them.
 
/sbin/ipchains -I input -j REDIRECT 80 -d 0.0.0.0/0.0.0.0 80 -p tcp

just add one like like this for each port you want to work with the
LVS-DR

the Director will forward the request to whichever server it wants and
this line tells the RealServers to accept ALL requests that come on on
that port.


Jeremy


> 2598 [·¨³Ó¶¯] wrote:
> 
> I run Red Hat 6.1 linux-2.2.14-3 .0 and want to setup LVS-DR .
> All my director and realservers are connected on the same hub .
> When I add the second realserver ,the arp problem occuried !!
> 
> 1.. When I hide the realserver's  lo  , and it still responds ?
>     i.e : from realserver ping 127.0.0.1
> 
> 2. Do I have to patch ipvs-0.9.12-2.2.14 first ? if not ,the arp
> problem can not be fixed?

/sbin/ipchains -I input -j REDIRECT 443 -d 0.0.0.0/0.0.0.0 443 -p tcp


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