How do I calculate least connection (lc) method threshold granularity and real server weight? | |
Threshold granularity is 10, and real servers weight 5, 15, and 5. Below sample configuration with round robin = no slb group method “test” lc 10 no
2nd client : real1 The list become: real1(2/5=0), real2(0), real3(0)
51st client : real2 List1:real2(1/15=0), real3(0). List2:real1(50/5=10) 52nd client : real2 List1:real2(2/15=0), real3(0). List2:real1(50/5=10) 200th client : real2 List1:real3(0). List2:real1(50/5=10), real2(150/15=10)
202nd client : real3 List1:real3(2/5=0). List2:real1(50/5=10), real2(150/15=10) 250th client : real3 List1: List2:real1(50/5=10), real2(150/15=10) ,real3(50/5=10)
Below sample configuration with round robin = yes: slb group method “test” lc 10 yes 1st client : real1 The list become: real1(1/5=0), real2(0), real3(0) 2nd client : real1 The list become: real1(2/5=0), real2(0), real3(0) 6th client : real2 The list become: real2(1/0=0), real3(0), real1(5/5=1) 20th client : real2 The list become: real3(0), real1(5/5=1), real2(15/15=1) 21th client : real3 The list become: real3(1/5=0), real1(5/5=1), real2(15/15=1) 25th client : real3 The list become: real1(5/5=1), real2(15/15=1), real3(5/5=1) looping back
|