Specifications
Understanding Transparent Web Cache Balancing (TWCB) predictor roundrobin
23-4 Transparent Web Cache Balancing Configuration
predictor roundrobin
Usethiscommandtomodifytheround‐robinpredictorvaluebyapplyingalistofdestina tion IP
addressesforwhichthecacheserverswithinthisserverfarmwillbeselectedbytheround‐robin
algorithm.
Syntax
predictor roundrobin ip-address-begin ip-address-end
Parameters
Defaults
None.
Mode
Routercommand,ServerFarmConfigurationmode:Matrix(rw)‐>Router(config‐twcb‐wcsfarm)#.
Usage
Therouterusestheend‐userIPaddress,makingtheHTTPrequest,todeterminewhichcache
serveritwillsendtherequestto.Ifawebsiteisaccessedfrequently,thecacheserverserving
requestsforthisend‐useripaddressmaybecomeoverloadedwithuserrequests.Youcanspecify
end
‐useripaddressesbedistributedacrossthecacheserversofthisserverfarminaround‐robin
algorithmusingthepredictorroundrobincommand.
Whenapredictorround‐robinuserlistisconfigured,onlyusersinconfiguredlistsarecachedin
cacheserversbelongingtothi sserverfarm.Ifnopredictorround
‐robinuserlistisconfiguredfora
serverfarm,allotherusersnotconfiguredinapredictorround‐robinuserlistonsomeother
serverfarmmaybecachedinthecacheserversbelongingtothisserverfarm.
Upto10separatelistscanbedefinedperserverfarm.Thedestination
IPaddressesspecifiedcan
notbealreadyconfiguredwithinanyotherround‐robindestinationIPlist.
Example
Thisexampleconfiguresapredictorround‐robinfortheweb‐cacheserverfarms1Server
specifyingthattheenduserswithIPaddressesfrom10.10.10.05through10.10.10.25shouldbe
selectedonaround‐robinbasis 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
ip‐address‐begin ThebeginningIPaddressofalistofdestinationIPaddressesforwhich
thecacheserverswithinthisserverfarmwillbeselectedbythe
round‐robinalgorithm.
ip‐address‐end TheendingIPaddressofalistofdestinationIPaddressesforwhichthe
cacheserverswithinthis
serverfarmwillbeselectedbytheround‐robin
algorithm.