cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
477
Views
0
Helpful
2
Replies

Simple Load Balancing Config not working

HEATH FREEL
Level 1
Level 1

I have a very simple set up that I have done before, but this one isn't working.

Virtual 10.1.1.1:80

Real 10.1.1.2:80

Real 10.1.1.3:80

Bind 10.1.1.1:80 10.1.1.2:80

Bind 10.1.1.1:80 10.1.1.3:80

I can connect to each server separately but when I use the Virtual IP I keep getting the same server - 10.1.1.2:80

When I do a show real - connections for both servers sit at 0.

Any Ideas??

2 Replies 2

hhesketh
Level 1
Level 1

HI there,

I'd create a layer three rule with syntax something like:

content L3rule1

y

add service state1

add service state2

balance leastconn

protocol tcp

no persistent

port 80

vip address 172.24.188.20

this would force leastconnection load balancing,

and hopefully resolve the problem,

cheers,

Hamish

hhesketh
Level 1
Level 1

do a show service - this gives good pointers on where there are problems

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: