Specifications
Chapter 6: Administering Virtual Clusters
96 Equalizer Installation and Administration Guide
3. If it is not already checked, select the advanced check box in the flags section of the screen in
the right frame. The max_conn field is near the middle of the right-hand screen, as shown in
the following figure:
4. Set max_conn to a positive integer between 0 and 65535. A zero (the default) indicates that the
maximum connections limit set on the cluster applies to this server.
5. Set other parameters and flags for the server as desired; see Chapter 6, “Administering Virtual
Clusters”, in the Installation and Administration Guide, for more details.
6. Select commit to create or modify the server.
Using a Hot Spare in a Cluster with a Maximum Connections Limit
When a maximum connections limit is set on all the servers in a cluster (either by setting max_conn
on the cluster or on each individual server), it is often desirable to define a hot spare server for the
cluster, so that any attempted connections to the cluster that occur after the max_conn limit has
been reached are directed to the hot spare instead of being refused or sent to the server anyway
because of a persistent connection.
In this case, the hot spare could be configured to return a page to the client that contains text
explaining the reason the connection has been refused. For example, the hot spare could return a
page that says “All servers are currently busy -- please try again later.”.
The hot spare server should be configured as follows:
•Set max_conn to zero (0), so that all connection requests sent to the hot spare are accepted.