Hi!
thank you for response. I'm implementing failure detection and
failure over using keepalived.
Leandro.
On Tue, Dec 16, 2008 at 7:57 AM, Graeme Fowler <graeme@xxxxxxxxxxx> wrote:
> Hi Leandro
>
> On Mon, 2008-12-15 at 18:22 +0000, Leandro Sales wrote:
>> I have a basic configuration of LVS-NAT pointing to two real-servers
>> (A and B). In case of a failure in one of the real servers (let's say
>> A), does LVS take care of detecting this failure and always redirect
>> requests to real-server B? Or should I have to use keepalived to
>> provide this function?
>
> LVS does not provide any health checking at all. There are many ways you
> could do it, but the most popular are:
>
> ldirectord
> keepalived
>
> They work in different ways to achieve the same end. Given the "basic"
> nature of your setup, you could just as easily write your own scripts to
> do this using a combination of (for example, for webservers)
> shell/curl/ipvsadm or something similar.
>
> If I were you I'd stick with one of the above pair, though - as you gain
> complexity you'll pay for rolling your own (in most cases) :-)
>
> Graeme
>
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
--
Leandro Melo de Sales
Pervasive and Embedded Computing Laboratory
Master in Computer Science
http://embedded.ufcg.edu.br/indexen.html
PGP: 0xC7074792 @ wwwkeys.pgp.net
"O guerreiro é forte em lealdade, intensidade, determinação,
iniciativa, persistência, coragem e força de vontade. O guerreiro é
leve em sua calma, autoconfiança e compaixão. O guerreiro é
freqüentemente chamado para tomar a frente quando outros covardemente
dão um passo atrás. Guerreiros existem nos campos de batalha e na vida
cotidiana."
http://www.leandrosales.com/
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|