Configuring Real Servers - Cisco catalyst 6500 series Configuration Note

Content switching module
Hide thumbs Also See for catalyst 6500 series:
Table of Contents

Advertisement

Configuring Real Servers

Command
Step 3
Router(config-slb-sfarm)# nat client
client-pool-name
Step 4
Router(config-slb-sfarm)# no nat server
Step 5
Router(config-slb-sfarm)# probe probe-name
Step 6
Router(config-slb-sfarm)# bindid bind-id
Step 7
Router(config-slb-sfarm)# failaction {purge |
reassign}
Step 8
Router(config-slb-sfarm)# health retries 20
failed 600
Step 9
Cat6k-2(config-slb-sfarm)# retcode-map
NAME_OF_MAP
Step 10
Router(config-slb-sfarm)# real ip_address
Step 11
Router(config-slb-real)# inservice
Step 12
Router# show module csm slot serverfarm
serverfarm-name [detail]
1.
2.
This example shows how to configure a server farm, named p1_nat, using the least-connections
(leastconns) algorithm. The real server with the fewest number of active connections will get the next
connection request for the server farm with the leastconns predictor.
Router(config-module-csm)# serverfarm pl_nat
Router(config-slb-sfarm)# predictor leastconns
Router(config-slb-sfarm)# real 10.1.0.105
Router(config-slb-real)# inservice
Router(config-slb-sfarm)# real 10.1.0.106
Router(config-slb-real)# inservice
Configuring Real Servers
Real servers are physical devices assigned to a server farm. Real servers provide the services that are
load balanced. When the server receives a client request, it sends the reply to the CSM for forwarding to
the client.
You configure the real server in the real server configuration mode by specifying the server IP address
and port when you assign it to a server farm. You enter the real server configuration mode from the server
farm mode where you are adding the real server.
Catalyst 6500 Series Content Switching Module Configuration Note
5-2
Enter the exit command to leave a mode or submode. Enter the end command to return to the menu's top level.
The no form of this command restores the defaults.
Chapter 5
Configuring Real Servers and Server Farms
Purpose
(Optional) Enables the NAT mode client
the
"Configuring Client NAT Pools" section on
page
5-5.)
(Optional) Specifies that the destination IP
address is not changed when the load-balancing
decision is made.
(Optional) Associates the server farm to a probe
that can be defined by the probe command
(Optional) Binds a single physical server to
multiple server farms and reports a different
2
weight for each one
. The bindid command is
used by DFP.
(Optional) Sets the behavior of connections to
real servers that have failed
Configures inband health monitoring for all the
servers in the server farm.
Configures HTTP return error code checking
(requires the configuration of a map of type
retcode).
Defines a real server.
Enables the real servers.
Displays information about one or all server
farms.
2
. (See
2
.
2
.
OL-4612-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents