LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Load Balancer > General > lslb split workload

Reply
 
Thread Tools Display Modes
  #1  
Old 10-16-2009, 02:47 PM
Clockwork Clockwork is offline
Senior Member
 
Join Date: May 2009
Posts: 74
Default lslb split workload

Hello,

is it possible to split the workload of a backend server in lslb?

example:
server1 receives 60% traffic
server2 receives 40% traffic

I'm looking for a similar feature like the weight=X tag in nginx.
Reply With Quote
  #2  
Old 10-19-2009, 12:04 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Just assign different value for "Max connections" to the different backend, like "60" connections to server1, "40" connections to "server2", LSLB will use that as "weight" for different backend.
Reply With Quote
  #3  
Old 09-28-2011, 05:06 AM
dihuta dihuta is offline
Member
 
Join Date: Oct 2010
Posts: 37
Quote:
Originally Posted by mistwang View Post
Just assign different value for "Max connections" to the different backend, like "60" connections to server1, "40" connections to "server2", LSLB will use that as "weight" for different backend.
Where to assign this?
In each of web server or in Litespeed Load Balancer web cp?
Reply With Quote
  #4  
Old 09-28-2011, 06:48 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
load balancer web cp, under worker group configuration for clusters.
Reply With Quote
  #5  
Old 09-28-2011, 07:07 AM
dihuta dihuta is offline
Member
 
Join Date: Oct 2010
Posts: 37
I see there is only one text for inputting Max Connections.
How to input for each back-end server?
Reply With Quote
  #6  
Old 09-28-2011, 07:30 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
you have create two individual worker under that group.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:50 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.