LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

A newbie problem

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: A newbie problem
From: Christophe Sauthier <christophe.sauthier@xxxxxxxxxxx>
Date: Wed, 12 Feb 2003 14:21:28 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

My name is Christophe Sauthier, I am french (that is explaining my bad english), and I am currently working during an internship on virtual servers...

Here is my topology: it is the simpliest that you can imagine (that's is my firts experience): 2 PC with 2 network cards each (1 to the network and the other one with a network crossed cable to ther other PC), and a serial crossed cable. For the moment I am only willing to maintain the http activity... The real server is 10.0.0.1 and the fallback one is 10.0.0.2. I assume that I've just to configure ldirectord on the fallback PC to tet the real server...

I've installaed heartbeat, ipvsadm (I've patched my kernel) and ldirectord... Every "seems to be" well configured... But when the apache server of the first PC is down nothing else happen. Let me explain: a look in the /var/log/ldirectord.log show ~ [Wed Feb 12 14:26:27 2003|ldirectord] Starting Linux Director v1.62 as daemon
[Wed Feb 12 14:26:27 2003|ldirectord] Added virtual server: 192.168.1.225:80
[Wed Feb 12 14:26:27 2003|ldirectord] Added fallback server: 10.0.0.2:80 (0 x 192.168.1.225:80) (Weight set to 1) [Wed Feb 12 14:26:27 2003|ldirectord] Added real server: 10.0.0.1:80 (0 x 192.168.1.225:80) (Weight set to 5) [Wed Feb 12 14:26:27 2003|ldirectord] Quiescent fallback server: 10.0.0.2:80 (1 x 192.168.1.225:80) (Weight set to 0)

I stop the apache server on my first real computer

[Wed Feb 12 14:26:33 2003|ldirectord] Quiescent real server: 10.0.0.1:80 (1 x 192.168.1.225:80) (Weight set to 0) [Wed Feb 12 14:26:33 2003|ldirectord] Restored fallback server: 10.0.0.2:80 (0 x 192.168.1.225:80) (Weight set to 1)


A look at ipvsadm give:
cluster-ha2:~# ipvsadm
IP Virtual Server version 1.0.7 (size=4096)
Prot LocalAddress:Port Scheduler Flags
~  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  192.168.1.225:www wlc
~ -> 10.0.0.1:www Route 0 0 0 ~ -> 10.0.0.2:www Local 1 0 0


But the fallback server never intercepts the request to the virtual server ? There must be something that I am missing but I can't figure out what it is... Does anybody can help me ?


~        Christophe Sauthier

- --
Christophe Sauthier               christophe.sauthier@xxxxxxxxxxx
Eikonex  )Open Source Engineering    http://www.eikonex.net
Toulouse: +33(0)  34 416 800

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+SkpYHkAul+yGCjERAtmHAJ9vA0zCMxPh2n17JAOGsdMyRbFDEgCfdV7/
slg1wpdPMwJuAGtN3Uk01yE=
=ZiG3
-----END PGP SIGNATURE-----




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