LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: A newbie problem

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

Ok I have a pb of nomenclature, so here is exactly my problem (what I want to obtain)....



|-------------|
|     users   |
|-------------|
~        |
~        |
~        |
~        |
Internet/Intranet
~        |
~        |
~        |
~ |--------------------------------------------------virtual IP adress ~ 192.168.1.225 ~ | ~ | ~ | ~ | ~ -------------------------------------- ~ | | ~ -------------------------- --------------------------- ~ |realserver1 | |realserver2 | ~ |10.0.0.1 | |10.0.0.2 | ~ -------------------------- ---------------------------

The aim is that realserver2 is use when the apache on realserver1 is down..... For the moment realserver2 is able to detect when realserver1 is down (with heartbeat)... but I still have the pb of realserver1 that could be unreachable or juste the apache service of realserver1 that is down...

So for the moment, I've installed only ldirectord on realserver2. And I ask it to check the availability of realserver1... so here is my topology to solve it

~                                -----------------------virtual IP adress
~ 192.168.1.225 ~ | ~ | ~ | ~ | ~ -------------------------------------- ~ | | ~ -------------------------- --------------------------- ~ |realserver1 | |realserver2 | ~ |10.0.0.1 | |10.0.0.2 | ~ | | |director | ~ -------------------------- --------------------------- i think that this is the pb, and that the takeover ip is not doing well... but may be you can help ...


here is my /etc/ha.d/ldirectord.cf
checktimeout=2
checkinterval=2

virtual = 192.168.1.225:80
~        protocol = tcp
~        scheduler = wlc
~        real = 10.0.0.1:80 gate 5
~        real = 10.0.0.2:80 gate 5
~        request = "/.testpage"
~        receive = "test page"


When I check the log, ldirectord never add a realservr for realserver2 (himself)....
thanks a lot for being so patientfull with me

~                chris

- --
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+SmfJHkAul+yGCjERAjuIAKC8zCVhOfIeJ7ZeUn9t4UMFhYMIggCg0En4
OSTqxpBBzTCJQ575+0TFe14=
=vtTh
-----END PGP SIGNATURE-----




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