LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: ipvs repartition problem

To: "'malcolm@xxxxxxxxxxxxxxxx'" <malcolm@xxxxxxxxxxxxxxxx>, <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: ipvs repartition problem
From: Stéphane Klein <sklein@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Mar 2005 09:58:36 +0100
Thank you for your response,

I'm sure ldirectord is running because he loads ipvsadm parameters.

here is the log:

[Mon Mar 21 17:52:21 2005|www] Removed virtual server: VIP:80
[Mon Mar 21 17:52:21 2005|www] Linux Director Daemon terminated on signal:
TERM
[Mon Mar 21 17:52:23 2005|www] Starting Linux Director v1.77.2.5 as daemon
[Mon Mar 21 17:52:23 2005|www] Added virtual server: VIP:80
[Mon Mar 21 17:52:23 2005|www] Quiescent real server: 10.1.1.25:80 mapped
from 10.1.1.25:80 ( x VIP:80) (Weight set to 0)
[Mon Mar 21 17:52:23 2005|www] Quiescent real server: 10.1.1.26:80 mapped
from 10.1.1.26:80 ( x VIP:80) (Weight set to 0)
[Mon Mar 21 17:52:23 2005|www] Restored real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 1)
[Mon Mar 21 17:56:32 2005|www] Quiescent real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 0)
[Mon Mar 21 17:56:43 2005|www] Restored real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 1)
[Mon Mar 21 17:56:56 2005|www] Quiescent real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 0)
[Mon Mar 21 17:57:08 2005|www] Restored real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 1)
[Mon Mar 21 17:59:41 2005|www] Quiescent real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 0)
[Mon Mar 21 17:59:53 2005|www] Restored real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 1)
[Mon Mar 21 18:00:31 2005|www] Quiescent real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 0)
[Mon Mar 21 18:00:50 2005|www] Restored real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 1)
[Mon Mar 21 18:29:18 2005|www] Quiescent real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 0)
[Mon Mar 21 18:29:29 2005|www] Restored real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 1)
[Tue Mar 22 09:17:00 2005|www] Quiescent real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 0)
[Tue Mar 22 09:17:12 2005|www] Restored real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 1)
[Tue Mar 22 09:18:35 2005|www] Quiescent real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 0)
[Tue Mar 22 09:18:45 2005|www] Restored real server: 10.1.1.26:80 ( x
VIP:80) (Weight set to 1)

I had the same problem with a previous version. It was:

        - heartbeat 1.0.4
        - kernel 2.4.21
        - ipvs 1.0.10

Sometimes, It seams ldirectord stops redirecting requests to the real
servers for 10 seconds.

For information, the server with ip 10.1.1.25 is stopped for the moment.

Regards

Stéphane

-----Message d'origine-----
De : lvs-users-bounces+sklein=aquitaine-valley.fr@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-bounces+sklein=aquitaine-valley.fr@linuxvirtualserver.
org]De la part de Malcolm Turnbull
Envoyé : lundi 21 mars 2005 20:40
À : LinuxVirtualServer.org users mailing list.
Objet : Re: ipvs repartition problem


Are you sure ldirector is running ?
What does the ldirectord log say ?


Regards,

Malcolm Turnbull.

Loadbalancer.org Limited
+44 (0)7715 770523
http://www.loadbalancer.org/


  " When a single point of failure is not an option"

Why not try our online demonstration 
<http://www.loadbalancer.org/online_Demo.htm> ? Or get answers to common 
questions <http://www.loadbalancer.org/fud.htm> ?



Stéphane Klein wrote:

>Hello,
>
>I have a problem with IPVS, here is my config:
>
>       - LVS-NAT
>       -Two directors
>       - heartbeat 1.2.3
>       - ipvsadm 1.24
>       - Kernel 2.6.10
>       
>Here is the configuration of ldirectord:
>
>checktimeout=8
>checkinterval=5
>virtual=VIP:80
>        protocol=tcp
>        scheduler=wlc
>        persistent=900
>        real=10.1.1.25:80 masq
>        real=10.1.1.26:80 masq
>        checktype=negotiate
>        request="/test.htm"
>        receive="test"
>        service=http
>
>All is working well until i stop a real server.
>The director continue to send requests to the real server which was
stopped.
>
>Ipvsadm -Lcn confirm that the request is sent to the stopped real server.
>
>Is anyone has an idea?
>
>Stephane
>  
>


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