Re: pen weight question

From: Ulric Eriksson <ulric_at_siag.nu>
Date: Wed, 2 Feb 2005 10:50:59 +0100 (CET)

On Tue, 1 Feb 2005, August MacBeth wrote:

> Hi There,
>
> Is it possible to specify weight in the cmd line rather then penctl? or
> is the best way to:
>
> lb# pen www host host host && penctl host:port server * weight * &&
> penctl host:port server * weight * etc etc etc

The best way is to use a configuration file:

lb# cat pen.cfg
server 0 address foo port 80 weight X
server 1 address bar port 80 weight Y
server 2 address baz port 80 weight Z
lb# pen www -F pen.cfg -p pen.pid

You can change the configuration file and reload it like this:

kill -HUP `cat pen.pid`

Ulric
Received on Wed Feb 02 2005 - 10:51:00 CET

This archive was generated by hypermail 2.2.0 : Wed Feb 02 2005 - 10:51:01 CET