LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ldirectrod doesn't take care of weight (heartbeat .4.7f)

To: Mailing Manager <mailing@xxxxxxxxxxxxxxxxxx>
Subject: Re: ldirectrod doesn't take care of weight (heartbeat .4.7f)
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx, Jacob Rief <Jacob.Rief@xxxxxxxxxxxx>, Alan Robertson <alanr@xxxxxxxx>
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 20 Jun 2000 19:05:18 -0700
On Tue, Jun 20, 2000 at 05:04:06PM +0200, Mailing Manager wrote:
> HI all,
>       i'm usign the heartbeat 0.4.7f with his ldirectord and it works very
> well, the only thing that is very strange is taht the weight is not the
> right , or ldirectord use the defautl 1 for any server.
> Here is my cf:
> virtual = 194.244.204.36:80                                                   
>   
>         protocol = tcp                                                        
>   
>         scheduler = wlc                                                       
>   
>         real = 192.168.1.36:80 masq 6                                       
>         real = 192.168.1.46:80 masq 2                                       
>         real = 192.168.1.47:80 masq 2                                       
>         request = "/.testpage"                                                
>   
>         receive = "test page"          


There appears to be a slight bug in ldirectord as shipped with
heartbeat 0.4.7f that causes it not to parse the weights
specified above. You can fix this by either adding
a trailing whitespace after each weight in the configuration file above,
or applying the attached patch which has been committed to
the heartbeat CVS tree.

-- 
Horms

Attachment: ldirectord.patch
Description: Text document





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