Joe and all,
Quick question - to date I've used weighted load
balancing with Piranha LVS but the weights are all set
to "1" so they are equal. I've read the wieght number
is a relative one, thus my question is this, if I have
3 real servers, and want to weigh them
100% 75% 25%
Will weights of 100, 75, and 25 work as a percent of
load for a particular service? Example I want to send
100% load for SMTP to first RS1, 75% to RS2, and 25%
to RS3.
In Piranha the weight is given per service in the
lvs.cf file like this:
------------------------
#header_stuff
virtual service_name_1 {
#service_stuff
server host_name_1 {
#host_stuff
weight = 100
}
server host_name_2 {
#host_stuff
weight = 75
}
server host_name_3 {
#host_stuff
weight = 25
}
}
virtual service_name_2 {
#...
}
------------------------
Thanks,
Peter
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
|