Slb Example - Cisco Catalyst 2000 Configuration Handbook

Catalyst series lan switching
Table of Contents

Advertisement

ager to associate the server reports with a subsystem (controlled by the SLB
device) for global load balancing. To see what subsystem-name values are
available from the global manager, use the ip dfp agent ? command.
(Optional) Set a DFP agent password:
(dfp) password [0|7] password [timeout]
A password (text string; use 0 if unencrypted, the default, or 7 if encrypted)
can be used for MD5 authentication with a DFP manager. The optional
timeout (0 to 65,535 seconds; default 180 seconds) defines a time period when
the password can be migrated from an old value to a new one. During this
time, both old and new passwords are accepted.
Set the DFP port number:
(dfp) port port-number
The DFP manager and agents communicate over a common port number, port-
number (1 to 65535, no default). DFP managers discover their agents dynami-
cally, requiring the port number to be identical between the manager (distrib-
uted director) and the agents (IOS SLB).
(Optional) Set the interval for recalculating weights:
(dfp) interval seconds
DFP server weights are recalculated at an interval of seconds (5 to 65,535 sec-
onds; default 10 seconds) before they are supplied to the DFP manager.
Enable the DFP agent:
(dfp) inservice
By default, the DFP agent is disabled.

SLB Example

See Figure 10-2 for a network diagram. SLB is configured to provide load balancing for
two server farms: FARM1 and FARM2.
FARM1 is a server farm of three real web servers having IP addresses 192.168.250.10,
192.168.250.11, and 192.168.250.12. The real servers are considered in a "failed" state if
four consecutive TCP connections cannot be established with the server. SLB waits 30
seconds before attempting another connection to a failed server. (The number of failed
TCP connections and the retry interval are supported only in the IOS command set.) An
HTTP probe is configured to try a connection to each real server in the server farm every
120 seconds.
Chapter 10: Server Load Balancing (SLB) 155

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents