Enable load balancing virtual servers to redirect requests to cache
Enable load balancing virtual servers to redirect requests to the cache by using the CLI
- set lb vserver <name> [-cacheable ( YES | NO)]
- show lb vserver [<name>]
set lb vserver Vserver-LB-CR –cacheable YES
> show lb vserver vserver-LB-CR
Vserver-LB-CR (10.102.20.30:80) - HTTP Type: ADDRESS
State: DOWN
Last state change was at Fri Jul 2 08:47:52 2010
Time since last state change: 0 days, 01:05:51.510
Effective State: DOWN
Client Idle Timeout: 180 sec
Down state flush: ENABLED
Disable Primary Vserver On Down : DISABLED
Port Rewrite : DISABLED
No. of Bound Services : 1 (Total) 0 (Active)
Configured Method: LEASTCONNECTION
Mode: IP
Persistence: NONE
Cacheable: YES PQ: OFF SC: OFF
Vserver IP and Port insertion: OFF
Push: DISABLED Push VServer:
Push Multi Clients: NO
Push Label Rule: none
1) Service-HTTP-1 (10.102.29.40: 80) - HTTP State: DOWN Weight: 1
Done
Turn off caching for a load balancing virtual server by using the CLI
Enable or disable load balancing virtual servers to redirect requests to the cache by using the GUI
-
Navigate to Traffic Management > Load Balancing > Virtual Servers.
-
In the details pane, select the virtual server from which you want to enable/disable the caching, and then click Open.
-
On the Advanced tab, select/clear Cache Redirection check box.
-
Click OK.