Cisco catalyst 6500 series Configuration Note page 182

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

Advertisement

Layer 7 Load Balancing
no nat client
real name SERVER3
inservice
real name SERVER4
inservice
!
policy TEST-SPORTS-50
url-map SPORTS
header-map TEST
client-group 50
serverfarm WEBFARM2
# Three conditions need to match for this policy to have a match.
!
vserver WEB
virtual 10.20.221.100 tcp www
serverfarm WEBFARM
persistent rebalance
slb-policy TEST-SPORTS-50
inservice
!
# If the three conditions defined in the policy are true then WEBFARM2 is used otherwise
# WEBFARM is.
Output of some show commands:
# In this example, 17 requests have matched the policy Of those, 12 requests have not
# matched the policy
Cat6k-2# show mod csm 5 vserver detail
WEB, type = SLB, state = OPERATIONAL, v_index = 18
virtual = 10.20.221.100/32:80 bidir, TCP, service = NONE, advertise = FALSE
idle = 3600, replicate csrp = none, vlan = ALL, pending = 30, layer 4
max parse len = 2000, persist rebalance = TRUE
ssl sticky offset = 0, length = 32
conns = 0, total conns = 29
Default policy:
server farm = WEBFARM, backup = <not assigned>
sticky: timer = 0, subnet = 0.0.0.0, group id = 0
Policy
-----------------------------------------------------
TEST-SPORTS-50
(default)
# This example shows that the 29 connections that were load balanced have been load
# balanced at Layer 7. For example, the CSM has to terminate TCP and parse Layer 5 through
# Layer 7 information.
Cat6k-2# show mod csm 5 stats
Connections Created:
Connections Destroyed:
Connections Current:
Connections Timed-Out:
Connections Failed:
Server initiated Connections:
L4 Load-Balanced Decisions: 0
L4 Rejected Connections:
L7 Load-Balanced Decisions: 29
L7 Rejected Connections:
Catalyst 6500 Series Content Switching Module Configuration Note
A-28
Tot matches
17
12
29
29
0
0
0
Created: 0, Current: 0, Failed: 0
0
Total: 0, Parser: 0,
Reached max parse len: 0, Cookie out of mem: 0,
Cfg version mismatch: 0, Bad SSL2 format: 0
Client pkts
Server pkts
112
95
82
72
Appendix A
Configuration Examples
OL-4612-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents