Technical data
Brocade ServerIron ADX Advanced Server Load Balancing Guide 49
53-1003441-01
Other transparent cache switching options
2
Selecting server selection methods with cache groups
By default, the SSL and HTTP protocols use a hash method based on the source and destination IP
addresses to select a cache server within a cache group. All other protocols use the least
connection method by default.
To change the method of selecting a server within a cache group, enter a command such as the
following:
ServerIronADX(config)#server cache-group 1
ServerIronADX(config-tc-1)#predictor least-connection port http
ServerIronADX(config-tc-1)#predictor hash port ftp
Syntax: predictor { hash | least-connection } port portname|number
The default predictor for SSL and HTTP is the hash method described in “Increasing the TCS hash
bucket count” on page 60.
The default predictor for all other protocols is least-connection.
In order to let the hash value for all hash-based ports be consistent, configuring the command
hc-track-group portnumber1 portnumber2... under each cache server is recommended, as shown
in the following example.
ServerIronADX(config)#server cache-name cs1
ServerIronADX(config)#hc-track-group 80 443
255.255.255.0 0.0.0.255 10.24.32.12 10.165.16.233 C1
10.24.32.12 10.12.122.233 C1
10.24.32.12 10.12.122.200 C2
ffff:ffff:ffff:ffff:: :: 2001:db8:0102:0303:6::1 Any C1
2001:db8:0102:0303:7::1 Any C1
2001:db8:0102:0304:8::1 Any C2
2001:db8:0102:0305:9::1 Any C3
ffff:ffff:ffff:ffff:ffff:: :: 2001:db8:0102:0303:6::1 Any C1
2001:db8:0102:0303:7::1 Any C2
2001:db8:0102:0304:8::1 Any C3
ffff:ffff:ffff:ffff:: ::ffff 2001:db8:0102:0303:6::1 2001:db8:0102:1 C1
2001:db8:0102:0303:7::1 2001:db8:0304:1 C1
2001:db8:0102:0304:8::1 2001:db8:0506:2 C2
TABLE 4 Example TCS hash masks (IPv4+IPv6) (Continued)
Destination mask Source mask Destination IP address Source IP address Cache server










