Understanding Citrix ADC Application Templates and Deployment Files
When you export a Citrix ADC application, the following two files are automatically created:
- Citrix ADC application template file. Contains application-configuration information such as application units, rules, and configured policies.
- Deployment file. Contains deployment-specific information such as public endpoints, services, associated IP addresses, and configured variables.
在一个模板文件或部署文件,每个单元of application-configuration information is encapsulated in a specific XML element that is meant for that unit type. For example, each public endpoint and associated endpoint details are encapsulated within the
Note: After you export a Citrix ADC application, you can add elements, remove elements, and modify existing elements before importing the application to a Citrix ADC appliance.
Example of a Citrix ADC Application Template
Following is an example of a template file that was created from a Citrix ADC application calledSharePoint_Team_Site:
< ?xml version = " 1.0 " encoding = " utf - 8 " ? > <模板> SharePoint_Team_Site 1 1 Ed An application for managing a SharePoint team site with images, reports, and, XML content. This template includes variables 9 3 38 Rw_name replace HTTP.REQ.BODY(10000).AFTER_REGEX(re/number/).BEFORE_REGEX(re/address/) "NA" NO . . . . . . Rw_number_NA HTTP.REQ.BODY(100000).CONTAINS("admin") Rw_name . . . . . . SharePoint_Team_Sitedefault PE HTTP 0.0.0.0 * 0 1 NONE 2 NONE 2 LEASTCONNECTION 255.255.255.255 128 OFF OFF IP 0 0 DISABLED ENABLED DISABLED 180 NONE DISABLED DISABLED DISABLED DISABLED 0.0.0.0 DISABLED OFF OFF OFF DISABLED none OFF . . . . . . body_size 10000 Evaluation Scope 14 5 . . . rewriteaction Rw_name target . . .
Example of a Deployment File
Following is the deployment file associated with theSharePoint_Team_Siteapplication in the preceding example:
< ?xml version="1.0" encoding="UTF8" ?> SharePoint_Team_Site 1 1 Ed An application for managing a SharePoint team site with images, reports, and, XML content. This template includes variables 9 3 38 10.111.111.1 80 HTTP 10.102.29.5 80 HTTP . . . . . . body_size Evaluation Scope 10000 . . . . . .