Dear fellow LTS users and hackers,
I once complained that it was impossible to add one real server under
multiple virtual services with the ldirectod version included with the
heartbetat-1.2.2 package. I Saw that this was fixed in the 1.2.3
release so I downloaded and installed it and now it works, but there
is still some quirks left.
If I have something like this:
virtual test:7700
real server1:7700
real server2:7700
virtual test:7701
real server1:7700
virtual test:7702
real server2:7700
then ldirectord will add these as:
test:7700 ->
server1:7700
server2:7700
test:7701 ->
server1:7700
server1:7701
test:7702 ->
server2:7700
server2:7701
then a "touch /etc/ha.cf/ldirectord.conf" sometimes make the errenous
entries go away. This in itself is not a problem because the errenous
entries are added with weight set to zero so they are never put into
load-balancing, but what is more of a problem is the following config:
virtual test:7700
real server1:7710
ldirector will add this as:
test:7700 ->
server1:7700
It turns out that if there has been no virtual test:7710 added then it
refuses to add a real server to that port, and I have to add that
manually with "ipvsadm" something that can be quite problematic when
the main node dies.
For some strange reason I cannot seam to find the ldirector projekt
homepage with google so I cannot see if there is any version of
ldirectord that has this bug/feature corrected.
/Henrik Holst
--
*Henrik Holst
*
Systems and Operations Developer
*Ecovision AB*
* *
**
Direct: +46 (0)410-43 187
Mobile: +46 (0)709-67 90 16
Fax: +46 (0)31-68 57 91
e-mail: henrik.holst@xxxxxxxxxxxx <mailto:Jan.andersson@xxxxxxxxxxxx>
Internet: www.ecovision.se <http://www.delphi.se/>
Norregatan 81
SE-436 33 Trelleborg
Sweden
|