Technical data

ServerIron ADX Advanced Server Load Balancing Guide 41
53-1002435-03
Other transparent cache switching options
2
In the following example, the ip policy command is configured to direct traffic locally. That IP policy
is then configured under the interface configuration for ethernet port 18.
ServerIronADX(config)# ip policy 2 cache tcp 80 local
ServerIronADX(config)# int e 18
ServerIronADX(config-if-18)# ip-policy 2
Syntax: ip-policy <policy-index>
The <policy-index> variable specifies index of the IP policy that defines the web traffic that you
want to direct towards the cache servers.
Other transparent cache switching options
Resetting the server cache table
You can configure the ServerIron ADX to reset the server cache table when a new cache server is
added to a cache group or one cache server recovers from a failure, effectively enabling all cache
servers to participate in the load balancing algorithm.
To enable the ServerIron ADX to automatically reset the server cache table when a new cache
server is added to a cache group or one cache server recovers from a failure, enter the following
command.
ServerIronADX(config)# server force-cache-rehash
Syntax: [no] server force-cache-rehash
Disabling a cache group or a server in a cache group
You can disable a cache group or server within a cache group to allow for maintenance.
To disable cache-group 1, enter the following commands.
ServerIronADX(config)# server cache-group 1
ServerIronADX(config-tc-1)# disable
Syntax: [no] disable
To disable a server (server2) within an active cache group, enter the following commands at the
cache server level.
ServerIronADX(config)# server cache-name server2
ServerIronADX(config-rs-server2)# disable
Syntax: [no] disable
Removing or re-assigning an interface
By default, all ports (physical interfaces) on the ServerIron ADX belong to cache-group 1. An
interface however, can assigned to more than one cache group.