ADC CLI Commands

application

The following operations can be performed on “application”:

export rm import

export application

Exports application configuration information to an AppExpert application template file. A deployment file is created along with the template file. The template file contains application and variable definitions. The deployment file contains information about the services, service groups, endpoints, and variables that are in the AppExpert application configuration. The template and deployment files are exported to the /nsconfig/nstemplates/applications/ and /nsconfig/nstemplates/applications/deployment_files directories, respectively. If you use the configuration utility, you can also export an application to your local hard drive.

Synopsis

export application [-apptemplateFilename ] [-deploymentFilename ]

Arguments

appname Name of the AppExpert application whose configuration you want to export to a template file.

apptemplateFilename Name with which to save the template file. If you do not specify a name, the template file is saved with the name of the application.

deploymentFilename Name with which to save the deployment file. If you do not specify a name, a string consisting of an underscore and “deployment” (_deployment) is automatically appended to the name of the template file to create the name of the deployment file.

rm application

Remove application configuration information from a Citrix ADC device. You can specify an application name as input. All the configuration belonging to the specified application will be removed from the device.

Synopsis

rm application

Arguments

appname Name of the AppExpert application whose configuration you want to remove from the Citrix ADC.

import application

Imports application configuration information from an AppExpert application template file. You can specify a deployment file along with the template file. A template file contains application and variable definitions. A deployment file contains information about the services, service groups, endpoints, and variables that were in the AppExpert application configuration at the time the template file was created. Before you use template and deployment files, make sure that they are present in the /nsconfig/nstemplates/applications/ and /nsconfig/nstemplates/applications/deployment_files directories, respectively. You can transfer the files from your local drive to those directories on the Citrix ADC by using either FTP or the Citrix ADC configuration utility. In the configuration utility, you can also import the files and create the application by using a single wizard (AppExpert > Applications > Import > AppExpert Template Wizard).

Synopsis

import application [-appname ] [-deploymentFilename ]

Arguments

apptemplateFilename Name of the AppExpert application template file.

appname Name to assign to the application on the Citrix ADC. If you do not provide a name, the appliance assigns the application the name of the template file.

deploymentFilename Name of the deployment file.

Example

import app application sampleapp -apptemplatefilename sampleapp.xml -deploymentfilename deploy.xml

application