Configure the upper-tier NetScaler appliances
Configure each of the upper-tier NetScaler 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 the Settings group, click the Configure modes link.
- Select the Layer 3 Mode (IP Forwarding) check box.
- 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 the Next Hop box, type the IP address of the service, which represents a lower-tier appliance.
- Select TCP from the Protocol drop-down list.
- 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 Step (i) to Step (vii) 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 the Services tab, select the services that represent the lower-tier NetScaler appliances.
- In the Advanced tab, select the Redirection Mode as MAC Based and select the Sessionless check box.
- Click Create.