Product Documentation

Configuring the Upper-Tier NetScaler Appliances

Oct 31, 2013
Configure each of the upper-tier NetScaler appliances as follows.

To configure an upper-tier appliance for n-tier cache redirection by using the command line interface

At the command prompt, type the following commands:

  • add service <name>@ <serviceIP> <serviceType> <port>

    Run this command for each service to be added.

  • add lb vserver <name>@ ANY * <port> -persistenceType <persistenceMethod> -lbMethod <lbMethod> -m MAC -sessionless ENABLED -cltTimeout <client_Timeout_Value>
  • bind lb vserver <name>@ <serviceName>

    Run this command for each service to be bound.

  • enable ns mode l3
  • add ns pbr <name> <action> -srcPort <sourcePortNumber> -destPort <startPortNumber-endPortNumber> -nexthop <serviceIpAddress> -protocol TCP
  • apply ns pbrs

    Run this command after adding all the necessary PBRs.

To configure an upper-tier appliance for n-tier cache redirection by using the configuration utility

  1. Enable L3 mode:
    1. In the navigation pane, click System, and then click Settings.
    2. In the Settings group, click the Configure modes link.
    3. Select the Layer 3 Mode (IP Forwarding) check box.
    4. Click OK.
  2. Configure policy-based routing (PBR):
    1. Navigate to System > Network > PBRs.
    1. In the Policy-Based Routing (PBRs) pane, click Add.
    2. Type a name for the PBR.
    3. Select the action as Allow.
    4. In the Next Hop box, type the IP address of the service, which represents a lower-tier NetScaler.
    5. Select TCP from the Protocol drop-down list.
    6. Type the source port and the range of the destination port corresponding to the lower-tier NetScaler being added.
    7. Click Create.
    8. In the details pane, select the PBR and click Apply.
    9. Repeat Step (i) to Step (vii) for each lower-tier NetScaler.
  3. Create a service for each lower-tier NetScaler:
    1. Navigate to Traffic Management > Load Balancing > Services.
    1. In the details pane, click Add.
    2. Specify the name, protocol, IP address, and port. The protocol should be ANY.
    3. Click Create.
  4. Configure a load balancing virtual server:
    1. Navigate to Traffic Management > Load Balancing > Virtual Servers.
    1. In the details pane, click Add.
    2. Specify the name, protocol, IP address, and port. The protocol should be ANY and the IP address should be *.
    3. In the Services tab, select the services that represent the lower-tier NetScaler appliances.
    4. In the Advanced tab, select the Redirection Mode as MAC Based and select the Sessionless check box.
    5. Click Create.