[lvs-users] Source Hashing scheduler seems to ignore weight

Martin Wheldon martin.wheldon at greenhills-it.co.uk
Tue Nov 25 11:50:28 GMT 2014


We have been running a LVS cluster for many years using the WLC 
scheduler which works fantastically well.
Thank you everyone involved in the project.

However we now have a requirement to also run a cluster using the 
Source Hashing scheduler, which is
giving us a few problems.

We would like to limit the number of connections to a real server and 
it seems this should be possible
by setting the weight at a appropriate level.


The snippet below seems to indicate that there may be a bug in that the 
number of active connections
for each of the real servers below is well beyond the expected 800. 
That or I've misunderstood
the documentation.

IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
FWM  3128 sh (sh-fallback)
   ->                 Masq    400    3023       6115
   ->                 Masq    400    1455       5288
   ->                 Masq    0      1071       3306
   ->                 Masq    400    1350       5267
   ->                 Masq    400    1046       3190
   ->                 Masq    400    3231       5512
   ->                 Masq    400    1309       3604

My questions being has anyone else seen/experienced this issue and if 
so how did you work round/fix it?

Best Regards

Martin Wheldon
Greenhills IT Ltd.
Telephone: 01904 238 454

Greenhills IT Ltd. is a limited company registered in England and 
Company Registration No: 06387214
Registered Offices: 2 Greenhills, Claxton, YORK, North Yorkshire, YO60 

More information about the lvs-users mailing list