0

We are testing an application on an NLB cluster. We notice that the requests are not being spread evenly between the servers in the NLB cluster.

Is there anyway do configure the requests to be spread evenly between the servers?

Shiraz Bhaiji
  • 2,229
  • 9
  • 34
  • 47

3 Answers3

1

Try setting the load weight of each NLB host to equal. You can do this by editing the port rule in the host properties of each host in the cluster.

joeqwerty
  • 109,901
  • 6
  • 81
  • 172
1

From within the NLBS Administrator you can set the ratio in terms of percentages.

The Elite
  • 124
  • 3
1

As noted by the other commentors, the main way to control distribution is by the port rule distribution weight. You may also see an imbalance if your NLB group configuration changes (i.e. a host goes down or comes back up) and you are using affinity, where requests stay with their current server even if a change in the cluster means they would normally be sent to another server.

In that case each server would get an equal share of new traffic, but servers that have been up longer will have more existing connections.

Also, have you verified that this traffic is over the NLB address and not on each server's unique address?

Graham Powell
  • 410
  • 2
  • 8