Cisco catalyst 6500 series Configuration Note page 70

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

Advertisement

Configuring Virtual Servers
inservice
Router(config-slb-real)# do sho mod csm 6 serverfarm name redir-farm det
REDIR-FARM, type = SLB, predictor = RoundRobin
nat = SERVER, CLIENT(CLIENTNAT)
virtuals inservice = 1, reals = 1, bind id = 0, fail action = none
inband health config: <none>
retcode map = <none>
Redirect virtual servers:
REDVS1, virtual 10.86.213.216:80, webhost 10.86.213.216 302, OUTOFSERVICE
Probes:
TEST-TCP, type = tcp
Real servers:
10.86.213.193, weight = 8, PROBE_FAILED, conns = 0
Total connections = 0
The server farm always issuess the redirect unless configured in this manner. The virtual address under
the redirect virtual server works as a virtual server and load balances to the real ser er configured in a
1-to-1 mapping. You cannot add more real servers to load balance under this virtual server, because you
must create unique redirect virtual server for each real server.
serverfarm WEBFARM
redirect-vserver SERV40_6000
webhost relocation 172.1.2.40:6000
virtual 172.1.2.40 tcp 6000
inservice
redirect-vserver SERV30_6000
webhost relocation 172.1.2.30:6000
virtual 172.1.2.30 tcp 6000
inservice
real 10.10.2.40
redirect-vserver SERV40_6000
inservice
real 10.10.2.30
redirect-vserver SERV30_6000
inservice
probe TEST-TCP
!
vserver WEBSITE
virtual 172.1.2.150 tcp www
serverfarm WEBFARM
inservice
The webhost backup command allows a backup redirect server to be issued if the real server has failed.
This command can only be used when you are using the virtual server under the redirect virtual server,
under the server farm. This allows for clients that were given a redirect to this virtual server, but the
server has gone down before the new request could come in. The backup string would be sent, which
redirects the client to a different virtual server. This command backs up the real server associated with
the redirect virtual server, not the redirect virtual server.
In the next example when the probe fails on real 10.86.213.188 8881, a redirect for test.url.com will be
sent when a connection is made to the virtual 10.86.213.178 9991.
!
serverfarm SF1-REDIR
nat server
nat client CLIENT-NAT
redirect-vserver VS1
webhost relocation 10.86.213.178:9991
webhost backup test.url.com
virtual 10.86.213.178 tcp 9991
inservice
real 10.86.213.188 8881
Catalyst 6500 Series Content Switching Module Configuration Note
6-6
Chapter 6
1
Configuring Virtual Servers, Maps, and Policies
OL-4612-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents