Chapter 6: Administering Virtual Clusters
128
Equalizer Installation and Administration Guide
Equalizer might not dispatch new requests to that server even if that server’s response time is the fastest in
the cluster.
•
least connections
load balancing dispatches
the highest percentage of requests to the server with the least
number of active connections. In the same way as Fastest Response, Equalizer tries to avoid overloading
the server so it checks the server’s response time and server agent value. Least Connections optimizes the
balance of connections to servers in the cluster.
•
server agent
load balancing dispatches
the highest percentage of requests to the server with the lowest
server agent value. In a similar way to Fastest Response, Equalizer tries to avoid overloading the server by
checking the number of connections and response time. This method only works if server agents are
running on all servers in the cluster. For more information about server agents, see “Configuring a Cluster
to Use Server Agents” on page 128.
Equalizer’s Load Balancing Response Settings
The
responsiveness
setting controls how aggressively Equalizer adjusts the servers’ dynamic weights. Equalizer
provides five response settings: Slowest, Slow, Medium, Fast, and Fastest. The response setting affects the dynamic
weight spread, weight spread coefficient, and optimization threshold that Equalizer uses when it performs adaptive
load balancing:
•
Dynamic Weight Spread
indicates how far a server’s dynamic weight can vary (or
spread
) from its initial
weight.
•
Weight Spread Coefficient
regulates the speed of change to a server’s dynamic weight. The weight spread
coefficient causes dynamic weight changes to happen more slowly as the difference between the dynamic
weight and the initial weight increases.
•
Optimization Threshold
controls how frequently Equalizer adjusts dynamic weights. If Equalizer adjusts
server weights too aggressively, oscillations in server weights can occur and cluster-wide performance can
suffer. On the other hand, if Equalizer does not adjust weights often enough, server overloads might not be
compensated for quickly enough and cluster-wide performance can suffer.
Aggressive Load Balancing
After you fine-tune the initial weights of each server in the cluster, you might discover that Equalizer is not adjusting
the dynamic weights of the servers at all: the dynamic weights are very stable, even under a heavy load. In this case,
you might want to set the cluster’s load balancing response parameter to
fast
. Then Equalizer tries to optimize the
performance of your servers more aggressively; this should improve the overall cluster performance. For more
information about setting server weights, see “Adjusting a Server’s Initial Weight” on page 147.
Dynamic Weight Oscillations
If you notice a particular server’s dynamic weight oscillates (for example, the dynamic weight varies from far below
100 to far above 100 and back again), you might benefit by choosing
slow
response for the cluster. You should also
investigate the reason for this behavior; it is possible that the server application is behaving erratically.
Configuring a Cluster to Use Server Agents
A
server agent
collects performance statistics from a server. If you configure a cluster to use server agents, Equalizer
periodically contacts the server agent daemon running on each server and downloads the server performance
Summary of Contents for E350GX
Page 18: ...Chapter Preface 18 Equalizer Installation and Administration Guide ...
Page 38: ...Chapter 1 Equalizer Overview 38 Equalizer Installation and Administration Guide ...
Page 80: ...Chapter 4 Equalizer Network Configuration 80 Equalizer Installation and Administration Guide ...
Page 110: ...Chapter 5 Configuring Equalizer Operation 110 Equalizer Installation and Administration Guide ...
Page 208: ...Chapter 7 Monitoring Equalizer Operation 208 Equalizer Installation and Administration Guide ...
Page 240: ...Chapter 8 Using Match Rules 238 Equalizer Installation and Administration Guide ...
Page 262: ...Appendix A Server Agent Probes 258 Equalizer Installation and Administration Guide ...
Page 274: ...Appendix B Timeout Configuration 270 Equalizer Installation and Administration Guide ...
Page 280: ...Appendix D Regular Expression Format 276 Equalizer Installation and Administration Guide ...
Page 310: ...Appendix F Equalizer VLB 306 Equalizer Installation and Administration Guide ...
Page 318: ...Appendix G Troubleshooting 314 Equalizer Installation and Administration Guide ...