LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Will failover lose requests?

To: Putchong Uthayopas <pu@xxxxxxxx>
Subject: Re: Will failover lose requests?
Cc: huatao <thua@xxxxxxxxxxxxxxx>, lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: ratz <ratz@xxxxxx>
Date: Fri, 17 Nov 2000 12:49:41 +0100
Hi,

Putchong Uthayopas wrote:
> 
> HI,
> 
> Are there any way to backup and restore the state of persistance connection
> from LVS kernel.  (via. device interface, api etc) We can send it to backup
> node and restore when primary fail. This at least will help maintain some
> live connection.

As I said before, the design is done but the implementation is missing
in action. What you are proposing, if I understand correctly, is that you
want to have something like ipvsadm --save-tcp-state-transition-table and
then copy the whole stuff to the second node and do an ipvsadm --load-tcp-\
state-transition-table. But no, this is impossible to do and also not 
desirable. Moreover, the saveing and copying and loading is non-atomic, this
means: Even if this approach would work it would be broken by design because
during the time you want to perform the kernel-table-update the original
table may have changed drastically or even the original kernel crashed. So
you would feed the spare node with false information, like false TCP-state
or the masq-timeout values or the atomic_t counter or ...

Best regards,
Roberto Nibali, ratz

-- 
mailto: `echo NrOatSz@xxxxxxxxx | sed 's/[NOSPAM]//g'`


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