User guide
122 ExtremeWarePx1 1.2 Command Reference Guide
Commands for Configuring Servers and Services
configure server
configure server index <index number>
ipaddress <IP address>
port <port number>
{max-connections <max number>}
{weight <weight number>}
{cookie <cookie string>}
configure server index <index number>
ipaddress <IP address> - <IP address>
port <port number>
{max-connections <max number>}
{weight <weight number>}
Description
ConÞgures one or more servers, establishing a correspondence between each serverÕs index and the IP
address and port number of the corresponding real server.
Syntax Description
Default
N/A.
Usage Guidelines
You must have administrator privileges to issue this command.
To conÞgure a server, you must specify:
¥ The index that identiÞes the server to the switch
¥ A unique combination of IP address and port number that identiÞes the real server
index number A unique index number that identifies the server to the switch.
IP address An actual IP address of a real server. Two IP addresses separated by a hyphen indicate a
range of addresses; the command configures all servers with addresses in the specified
range.
port number The port the real server uses to answer requests. Real servers can share an IP address,
but the port must be unique for each server.
max number The maximum number of concurrent connections that the server can handle. After that
number is reached, no more connections are sent to that particular server until some of the
open connections have been close.
If this parameter is not specified, the global default maximum number of connections is used.
weight number The weight factor to be used for weighted load-balancing algorithms.
If this parameter is not specified, the global default weight is used.
cookie string An ASCII string between 7 and 15 characters long that uniquely identifies the server. This
string will be used by service pattern rules of cookie-type self.