Re: Need help on Pen Server Weight

From: Chris Elsworth <chris_at_shagged.org>
Date: Tue, 14 Nov 2006 08:06:26 +0000

On Mon, Nov 13, 2006 at 06:24:57PM -0500, Abdi Ibrahim wrote:
> Here is my startup script but still Pen seems not to use server weight
>
> LBSERVER25=10.9.68.10:25
> /bin/pen -C $CONTROLPORT25 -X -l $LOGFILE -p $PIDFILE25
> $LBSERVER25 -W $SERVER25_1 $SERVER25_2 $SERVER25_3

Hello,

Move -W to before $LBSERVER25. If you check in the output of pen -h
you can see that all commandline options start with '-' are required
to be before your IP settings. (this is because pen processes
commandline options starting with - using getopt(), and then processes
the IPs itself - your -W is getting lost).

-- 
Chris
Received on Tue Nov 14 2006 - 09:29:11 CET

This archive was generated by hypermail 2.2.0 : Tue Nov 14 2006 - 09:29:14 CET