負荷分散仮想サーバーを有効にして、要求をキャッシュにリダイレクトする
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