Setting up a custom Citrix ADC application
If an AppExpert application template is not available for the Web application that you want to manage through the Citrix ADC appliance, or if available AppExpert application templates do not suit your requirements, you can create an AppExpert application without a template.
To create an AppExpert application without a template, you must first create an application and application units. Then, you configure public endpoints, services, and service groups. Finally, you configure the policies that determine how application traffic is evaluated and processed.
After you create the application and application units and configure policies, you must verify the configuration and test it to make sure that it is working correctly, just as you would when you configure an application by using a prebuilt AppExpert application template. Then, you must monitor the application to make sure that the application and its entities are working correctly.
Creating an application
When you create an AppExpert application, the appliance creates a container to which you can add application units. The default application unit is not created until you create the first application unit.
To create an AppExpert application by using the GUI:
- Navigate toAppExpert>Applications.
- In the details pane, right-clickApplications, and then clickAdd.
- In theCreate Applicationdialog box, in Name, enter a name for the application, and then clickOK.
Creating application units
For each subset of traffic associated with your web application, you must create an application unit.
To create an application unit for the AppExpert application by using the GUI:
- Navigate toAppExpert>Applications.
- In the details pane, right-click the application for which you want to add an application unit, and then clickAdd.
- ClickCreate.
Configuring public endpoints for an AppExpert application
After you have created all the application units that you require, you must configure one or more public endpoints to enable clients to access the web application through the Citrix ADC appliance.
To configure public endpoints for an AppExpert application by using the GUI:
- Navigate toAppExpert>Applications.
- In the details pane, right-click the application for which you want to configure public endpoints, and then clickConfigure Public Endpoints.
- In the Choose Public Endpoints dialog box for the application, do one of the following:
If the endpoints you want are listed in the dialog box, click the corresponding check boxes.
If you want to specify all the public endpoints, clickActivate All.
If you want to dissociate endpoints from the AppExpert application, clear the corresponding check boxes.
If you want to create a new public endpoint, clickAdd. Then, in the Create public endpoint dialog box, configure endpoint settings, and then clickOK.
In theCreate public endpointdialog box, you can specify only the name, IP address, port, and protocol for the endpoint. You can specify additional endpoint settings after you create the public endpoint. To specify additional endpoint settings, after you create the endpoint, in the Choose Public Endpoints dialog box, click the endpoint, and then clickOpen. Then, in theConfigure Public Endpointdialog box, provide additional settings, and then clickOK.
For more information about the parameters in theCreate public endpointandConfigure Public Endpointdialog boxes, seeContent Switching.
If you want to modify a public endpoint, click the endpoint, and then clickOpen. Then, in theConfigure Public Endpointdialog box, modify settings for the endpoint, and then clickOK.
For more information about the parameters in the Configure Public Endpoint dialog box, seeContent Switching.
- ClickClose.
Configuring public endpoints for an application unit
For an application unit, you specify public endpoints in the same way as you would specify public endpoints for an application that is created from an AppExpert application template. For more information about specifying a subset of the endpoints for an application unit, seeConfiguring Endpoints for an Application Unit.
To configure endpoints for an application unit by using the GUI:
- Navigate toAppExpert>Applications.
- In the details pane, right-click the application unit for which you want to specify public endpoints, and then clickConfigure Public Endpoints.
- In theChoose Public Endpointsdialog box for the application unit, do one of the following:
- If you are specifying endpoints for the application unit for the first time, clear the check boxes that correspond to the endpoints that you do not want to be bound to the application unit.
- If you want to specify endpoints that are listed in the dialog box but not currently bound to the application unit, click the corresponding check boxes.
- ClickOK.
Configuring Services and Service Groups for an AppExpert Application
Services and service groups are available for application units only after you configure the services and service groups for the AppExpert application. Therefore, you must configure services and service groups for the AppExpert application before you configure the services for the application units. All the services and service groups that you configure for an AppExpert application must use the same protocol (either HTTP or HTTPS). The procedure for configuring services and service groups for an AppExpert application that is not created from a template is the same as that for an application created from a template.
To configure a service or service group for the AppExpert application by using the GUI:
- Navigate toAppExpert>Applications.
- In the details pane, right-click the application for which you want to configure services or service groups, and then clickConfigure Backend Services.
- In the Configure Backend Services dialog box, do one of the following:
- To configure services, click theServicestab.
- To configure service groups, click theServiceGroupstab.
- On theServiceorService Groupstab, do one of the following:
- If the services or service groups that you want are listed on the tab, click the corresponding check boxes.
- If you want to specify all the services or service groups, clickActivate All.
- If you want to create a new service or service group, clickAdd. Then, in theCreate Servicedialog box orCreate Service Groupdialog box, configure settings for the service or service group, respectively, and then clickCreate.
- If you want to modify a service, click the service, and then click Open. Then, in theConfigure Servicedialog box orCreate Service Groupdialog box, configure settings for the service or service group, respectively, and then clickOK.
For information about the settings in the Create Service, Configure Service, andCreate Service Groupdialog boxes, seeLoad Balancing.
Configuring services and service groups for an application unit
After you configure services and service groups, you must configure services and service groups for each application unit. However, this step is not necessary if each backend service hosts all the content associated with the web application. You configure services and service groups for an application unit if the content associated with the application unit is hosted on only a subset of the backend servers.
To configure services or service groups for an application unit by using the GUI:
- Navigate toAppExpert>Applications.
- In the details pane, right-click the application unit for which you want to configure a service or service group, and then clickConfigure Backend Services.
- In theConfigure Backend Servicesdialog box, do one of the following:
- To configure services, click theServicestab.
- To configure service groups, click theService Groupstab.
- In theServicesorService Groupstab, do one of the following:
- 明显的就是对应的复选框ces or service groups that you do not want configured for the application unit. Make sure that the check boxes that correspond to the services or service groups that you want configured for the application unit are selected. Then, in the Weight column, specify the weight that you want to assign to each configured service.
- To specify all services or service groups, clickActivate All.
- On theMethodandPersistenceandAdvancedtabs, specify the desired parameters.
- ClickOK.
Configuring policies
The procedures for configuring policies for an AppExpert application that is created without using a template are the same as those for an AppExpert application that was created from a template. For more information, seeConfiguring Policies for Application Units.
In this article
- Creating an application
- Creating application units
- Configuring public endpoints for an AppExpert application
- Configuring public endpoints for an application unit
- Configuring Services and Service Groups for an AppExpert Application
- Configuring services and service groups for an application unit
- Configuring policies