Document ID: 12639
Updated: Jan 31, 2006
Cisco has announced the end of sale for the Cisco CSS 11000. For more information, please see the End-of-sale Announcement.
Contents
Introduction
The Cisco CSS 11000 and 11500 Series Content Services Switches load balance TCP and UDP traffic from multiple virtual server addresses to multiple real servers. Load balance decisions can be affected by the configuration of an IP address and TCP or UDP port number and in the case of HTTP, requested uniform resource identifier (URI), file type, file extension, server path or Domain Name. Multiple owners can be configured, each owning content rules used to match user requests to available servers, with the status of the servers monitored in real time by the CSS. Real servers may be used by multiple content rules and multiple owners.
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
The information in this document is based on CSS 11506 running version 7.20(5.03).
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Conventions
For more information on document conventions, refer to the Cisco Technical Tips Conventions.
Configure
In this section, you are presented with the information to configure the features described in this document.
Network Diagram
This document uses the network setup shown in this diagram.
Configurations
This section displays the basic Virtual IP address (VIP) setup to present four servers as one common server. Perform simple load balancing across the servers.
| Configuration |
|---|
!Generated on 08/30/2004 15:34:37
!Active version: sg0720503
configure
!************************** GLOBAL **************************
ip route 0.0.0.0 0.0.0.0 10.1.1.253
!************************** CIRCUIT **************************
circuit VLAN1
ip address 10.1.1.254 255.255.255.0
!************************** SERVICE **************************
!--- Define services.
service Server1
ip address 10.1.1.1
active
service Server2
ip address 10.1.1.2
active
service Server3
ip address 10.1.1.3
active
service Server4
ip address 10.1.1.4
active
!*************************** OWNER ***************************
owner foo.com
!--- Define owner.
content L5_WebFarm
!--- Define Content rule and add services.
vip address 10.1.1.100
port 80
protocol tcp
url "/*"
add service Server1
add service Server2
add service Server3
add service Server4
active
|
Verify
This section provides useful information you can use to confirm your configuration is working properly.
Certain show commands are supported by the Output Interpreter Tool (registered customers only) , which allows you to view an analysis of show command output.
-
monitor show summary—Causes the CSS to periodically issue the show summary command.
-
flow statistics—Shows information on hits and flows per second.
-
show flow ip-address—Shows flow information on who is connected to who.
-
show rule-summary—Shows information about which rules are enabled and what filters are applied.
-
show rule rule-owner rule-name—Shows detailed information about a given rule. This includes balance method, servers used by the rule, except / reject counters, and so on.
-
show service summary—Shows overall information on all the services in the box and their current keepalive states.
-
show service service-name—Shows detailed information on a particular service with keepalive methods and intervals.
-
show circuits—Shows the configured VLANs and which physical ports are attached and in use (show circuits displays every physical port in the box and which VLAN it is on regardless of operational state).
-
show interface—Shows the current operational status of the physical ports in the switch.
-
show physical—Shows the current link status and media settings for each physical port on the switch.
-
archive running-config archive-file-name—Archives the running-config. Enter the archive filename as the name you want to assign to the archive file. The archive file name is an unquoted text string with a maximum length of 32 characters. You can store multiple configurations. They may be put back on the switch's configuration with the restore command.
-
show archive—Shows the files currently stored.
-
prompt TestName —Changes the prompt of the CSS to reflect the test (very useful when testing multi-switch configurations).
Troubleshoot
Point a browser to the VIP address. On the console, issue the monitor show summary command. This causes the CSS to issue the show summary command periodically. Note the number of service hits. As the browser connects to the VIP, the switch directs the request to each server in turn using Round Robin load balancing. On the CSS console, hit Ctrl-C <return> to exit the monitor command.
Global Bypass Counters:
No Rule Bypass Count: 0
Acl Bypass Count: 0
Owner Content Rules State Services Service Hits
foo.com L5_WebFarm Active Server1 4
Server2 4
Server3 4
Server4 4
Related Information
Open a Support Case
(Requires a Cisco Service Contract.)
Related Cisco Support Community Discussions
The Cisco Support Community is a forum for you to ask and answer questions, share suggestions, and collaborate with your peers.
Refer to Cisco Technical Tips Conventions for information on conventions used in this document.
