LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] lvs - how to estimate weights

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] lvs - how to estimate weights
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Thu, 13 Nov 2008 12:05:08 +0000
Hi

On Thu, 2008-11-13 at 12:55 +0200, Alex wrote:
> During configuration, you assign a weight to each real server. This is
> an integer reflecting each server's processing capacity relative to
> that of the others. It is the ratio (2/1, 20/10, 200/100) that is
> significant.

That statement is the key to your further questions.

> Can somebody tell me how to estimate weight for each?

If they're all the same hardware platform, in the same network location,
running the same application then make their weights equal.

Ensure you start with (for example) 100/100/100, or 1000/1000/1000. It's
easier to juggle the weights with those values than 1/1/1 !

As Malcolm suggests, see how they run for a while and adjust as
necessary.

Graeme



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