ADC

Configure the upper-tier Citrix ADC appliances

Configure each of the upper-tier Citrix ADC appliances as follows.

Configure an upper-tier appliance for n-tier cache redirection by using the command CLI

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.

Configure an upper-tier appliance for n-tier cache redirection by using the GUI

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