Configure the lower-tier Citrix ADC appliances
Configure each of the lower-tier Citrix ADC 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 @ -cip ENABLED "ClientIP" –cachetype transparent Repeat for each cache server. - add lb vserver @ -m MAC - bind lb vserver @ Repeat for each cache server. - add cr vserver * -srcIPExpr "HTTP.REQ.HEADER("ClientIP")" -originusip ON –usePortRange ON - set ns param-crPortRange
Configure a lower-tier appliance for n-tier cache redirection by using the GUI
- Create a service for each cache server. To create a service:
- Navigate to Traffic Management > Load Balancing > Services.
- In the details pane, click Add, and specify the name and protocol. Clear the Directly Addressable check box.
- In the Advanced tab, select the Override Global check box and the Client IP check box, and then in the Header box, type ClientIP.
- In the Cache Type box, select Transparent Cache.
- Click Create.
- Configure a load balancing virtual server:
- Navigate to Traffic Management > Load Balancing > Virtual Services.
- In the details pane, click Add and specify the name, protocol, IP address, and port. The IP address should be an asterisk (*).
- In the Services tab, select the services that represent the cache servers.
- In the Advanced tab, for Redirection Mode, select MAC Based.
- Click Create.
- Configure a cache redirection virtual server:
- Navigate to Traffic Management > Load Balancing > Virtual Services.
- In the details pane, click Add and specify the name, protocol, IP address, and port. The IP address should be *.
- For Cache Type, select Transparent.
- 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”).
- Click Create.
- Assign a source port range for the appliance:
- In the navigation pane, click System, and then click Settings.
- In the Settings group, click the Change global system settings link.
- 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.
- Click OK.
Configure the lower-tier Citrix ADC appliances
Copied!
Failed!