HP StorageWorks Enterprise File Services WAN Accelerator 3.0.4 deployment guide (AG421-96001, March 2007)

88 7 - WCCP DEPLOYMENTS
For example, to configure load balancing, you change the hashing scheme to hash on
a destination IP and port and specify a weight on the HP EFS WAN Accelerator. (You
do not need to configure the router.)
To change the hashing
scheme and assign a
weight
1. On the client-side HP EFS WAN Accelerator, enter the following command:
client-SH (config) # wccp service-group 90 routers 10.1.0.1 flags
dst-ip-hash,dst-port-hash
2. To change the weight on the client-side HP EFS WAN Accelerator, enter the
following command:
client-SH (config) # wccp service-group 90 routers 10.1.0.1 weight 20
Failover
Support
You can also provide failover support using WCCP. In a failover configuration, the HP
EFS WAN Accelerators periodically announce themselves to the routers. If an HP EFS
WAN Accelerator fails, traffic is redirected to the working HP EFS WAN Accelerators.
For example, instead of load balancing traffic between two HP EFS WAN
Accelerators, you might want traffic to go to only one HP EFS WAN Accelerator and
to failover to the other HP EFS WAN Accelerator if the first one fails.
To configure failover support, you simply define the weight to be 0 on the backup HP
EFS WAN Accelerator. For detailed information, see “WCCP CLI Commands” on
page 74.
Troubleshooting
You can check your WCCP configuration on the router and the HP EFS WAN
Accelerator.
To check the router
configuration
On the router, at the system prompt, enter the following set of commands:
Router>en
Router#show ip wccp
Router#show ip wccp 90 detail
Router#show ip wccp 90 view
You can trace WCCP packets and events on the router.
To trace WCCP
packets and events on
the router
On the router, at the system prompt, enter the following set of commands:
Router>en
Router#debug ip wccp events
WCCP events debugging is on
Router#debug ip wccp packets
WCCP packet info debugging is on
Router#term mon