8-11
Catalyst 6500 Series Content Switching Module Configuration Note
OL-4612-01
Chapter 8 Configuring Additional Features and Options
Configuring Global Server Load Balancing
Step 6
Router(config-slb-vserver)#
dns-policy [group
group-id
]
[netmask
ip-netmask
]
Ensures that connections from the same client use the same server
farm.
Step 7
Router(config-slb-vserver)#
inservice
Enables the virtual server for GSLB.
Step 8
Router(config-module-csm)#
serverfarm GSLBFARM dns-vip
Creates and names the GSLBFARM server farm (actually a
forwarding policy) and enters server farm configuration mode.
Step 9
Router(config-slb-sfarm)#
predictor hash address source
Configures the hash address source for the load-balancing
predictor for the server farm.
Step 10
Router(config-module-csm)#
real
ip-addres
Identifies the alias IP address of the real server and enters real
server configuration submode.
Step 11
Router(config-slb-real)#
inservice
Enables the virtual server for load balancing.
Step 12
Router(config-module-csm)#
map
dns-map-name
dns
Configures a DNS map.
Step 13
Router(config-dns-map)# match
protocol dns
domain name
Adds a DNS name to the DNS map.
Step 14
Router(config-module-csm)#
policy
policy name
Configures a policy.
Step 15
Router(config-slb-policy)#
dns map
map_name
Adds the DNS map attribute to the policy
Step 16
Router(config-slb-policy)#
serverfarm
primary-serverfarm
[backup
sorry-serverfarm
[sticky]]
Associate the server farm with the policy.
Step 17
Router(config-module-csm)#
vserver
virtserver-name
Configures a virtual server on CSM 2, and enters the virtual
server submode.
Step 18
Router(config-slb-vserver)#
virtual
ip-address
[
ip-mask
]
protocol
port-number
[service
ftp]
Configures the virtual server attributes.
Step 19
Router(config-slb-vserver)#
serverfarm
serverfarm-name
Associates a server farm with the virtual server.
Step 20
Router(config-slb-vserver)#
inservice
Enables the virtual server for load balancing.
Step 21
Router(config-module-csm)#
vserver
virtserver-name
Configures a virtual server on CSM 3, and enters the virtual
server submode.
Step 22
Router(config-slb-vserver)#
virtual
ip-address
[
ip-mask
]
protocol
port-number
[service
ftp]
Configures the virtual server attributes.
Step 23
Router(config-slb-vserver)#
serverfarm
serverfarm-name
Associates a server farm with the virtual server.
Step 24
Router(config-slb-vserver)#
inservice
Enables the virtual server for load balancing.
Command Purpose