© 1999-2017 Citrix Systems, Inc. All rights reserved.
p.458
https://docs.citrix.com
Load-Balancing in the WCCP Cluster
Sep 12, 2014
Traffic is distributed among the appliances in the WCCP cluster. If an appliance leaves the cluster (through failure, overload,
or being manually disabled), its traffic is rebalanced by distributing it among the surviving members. If an appliance joins the
cluster, traffic is rebalanced once more to give the new appliance its fair share.
T he Address Mask
T he Address Mask
Traffic is distributed on the basis of an address mask that is applied to the source and destination addresses of WAN
traffic. You must select an appropriate mask field for efficient load-balancing. An inappropriate mask can result in load-
balancing that is poor to nonexistent. For example, if the mask matches an address field that is identical at all your remote
sites, all your WAN traffic is sent to a single appliance, overloading it. For example, if all of your remote sites have an address
in the form of 10.0.x.x, and your mask bits are within the 10.0 portion of the address all traffic is sent to a single appliance.
The address bits extracted by the address mask are used as an index that is used (indirectly) to select one of the WCCP
caches (appliances). For example, an address mask with two ”one” bits results in four possible values, depending on the
address. Each of these values can be thought of as a bucket. With two mask bits, you have four buckets, numbered 0-3.
The buckets are assigned to WCCP caches. To be effective, there must be at least as many buckets as caches. If you use a
two-bit mask and have five or more caches, some caches are idle, because each bucket is assigned to only one cache, and
there are not enough buckets to cover all five caches:
Cache
1
2
3
4
5
Buckets
0
1
2
3
-
If there are more buckets than caches, some caches are assigned multiple buckets. For example, if you set three mask bits,
creating eight buckets, and you have four caches, two buckets are assigned to each cache. If you have five caches, three
caches are assigned two buckets each, and two caches are assigned just one. If each bucket represents the same number
of users, you have a 2:1 load imbalance across caches:
Cache
1
2
3
4
5
Buckets
0-1
2-3
4-5
6
7
Increasing the number of set mask bits reduces this imbalance. With four mask bits (16 index values) and five caches, four
caches receive three buckets and one cache receives four buckets, resulting in only a 4:3 imbalance. With six set mask bits
(the largest number supported), four caches receive 13 buckets and one receives 12, which is only a 13:12 load imbalance.
Cache
1
2
3
4
5
Buckets
0-12
13-25
26-38
39-51
52-63
Ideally, you would like each remote site to be directed to a single appliance in the WCCP cluster, so that all traffic to and
from a given site is stored in the same compression history. With this arrangement, any traffic from one user at the site can
be used to compress similar traffic from any other user at that site. In other words, for compressibility, load-balancing works
best if it the address mask selects the bits that differentiate one remote site from another. These are often the least-
significant bits of the subnet portion of the IP address. Using these bits tends to allocate the same number of remote sites
(not users) per local appliance. A mask that aligns with the host portion of the address instead of the subnet results in a
Содержание NetScaler EE
Страница 21: ... 1999 2017 Citrix Systems Inc All rights reserved p 21 https docs citrix com ...
Страница 111: ... 1999 2017 Citrix Systems Inc All rights reserved p 111 https docs citrix com ...
Страница 270: ... 1999 2017 Citrix Systems Inc All rights reserved p 270 https docs citrix com ...
Страница 310: ... 1999 2017 Citrix Systems Inc All rights reserved p 310 https docs citrix com ...
Страница 344: ... 1999 2017 Citrix Systems Inc All rights reserved p 344 https docs citrix com ...
Страница 349: ... 1999 2017 Citrix Systems Inc All rights reserved p 349 https docs citrix com ...
Страница 352: ... 1999 2017 Citrix Systems Inc All rights reserved p 352 https docs citrix com ...
Страница 357: ... 1999 2017 Citrix Systems Inc All rights reserved p 357 https docs citrix com ...
Страница 372: ... 1999 2017 Citrix Systems Inc All rights reserved p 372 https docs citrix com ...
Страница 489: ... 1999 2017 Citrix Systems Inc All rights reserved p 489 https docs citrix com ...
Страница 713: ... 1999 2017 Citrix Systems Inc All rights reserved p 713 https docs citrix com ...
Страница 727: ... 1999 2017 Citrix Systems Inc All rights reserved p 727 https docs citrix com VLAN Support ...
Страница 728: ... 1999 2017 Citrix Systems Inc All rights reserved p 728 https docs citrix com Inline Mode Note ...
Страница 729: ... 1999 2017 Citrix Systems Inc All rights reserved p 729 https docs citrix com Ethernet Bypass and Link Down Propagation ...
Страница 730: ... 1999 2017 Citrix Systems Inc All rights reserved p 730 https docs citrix com Accelerating an Entire Site ...
Страница 731: ... 1999 2017 Citrix Systems Inc All rights reserved p 731 https docs citrix com Partial Site Acceleration ...
Страница 733: ... 1999 2017 Citrix Systems Inc All rights reserved p 733 https docs citrix com Virtual Inline Mode Note ...
Страница 738: ... 1999 2017 Citrix Systems Inc All rights reserved p 738 https docs citrix com ...
Страница 740: ... 1999 2017 Citrix Systems Inc All rights reserved p 740 https docs citrix com Virtual Inline Mode and High Availability ...
Страница 741: ... 1999 2017 Citrix Systems Inc All rights reserved p 741 https docs citrix com Monitoring and Troubleshooting ...
Страница 742: ... 1999 2017 Citrix Systems Inc All rights reserved p 742 https docs citrix com High Availability Mode ...
Страница 743: ... 1999 2017 Citrix Systems Inc All rights reserved p 743 https docs citrix com How High Availability Mode Works ...
Страница 744: ... 1999 2017 Citrix Systems Inc All rights reserved p 744 https docs citrix com Cabling Requirements ...
Страница 745: ... 1999 2017 Citrix Systems Inc All rights reserved p 745 https docs citrix com Other Requirements ...
Страница 747: ... 1999 2017 Citrix Systems Inc All rights reserved p 747 https docs citrix com Configuring the High Availability Pair ...
Страница 790: ... 1999 2017 Citrix Systems Inc All rights reserved p 790 https docs citrix com ...
Страница 929: ... 1999 2017 Citrix Systems Inc All rights reserved p 929 https docs citrix com ...
Страница 930: ... 1999 2017 Citrix Systems Inc All rights reserved p 930 https docs citrix com ...
Страница 931: ... 1999 2017 Citrix Systems Inc All rights reserved p 931 https docs citrix com ...
Страница 932: ... 1999 2017 Citrix Systems Inc All rights reserved p 932 https docs citrix com ...
Страница 933: ... 1999 2017 Citrix Systems Inc All rights reserved p 933 https docs citrix com ...
Страница 934: ... 1999 2017 Citrix Systems Inc All rights reserved p 934 https docs citrix com ...
Страница 935: ... 1999 2017 Citrix Systems Inc All rights reserved p 935 https docs citrix com ...
Страница 936: ... 1999 2017 Citrix Systems Inc All rights reserved p 936 https docs citrix com ...
Страница 938: ... 1999 2017 Citrix Systems Inc All rights reserved p 938 https docs citrix com ...
Страница 939: ... 1999 2017 Citrix Systems Inc All rights reserved p 939 https docs citrix com ...
Страница 940: ... 1999 2017 Citrix Systems Inc All rights reserved p 940 https docs citrix com ...
Страница 941: ... 1999 2017 Citrix Systems Inc All rights reserved p 941 https docs citrix com ...
Страница 942: ... 1999 2017 Citrix Systems Inc All rights reserved p 942 https docs citrix com ...
Страница 943: ... 1999 2017 Citrix Systems Inc All rights reserved p 943 https docs citrix com ...
Страница 944: ... 1999 2017 Citrix Systems Inc All rights reserved p 944 https docs citrix com ...
Страница 945: ... 1999 2017 Citrix Systems Inc All rights reserved p 945 https docs citrix com ...
Страница 946: ... 1999 2017 Citrix Systems Inc All rights reserved p 946 https docs citrix com ...
Страница 947: ... 1999 2017 Citrix Systems Inc All rights reserved p 947 https docs citrix com ...
Страница 948: ... 1999 2017 Citrix Systems Inc All rights reserved p 948 https docs citrix com ...
Страница 949: ... 1999 2017 Citrix Systems Inc All rights reserved p 949 https docs citrix com ...
Страница 950: ... 1999 2017 Citrix Systems Inc All rights reserved p 950 https docs citrix com ...
Страница 951: ... 1999 2017 Citrix Systems Inc All rights reserved p 951 https docs citrix com ...
Страница 952: ... 1999 2017 Citrix Systems Inc All rights reserved p 952 https docs citrix com ...
Страница 953: ... 1999 2017 Citrix Systems Inc All rights reserved p 953 https docs citrix com ...
Страница 954: ... 1999 2017 Citrix Systems Inc All rights reserved p 954 https docs citrix com ...
Страница 955: ... 1999 2017 Citrix Systems Inc All rights reserved p 955 https docs citrix com ...
Страница 956: ... 1999 2017 Citrix Systems Inc All rights reserved p 956 https docs citrix com ...
Страница 957: ... 1999 2017 Citrix Systems Inc All rights reserved p 957 https docs citrix com ...
Страница 958: ... 1999 2017 Citrix Systems Inc All rights reserved p 958 https docs citrix com ...
Страница 959: ... 1999 2017 Citrix Systems Inc All rights reserved p 959 https docs citrix com ...
Страница 960: ... 1999 2017 Citrix Systems Inc All rights reserved p 960 https docs citrix com ...
Страница 961: ... 1999 2017 Citrix Systems Inc All rights reserved p 961 https docs citrix com ...
Страница 962: ... 1999 2017 Citrix Systems Inc All rights reserved p 962 https docs citrix com ...
Страница 963: ... 1999 2017 Citrix Systems Inc All rights reserved p 963 https docs citrix com ...
Страница 964: ... 1999 2017 Citrix Systems Inc All rights reserved p 964 https docs citrix com ...
Страница 965: ... 1999 2017 Citrix Systems Inc All rights reserved p 965 https docs citrix com ...
Страница 966: ... 1999 2017 Citrix Systems Inc All rights reserved p 966 https docs citrix com ...
Страница 967: ... 1999 2017 Citrix Systems Inc All rights reserved p 967 https docs citrix com ...
Страница 968: ... 1999 2017 Citrix Systems Inc All rights reserved p 968 https docs citrix com ...
Страница 969: ... 1999 2017 Citrix Systems Inc All rights reserved p 969 https docs citrix com ...
Страница 970: ... 1999 2017 Citrix Systems Inc All rights reserved p 970 https docs citrix com ...
Страница 971: ... 1999 2017 Citrix Systems Inc All rights reserved p 971 https docs citrix com ...
Страница 972: ... 1999 2017 Citrix Systems Inc All rights reserved p 972 https docs citrix com ...
Страница 973: ... 1999 2017 Citrix Systems Inc All rights reserved p 973 https docs citrix com ...
Страница 974: ... 1999 2017 Citrix Systems Inc All rights reserved p 974 https docs citrix com ...
Страница 975: ... 1999 2017 Citrix Systems Inc All rights reserved p 975 https docs citrix com ...
Страница 976: ... 1999 2017 Citrix Systems Inc All rights reserved p 976 https docs citrix com ...
Страница 977: ... 1999 2017 Citrix Systems Inc All rights reserved p 977 https docs citrix com ...
Страница 978: ... 1999 2017 Citrix Systems Inc All rights reserved p 978 https docs citrix com ...
Страница 979: ... 1999 2017 Citrix Systems Inc All rights reserved p 979 https docs citrix com ...
Страница 980: ... 1999 2017 Citrix Systems Inc All rights reserved p 980 https docs citrix com ...
Страница 981: ... 1999 2017 Citrix Systems Inc All rights reserved p 981 https docs citrix com ...
Страница 982: ... 1999 2017 Citrix Systems Inc All rights reserved p 982 https docs citrix com ...
Страница 983: ... 1999 2017 Citrix Systems Inc All rights reserved p 983 https docs citrix com ...
Страница 984: ... 1999 2017 Citrix Systems Inc All rights reserved p 984 https docs citrix com ...
Страница 985: ... 1999 2017 Citrix Systems Inc All rights reserved p 985 https docs citrix com ...
Страница 986: ... 1999 2017 Citrix Systems Inc All rights reserved p 986 https docs citrix com ...
Страница 987: ... 1999 2017 Citrix Systems Inc All rights reserved p 987 https docs citrix com ...
Страница 988: ... 1999 2017 Citrix Systems Inc All rights reserved p 988 https docs citrix com ...
Страница 989: ... 1999 2017 Citrix Systems Inc All rights reserved p 989 https docs citrix com ...
Страница 990: ... 1999 2017 Citrix Systems Inc All rights reserved p 990 https docs citrix com ...
Страница 991: ... 1999 2017 Citrix Systems Inc All rights reserved p 991 https docs citrix com ...
Страница 992: ... 1999 2017 Citrix Systems Inc All rights reserved p 992 https docs citrix com ...
Страница 993: ... 1999 2017 Citrix Systems Inc All rights reserved p 993 https docs citrix com ...
Страница 994: ... 1999 2017 Citrix Systems Inc All rights reserved p 994 https docs citrix com ...
Страница 995: ... 1999 2017 Citrix Systems Inc All rights reserved p 995 https docs citrix com ...
Страница 996: ... 1999 2017 Citrix Systems Inc All rights reserved p 996 https docs citrix com ...
Страница 997: ... 1999 2017 Citrix Systems Inc All rights reserved p 997 https docs citrix com ...
Страница 998: ... 1999 2017 Citrix Systems Inc All rights reserved p 998 https docs citrix com ...
Страница 999: ... 1999 2017 Citrix Systems Inc All rights reserved p 999 https docs citrix com ...
Страница 1000: ... 1999 2017 Citrix Systems Inc All rights reserved p 1000 https docs citrix com ...
Страница 1001: ... 1999 2017 Citrix Systems Inc All rights reserved p 1001 https docs citrix com ...
Страница 1002: ... 1999 2017 Citrix Systems Inc All rights reserved p 1002 https docs citrix com ...
Страница 1003: ... 1999 2017 Citrix Systems Inc All rights reserved p 1003 https docs citrix com ...
Страница 1004: ... 1999 2017 Citrix Systems Inc All rights reserved p 1004 https docs citrix com ...
Страница 1005: ... 1999 2017 Citrix Systems Inc All rights reserved p 1005 https docs citrix com ...
Страница 1006: ... 1999 2017 Citrix Systems Inc All rights reserved p 1006 https docs citrix com ...
Страница 1007: ... 1999 2017 Citrix Systems Inc All rights reserved p 1007 https docs citrix com ...
Страница 1008: ... 1999 2017 Citrix Systems Inc All rights reserved p 1008 https docs citrix com ...
Страница 1009: ... 1999 2017 Citrix Systems Inc All rights reserved p 1009 https docs citrix com ...
Страница 1010: ... 1999 2017 Citrix Systems Inc All rights reserved p 1010 https docs citrix com ...
Страница 1011: ... 1999 2017 Citrix Systems Inc All rights reserved p 1011 https docs citrix com ...
Страница 1012: ... 1999 2017 Citrix Systems Inc All rights reserved p 1012 https docs citrix com ...