LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] CentOS-5 VLS doesn't virtual httpd doesnt failover when

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] CentOS-5 VLS doesn't virtual httpd doesnt failover when httpd dies
From: Sébastien BONNET <sebastien.bonnet@xxxxxxxxxxx>
Date: Tue, 03 Jul 2007 02:57:52 +0200
Nick Stephens a écrit :
> and from the Real Servers:
> -A PREROUTING -d x.x.x.x -p tcp -m tcp --dport 80 -j REDIRECT
>   
Is this the way not to have to setup the VIP on the realservers ? If 
not, how did you handle the ARP problem ?
Can you send the result of "ip a l" ?
> I apologize, CentOS = RHEL, and the default monitoring script is simply 
> and http get:
>
>      send = "GET / HTTP/1.0\r\n\r\n"
>      expect = "1.3.37"
>      use_regex = 0
>   
OK. So you're using piranha. Can you send the full config ?

Using 1.3.37 as the expect string is, IMHO, a bad idea because you'll 
have to alter your config once you update your realservers and will have 
problems if not all RS are running the same version. It think the "real" 
default was more something like "HTTP 200". Anyway.

Using persistence might be a good reason for still being directed to the 
same realserver, even once it has been taken offline. Not correctly 
handling the ARP problem could be another.

Can you send the output of "ipvsadm -ln" at different stages of the 
process (before first connection, after first connection, after taking 
web01 down, ...) ?

Regards,

-- 
Sébastien BONNET



CONFIDENTIALITÉ
Les informations contenues dans ce document sont de nature confidentielle et à 
l'usage exclusif des destinataires prévus. Si vous l'avez reçu par erreur, son 
utilisation sous quelque forme qu'elle soit est strictement interdite. Nous 
vous remercions dans ce cas de détruire le message et de prendre contact avec 
son expéditeur. L'intégrité des messages n'étant pas assurée sur Internet, 
Experian ne saurait être tenu responsable si ce message s'avérait modifié ou 
falsifié. 

CONFIDENTIAL
The information contained in this message and any attachments hereto are 
confidential and intended solely for the addressee(s) intended. If you are not 
the intended addressee of this message, you are hereby notified that you have 
received this document in error. Any review, dissemination, distribution, or 
copying of this message is prohibited. Please delete it and inform the sender 
immediately. Thank you for your help. Messages are susceptible to alteration. 
Experian shall not be liable for the message if altered, changed or falsified.




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