Backup Server Farm
1d20h: %CSM_SLB-6-RSERVERSTATE: Module 5 server state changed: SLB-NETMGT: Configured
server 10.20.220.10:0 to OUT-OF-SERVICE in serverfarm 'WEBFARM'
Cat6k-2#
1d20h: %SYS-5-CONFIG_I: Configured from console by vty0 (10.20.1.100)
Cat6k-2#
Cat6k-2# show mod csm 5 real
real
-------------------------------------------------------------------------
SERVER1
SERVER2
SERVER1
SERVER2
Cat6k-2#
# Taking the server out of service at the real server level will take the server out of
# service for all the server farms
Cat6k-2# conf t
Enter configuration commands, one per line.
Cat6k-2(config)# mod csm 5
Cat6k-2(config-module-csm)# real server1
Cat6k(config-slb-module-real)# no ins
Cat6k(config-slb-module-real)# end
Cat6k-2#
1d20h: %SYS-5-CONFIG_I: Configured from console by vty0 (10.20.1.100)
Cat6k-2# show mod csm 5 real
real
-------------------------------------------------------------------------
SERVER1
SERVER2
SERVER1
SERVER2
Cat6k-2#
Backup Server Farm
This example shows you how to configure a backup server farm for a virtual server. If all the servers in
the primary server farm fail, the CSM starts directing requests to the backup server farm. The sticky
options allows you to control the backup operation if stickiness is configured for that virtual server.
module ContentSwitchingModule 5
vlan 220 server
ip address 10.20.220.2 255.255.255.0
alias 10.20.220.1 255.255.255.0
!
vlan 221 client
ip address 10.20.221.5 255.255.255.0
gateway 10.20.221.1
alias 10.20.221.2 255.255.255.0
!
vlan 210 server
ip address 10.20.210.2 255.255.255.0
alias 10.20.210.1 255.255.255.0
!
probe PING icmp
interval 2
retries 2
failed 10
Catalyst 6500 Series Content Switching Module Configuration Note
A-18
server farm
weight
FTPFARM
8
FTPFARM
8
WEBFARM
8
WEBFARM
8
server farm
weight
FTPFARM
8
FTPFARM
8
WEBFARM
8
WEBFARM
8
Appendix A
state
conns/hits
OPERATIONAL
0
OPERATIONAL
0
OUTOFSERVICE
0
OPERATIONAL
0
End with CNTL/Z.
state
conns/hits
OUTOFSERVICE
0
OPERATIONAL
0
OUTOFSERVICE
0
OPERATIONAL
0
Configuration Examples
OL-4612-01