What is LVS doing with packets

Joseph Mack NA3T jmack at wm7d.net
Wed Jun 14 15:14:53 BST 2006


On Wed, 14 Jun 2006, Kai Suchomel1 wrote:

>
> Hi another question....
>
> The client has established a connection to the director

no. The director is a router with slightly different rules 
to a normal router. There is no connection from the client 
to the director.

> and is routed to a RS.

yes

> He starts transfering a file.
> Now the RS dies (delete the entry in the ipvsadm table),
> Does the Director automatically redirect the packets to another server??

no. You usually set the weight to zero, indicating that 
current connections are allowed to continue. If the RS is 
dead, the client will have to do the same thing as if single 
machine server dies in the middle of a connection. The user 
might have to hit ^C or kill the client process.

> What is the director doing with these packets,that 
> originally belongs to the RS that has died.

You're asking what a router does if a machine downstream 
dies and a client continues to send packets. There's no spec 
on this and no-one really cares. The director may send back 
icmp error messages. However in LVS-DR, for security you 
usually don't have a route from the VIP to 0/0, so no icmp 
packets can get back anyhow (unless you have a route for 
icmp packets only).

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml 
Homepage http://www.austintek.com/ It's GNU/Linux!

Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list