Configuring the Content Switching Module
This example shows how to configure a server farm, named p1_nat, using the
(leastconns) algorithm. The
Router(config)# ip slb serverfarm pl_nat
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 pulls matching information from a disk and sends it 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 serverfarm mode where you are adding the real server.
To configure real servers, perform this task:
| Command | Purpose | |
Step 1 |
|
| |
Identify a real server as a member of the server farm and | |||
| enter the real server configuration mode. An optional | ||
|
| translation port can also be configured1, 2. | |
Step 2 | (Optional) Set the weighting value for the virtual server | ||
| predictor algorithm to assign the server’s workload | ||
|
| capacity relative to the other servers in the server farm if | |
|
| the round robin or least connection is selected2. | |
Step 3 | (Optional) Set the maximum number of active | ||
| connections on the real server2. When the specified | ||
|
| maximum is reached, no more new connections are sent | |
|
| to that real server until the number of active connections | |
|
| drops below the minimum threshold. | |
|
|
| |
Step 4 | (Optional) Set the minimum connection threshold2. | ||
|
|
| |
|
|
| |
Step 5 | Enable the real server for use by the CSM2. | ||
|
| Note | Repeat Steps 1 through 5 for each real server you |
|
|
| are configuring. |
Step 6 |
|
| |
Router# show ip slb reals [sfarm | (Optional) Display information about configured real | ||
| servers. The vserver option limits the display to real | ||
|
| servers associated with a particular virtual server. The | |
|
| detail option displays detailed real server information. | |
Step 7 |
|
| |
Router# show ip slb conns [sfarm | Display active connections to the CSM. The sfarm | ||
| vserver | option limits the display to connections associated with | |
| a particular server farm. The client option limits the | ||
|
| ||
|
| display to connections for a particular client. The detail | |
|
| option displays detailed connection information. | |
|
|
|
|
1.Enter the exit command to leave a mode or submode. Enter the end command to return to the menu’s top level.
2.The no form of this command restores the defaults.
|
| Catalyst 6000 Family Content Switching Module Installation and Configuration Note |
|
|
|
|
|
| |||
|
|
| 25 |
| |
|
|
|
|