03-29-2006 09:59 PM
Hi,
I have a configuration shown below:
---------------------------------------
owner HOMEDECK_CLUSTER
content HomeDeck_Cluster
add service HomeDeck_Cluster-9001-1
add service HomeDeck_Cluster-9001-2
add service HomeDeck_Cluster-9001-3
port 9001
protocol tcp
vip address 10.200.A.B
add service HomeDeck_Cluster-9002-1
add service HomeDeck_Cluster-9002-2
add service HomeDeck_Cluster-9002-3
advanced-balance sticky-srcip-dstport
sticky-inact-timeout 10
active
service HomeDeck_Cluster-9001-1
ip address 10.200.A.C
protocol tcp
port 9001
keepalive type tcp
keepalive port 9001
active
service HomeDeck_Cluster-9001-2
ip address 10.200.A.D
protocol tcp
port 9001
keepalive type tcp
keepalive port 9001
active
service HomeDeck_Cluster-9001-3
ip address 10.200.A.E
protocol tcp
port 9001
keepalive type tcp
keepalive port 9001
active
service HomeDeck_Cluster-9002-1
ip address 10.200.A.C
protocol tcp
port 9002
keepalive type tcp
keepalive port 9002
active
service HomeDeck_Cluster-9002-2
ip address 10.200.A.D
protocol tcp
port 9002
keepalive type tcp
keepalive port 9002
active
service HomeDeck_Cluster-9002-3
ip address 10.200.A.E
protocol tcp
port 9002
keepalive type tcp
keepalive port 9002
active
--------------------------
Buti there is a load balancing problem. When I look at the rule ststistics. I see an aoutput like this:
-------------------------------------
Name: Hits: Wgt: State: Ld: KAlive: Conn: DNS:
----- ----- ----- ------ --- ------- ----- ----
HomeDeck_Cluster-9001-1
1,494 S-1 Alive 88 TCP-9001 1 0
HomeDeck_Cluster-9001-2
1,797 S-1 Alive 2 TCP-9001 0 0
HomeDeck_Cluster-9001-3
141 S-1 Alive 2 TCP-9001 2 0
HomeDeck_Cluster-9002-1
1,359 S-1 Alive 2 TCP-9002 0 0
HomeDeck_Cluster-9002-2
298 S-1 Alive 43 TCP-9002 0 0
HomeDeck_Cluster-9002-3
80 S-1 Alive 2 TCP-9002 0 0
--------------------------------------
As you see, there is a load and hits problem.
How can set an homogeneous load and hits?
03-30-2006 05:49 AM
when using sticky option you are never guaranteed to get equal load.
Especially with sticky srcip as with NAT many clients can come to your vip using the same ip.
You can try to change the balancing method to 'leastconn' but be aware it will probably not solve the problem because of stickyness.
Gilles.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide