LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Real servers under multiple virtual services (heartbeat-1.2.3)

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Real servers under multiple virtual services (heartbeat-1.2.3)
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 14 Oct 2004 15:44:28 +0900
On Tue, Oct 12, 2004 at 01:42:12PM +0200, Henrik Holst wrote:
> 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

Thanks, I will look into it.

> >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

Thanks, I will look into this too, though, that configuration can 
only work if you are using LVS-NAT (masq).

> >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.

man ldirectord should list http://www.vergenet.net/linux/ldirectord/
as the home page.

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