Chapter 2 Content Switching Module with SSL Commands

predictor (serverfarm submode)

predictor (serverfarm submode)

Syntax Description

Defaults

Command Modes

Command History

To specify the load-balancing algorithm for the server farm, use the predictor command in the SLB serverfarm configuration submode. To remove the load-balancing algorithm, use the no form of this command.

predictor {roundrobin leastconns [slowstart timer] hash url hash address [source destination] [ip-netmask] forward]}

no predictor

roundrobin

Selects the next servers in the list of real servers.

leastconns

Selects the server with the least number of connections.

 

 

slowstart timer

Specifies that the real server is in slow-start mode until the slowstart

 

timer value expires or the conn_count is equal to that of the other real

 

servers. Valid values are from 1 to 65535 seconds.

 

 

hash url

Selects the server using a hash value based on the URL.

 

 

hash address

Selects the server using a hash value based on the source and

 

destination IP addresses.

 

 

source

(Optional) Selects the server using a hash value based on the source

 

IP address.

 

 

destination

(Optional) Selects the server using a hash value based on the

 

destination IP address.

 

 

ip-netmask

(Optional) Bits in the IP address to use for the hash. If not specified,

 

255.255.255.255 is assumed.

 

 

forward

(Optional) Tells the CSM to forward traffic in accordance with its

 

internal routing tables.

 

 

The default algorithm is round robin.

For the leastconns option, slowstart is disabled by default.

SLB serverfarm configuration submode

Release

Modification

CSM-S release 1.1(1)

This command was introduced.

 

 

CSM-S release 2.1(1)

Changed the ip-hashto the hash address source keyword and added

 

new keyword types of hash address, hash address destination,

 

hash url, and forward. In addition, the http-redirectcommand is

 

now hidden.

CSM-S release 2.1(1)

The REAL_SLOW_START_ENABLE variable was included to control the rate at which a real server ramps up and is put into service.

CSM-S release 2.1(1)

The slowstart timer keyword was included to control the rate at which a real server ramps up and is put into service.

 

 

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

 

 

 

 

 

 

OL-7029-01

 

 

2-103

 

 

 

 

 

Page 125
Image 125
Cisco Systems OL-7029-01 manual Predictor serverfarm submode, 103