Search:     Advanced search
Browse by category:
Glossary | Ask question



How do I calculate least connection (lc) method threshold granularity and real server weight?
Add comment
Views: 558
Votes: 0
Comments: 0

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
slb group member “test” “real1” 5
slb group member “test” “real2” 15
slb group member “test” “real3” 5



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)
.
.
.
49th  client : real1 The list become: real1(49/5=9), real2(0), real3(0)


50th  client : real1 The list is divided in two.  List1:real2(0), real3(0).  List2:real1(50/5=10)

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)
.
.
.   
199th client : real2     List1:real2(149/15=9), real3(0).   List2:real1(50/5=10)

200th client : real2     List1:real3(0).     List2:real1(50/5=10), real2(150/15=10)


201st client : real3    List1:real3(1/5=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)
.
.
.
249th client : real3    List1:real3(49/5=9).     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)


looping back
251st client : real1     The list become: real1(1/5=0), real2(0), real3(0)
252nd client : real1    The list become: real1(2/5=0), real2(0), real3(0)

 

 

Below sample configuration with round robin = yes:

slb group method “test” lc 10 yes
slb group member “test” “real1” 5
slb group member “test” “real2” 15
slb group member “test” “real3” 5

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)
.
.
.
5th   client : real1     The list become: real2(0), real3(0) ,real1(5/5=1)

6th   client : real2      The list become: real2(1/0=0), real3(0), real1(5/5=1)
.
.
.
19th  client : real2     The list become: real2(14/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)
.
.
.
24th  client  : real3     The list become: real3(4/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
26th  client : real1     The list become: real1(1/5=0), real2(0), real3(0)


 



Other questions in this category
How do I configure slb (server load balancing)?
What are the types of real service?
How do I configure health check type?
How do I check for the status of server(s)?
What are slb group method algorithms?
What are slb policies and what are their types?
How do I configure static policy type?
How do I configure default policy type?
How do I configure backup policy type?
SLB Methods in Term OSI Concept
Round Robin (rr) SLB Definition
Shortest Response (sr) SLB Definition
Least Connection (lc) SLB Definition
Persistent IP (pi) SLB Definition
Hash IP (hi) SLB Definition
Consistent Hash IP (chi) SLB Definition
Port Range (port) SLB Definition
L2 MAC-Based SLB Definition
L3 IP-Based SLB Definition
SIP SLB Definition
RTSP SLB Definition
SNMP (snmp) SLB Definition
Persistent Cookie (pc) SLB Definition
Persistent Hostname (ph) SLB Definition
Persistent URL (pu) SLB Definition
Insert Cookie (ic) SLB Definition
Rewrite Cookie (rc) SLB Definition
Embed Cookie (ec) SLB Definition
Hash Cookie (hc) SLB Definition
Hash Header (hh) SLB Definition
Consistent Hash Header (chh) SLB Definition
Hash URL (hashurl) SLB Defnitions
Regular Expresssion (regex) SLB Definition
File Type (filetype) SLB Definition
QoS Cookie (cookie) SLB Definition
QoS Hostname (hostname) SLB Definition
Qos URL (url) SLB Definition
What is the range of ports to be used when connecting to backend servers?
How do I configure Firewall Load Balancing (FWLB)?
How is the "Average Response time" calculated?
APV Deployment guide for SharePoint 2010
How to Decrypt Packet capture with Session keys?
Changes required while using Exchange 2019 as HTTPS Real Server
Windows Authentication Issue