Product Documentation

Enabling or Disabling a Cache Redirection Virtual Server

Aug 31, 2016
When you create a cache redirection virtual server, it is enabled by default. If you disable a cache redirection virtual server, its state changes to OUT OF SERVICE and it stops redirecting cacheable client requests. However, the NetScaler appliance continues to respond to ARP and ping requests for the IP address of this virtual server.

To Enable or Disable a cache redirection virtual servers by using the command line interface

At the command line, type one of the following commands:

  • enable cr vserver <name>
  • show cr vserver <name>
  • disable cr vserver <name>
  • show cr vserver <name>

Examples

 
> enable cr vserver Vserver-CRD-1 
 Done 
> show cr vserver Vserver-CRD-1 
        Vserver-CRD-1 (*:80) - HTTP     Type: CONTENT 
        State: UP  ARP:DISABLED 
        Client Idle Timeout: 180 sec 
        Down state flush: ENABLED 
        Disable Primary Vserver On Down : DISABLED 
        Default:        Content Precedence: URL Cache: TRANSPARENT 
        On Policy Match: ORIGIN L2Conn: OFF     OriginUSIP: OFF 
        Redirect: POLICY        Reuse: ON       Via: ON ARP: OFF 
 
1)      Cache bypass  Policy: bypass-cache-control 
2)      Cache bypass  Policy: Policy-CRD 
 Done 
> 
 
> disable cr vserver Vserver-CRD-1 
 Done 
> show cr vserver Vserver-CRD-1 
        Vserver-CRD-1 (*:80) - HTTP     Type: CONTENT 
        State: OUT OF SERVICE  ARP:DISABLED 
        Client Idle Timeout: 180 sec 
        Down state flush: ENABLED 
        Disable Primary Vserver On Down : DISABLED 
        Default:        Content Precedence: URL Cache: TRANSPARENT 
        On Policy Match: ORIGIN L2Conn: OFF     OriginUSIP: OFF 
        Redirect: POLICY        Reuse: ON       Via: ON ARP: OFF 
 
1)      Cache bypass  Policy: bypass-cache-control 
2)      Cache bypass  Policy: Policy-CRD 
 Done 
> 

To Enable or Disable a cache redirection virtual servers by using the configuration utility

  1. Navigate to Traffic Management > Cache Redirection > Virtual Servers.
  2. In the navigation pane, expand Cache Redirection, and then click Virtual Servers.
  3. In the details pane, select the virtual server that you want to enable or disable, (for example, Vserver-CRD-1), and then click Statistics.
  4. In the Proceed dialog box, click Yes.