Use this command to set the IPv4 or IPv6 cache server selection algorithm within the server farm.
dest-ip-hash | Specifies that the destination IP hash method will be the used as the cache server selection algorithm. |
round-robin | Specifies that round robin method will be used as the cache server selection algorithm. |
ipv4-address-begin | The beginning IP address of a list of destination IP addresses for which the cache servers within this server farm will be selected by the round-robin algorithm (IPv4 TWCB server farm only). |
ipv4-address-end | The ending IP address of a list of destination IP addresses for which the cache servers within this server farm will be selected by the round-robin algorithm (IPv4 TWCB server farm only). |
acl-list | An IPv4 or IPv6 ACL list containing IP address permit statements for cache servers that will be selected using the round robin predictor. |
The TWCB predictor defaults to the destination IP hash method for the cache server selection algorithm.
Configuration command, TWCB Server Farm Configuration mode.
The predictor setting determines the cache server selection algorithm within the server farm. Predictor can be set to an internal IP destination address hash or a round robin algorithm.
By default, the router will select a cache server based on a hash of the destination IP address of the web site being accessed. If a web site is accessed frequently, the cache server serving requests for this destination IP address may become overloaded with user requests. Using the round robin predictor type, traffic to a particular range of destination IP addresses can be balanced between caches on the server farm.
In an IPv6 TWCB server farm round robin context, you must use an IPv6 access list to define the cache servers used by the round robin. In an IPv4 TWCB server farm round robin context, you can either use an IPv4 access list or specify a beginning and end IP address for a range of cache servers.
The “no” form of this command resets the predictor to the default value of the destination IP address selection method.
Use the command to assign a round-robin weight to a cache server when the round-robin predictor is configured.
This example configures a predictor round-robin for the IPv4 web cache server farm s1Server specifying that the end users with IP addresses from 10.10.10.05 through 10.10.10.25 should be selected on a round-robin basis for caching on cache servers belonging to this server farm:
System(rw-config)->ip twcb wcserverfarm s1Server System(rw-config-twcb-wcsfarm)->predictor roundrobin 10.10.10.05 10.10.10.25
This example configures a round robin predictor for the IPv6 web cache server farm s2Server specifying ipv6cache1 as the IPv6 ACL list containing the list of cache server IP addresses to be used by the predictor:
System(rw-config)->ip twcb wcserverfarm s2Server System(rw-config-twcb-wcsfarm)->predictor roundrobin ipv6cache1