Specifications

Understanding Transparent Web Cache Balancing (TWCB) predictor roundrobin
23-4 Transparent Web Cache Balancing Configuration
predictor roundrobin
Usethiscommandtomodifytheroundrobinpredictorvaluebyapplyingalistofdestina tion IP
addressesforwhichthecacheserverswithinthisserverfarmwillbeselectedbytheroundrobin
algorithm.
Syntax
predictor roundrobin ip-address-begin ip-address-end
Parameters
Defaults
None.
Mode
Routercommand,ServerFarmConfigurationmode:Matrix(rw)>Router(configtwcbwcsfarm)#.
Usage
TherouterusestheenduserIPaddress,makingtheHTTPrequest,todeterminewhichcache
serveritwillsendtherequestto.Ifawebsiteisaccessedfrequently,thecacheserverserving
requestsforthisenduseripaddressmaybecomeoverloadedwithuserrequests.Youcanspecify
end
useripaddressesbedistributedacrossthecacheserversofthisserverfarminaroundrobin
algorithmusingthepredictorroundrobincommand.
Whenapredictorroundrobinuserlistisconfigured,onlyusersinconfiguredlistsarecachedin
cacheserversbelongingtothi sserverfarm.Ifnopredictorround
robinuserlistisconfiguredfora
serverfarm,allotherusersnotconfiguredinapredictorroundrobinuserlistonsomeother
serverfarmmaybecachedinthecacheserversbelongingtothisserverfarm.
Upto10separatelistscanbedefinedperserverfarm.Thedestination
IPaddressesspecifiedcan
notbealreadyconfiguredwithinanyotherroundrobindestinationIPlist.
Example
Thisexampleconfiguresapredictorroundrobinforthewebcacheserverfarms1Server
specifyingthattheenduserswithIPaddressesfrom10.10.10.05through10.10.10.25shouldbe
selectedonaroundrobinbasis forcachingoncacheserversbelongingtothisserverfarm:
Matrix(rw)->Router(config)#ip twcb wcserverfarm s1Server
Matrix(rw)->Router(config-twcb-wcsfarm)#predictor roundrobin 10.10.10.05
10.10.10.25
ipaddressbegin ThebeginningIPaddressofalistofdestinationIPaddressesforwhich
thecacheserverswithinthisserverfarmwillbeselectedbythe
roundrobinalgorithm.
ipaddressend TheendingIPaddressofalistofdestinationIPaddressesforwhichthe
cacheserverswithinthis
serverfarmwillbeselectedbytheroundrobin
algorithm.