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