Configuring Server Load Balancing

IOS SLB Configuration Task List

Specifying a Bind ID

To configure a bind ID on the server farm for use by DFP, use the following command in SLB server farm configuration mode:

Command

Purpose

 

 

Router(config-slb-sfarm)# bindid [bind_id]

Specifies a bind ID on the server farm for use by

 

DFP.

 

 

Specifying a Real Server

A server farm comprises a number of real servers. The real servers are the physical devices that provide the load-balanced services.

To identify a real server in your network, use the following command inSLB server farm configuration mode:

Command

Purpose

 

 

Router(config-slb-sfarm)# real ip-address

Identifies a real server to the IOS SLB function

 

and initiates real server configuration mode.

 

 

Configuring Real Server Attributes

To configure real server attributes, use the following commands in SLB real server configuration mode:

Command

Purpose

 

 

Router(config-slb-real)# faildetect numconns number-conns

Specifies the number of consecutive connection

[numclients number-clients]

failures and, optionally, the number of unique

 

client connection failures, that constitute failure of

 

the real server.

 

 

Router(config-slb-real)# maxconns maximum-number

Specifies the maximum number of active

 

connections allowed on the real server at one time.

 

 

Router(config-slb-real)# reassign threshold

Specifies the number of consecutive unanswered

 

SYNs that initiates assignment of the connection

 

to a different real server.

 

 

Router(config-slb-real)# retry retry-value

Specifies the interval (in seconds) to wait between

 

the detection of a server failure and the next

 

attempt to connect to the failed server.

 

 

Router(config-slb-real)# weight weighting-value

Specifies the workload capacity of the real server

 

relative to other servers in the server farm.

 

 

Cisco IOS IP Configuration Guide

IPC-142

Page 188
Image 188
Cisco Systems 78-11741-02 Specifying a Bind ID, Specifying a Real Server, Configuring Real Server Attributes, IPC-142