ADC

Configure the lower-tier NetScaler appliances

Configure each of the lower-tier NetScaler appliances as follows.

Configure a lower-tier appliance for n-tier cache redirection by using the CLI

At the command prompt, type the following commands:

  • add service <name>@ <cacheServiceIP> <serviceType> <port> -cip ENABLED "ClientIP" –cachetype transparent

    Repeat for each cache server.

  • add lb vserver <name>@ <serviceType> -m MAC

  • bind lb vserver <name>@ <cacheServiceName>

    Repeat for each cache server.

  • add cr vserver <name> <serviceType> * <port> -srcIPExpr "HTTP.REQ.HEADER("ClientIP")" -originusip ON –usePortRange ON

  • set ns param-crPortRange <startPortNumber-endPortNumber>

Configure a lower-tier appliance for n-tier cache redirection by using the GUI

  1. Create a service for each cache server. To create a service:
    1. Navigate to Traffic Management > Load Balancing > Services.
    2. In the details pane, click Add, and specify the name and protocol. Clear the Directly Addressable check box.
    3. In the Advanced tab, select the Override Global check box and the Client IP check box, and then in the Header box, type ClientIP.
    4. In the Cache Type box, select Transparent Cache.
    5. Click Create.
  2. Configure a load balancing virtual server:
    1. Navigate to Traffic Management > Load Balancing > Virtual Services.
    2. In the details pane, click Add and specify the name, protocol, IP address, and port. The IP address should be an asterisk (*).
    3. In the Services tab, select the services that represent the cache servers.
    4. In the Advanced tab, for Redirection Mode, select MAC Based.
    5. Click Create.
  3. Configure a cache redirection virtual server:
    1. Navigate to Traffic Management > Load Balancing > Virtual Services.
    2. In the details pane, click Add and specify the name, protocol, IP address, and port. The IP address should be *.
    3. For Cache Type, select Transparent.
    4. On the Advanced tab, in the Cache Server box, select the new load balancing virtual server and check the Origin USIP and Use Port Range check boxes. In the Source IP Expression box, type HTTP.REQ.HEADER(“ClientIP”).
    5. Click Create.
  4. Assign a source port range for the appliance:
    1. In the navigation pane, click System, and then click Settings.
    2. In the Settings group, click the Change global system settings link.
    3. In the Cache Redirection Port Range group, specify the port range for the appliance by typing a port number for Start Port and a port number for End Port.
    4. Click OK.
Configure the lower-tier NetScaler appliances