
Enterasys Xpedition User Reference Manual 257
Load Balancing
You can change the handshake intervals and the number of retries by entering the
following Configure mode commands:
Verifying Extended Content
You can also have the XP verify the content of an application on one or more load
balancing servers. For this type of verification, you specify the following:
• A string that the XP sends to a single server or to the group of load balancing servers.
The string can be a simple HTTP command to get a specific HTML page. Or, it can be
a command to execute a user-defined CGI script that tests the operation of the
application.
• The reply that the application on each server sends back that the XP will use to validate
the content. In the case where a specific HTML page is retrieved, the reply can be a
string that appears on the page, such as “OK.” If a CGI script is executed on the server,
it should return a specific response (for example, “OK”) that the XP can verify.
Note that you can specify this type of verification for a group of load balancing servers or
for a specific server.
Application verification, whether a simple TCP handshake or a user-defined action-
response check, involves opening and closing a connection to a load balancing server.
Some applications require specific commands for proper closure of the connection. For
example, a connection to an SMTP server application should be closed with the “quit”
command. You can configure the XP to send a specific string to close a connection on a
server.
Set handshake interval for all
servers in specified group.
load-balance set group-options <group name> app-int
<seconds>
Set handshake interval for
specified server.
load-balance set server-options <group name> app-int
<seconds> port <port number>
Set number of handshake retries
for all servers in specified group.
load-balance set group-options <group name> app-tries
<number>
Set number of verification retries
for specified server.
load-balance set server-options <group name> app-tries
<number> port <port number>
Komentáře k této Příručce