On Thu, May 03, 2007 at 12:27:23PM +0200, Kristoffer Egefelt wrote: > Hi Horms, > > Thanks for the update, but when we try this version: > > >http://www.vergenet.net/~horms/linux/ldirectord/download/ldirectord.2007-05-01.e022c4b33b0e > > we get: > > > TCP 192.168.0.5:87 wrr > -> 10.10.11.87:87 Masq 0 0 0 > TCP 10.10.11.89:87 wrr > -> 10.10.11.87:87 Route 8 0 0 > > > which means that the rules is setup correctly, but the weight on the masq > service is 0? > > If we try to use another port number the weight is correct. Strange?
Hi, I think that this patch might solve your problem. -- Horms H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/ Add the forwarding mechanism to the real server ID, else differences in forwarding mechaisms are lost if the real server is otherwise the same. Signed-off-by: Simon Horman <[EMAIL PROTECTED]> Index: heartbeat/ldirectord/ldirectord.in =================================================================== --- heartbeat.orig/ldirectord/ldirectord.in 2007-07-05 13:48:30.000000000 +0900 +++ heartbeat/ldirectord/ldirectord.in 2007-07-05 13:59:48.000000000 +0900 @@ -3849,7 +3849,7 @@ sub get_real_id_str $real = $check . ":" . $v->{"protocol"} . ":" . $r->{"server"} . ":" . $r->{"port"} . ":" . $virtualhost . ":" . $checkport . ":" - . $r->{"weight"} . ":" + . $r->{"weight"} . ":" . $r->{"forward"} . ":" . quotemeta($request) . ":" . quotemeta($receive); } _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
