Create an application configuration for the Autoscale group 编辑
Create an application configuration for the Autoscale group
Citrix ADM Autoscale group is a group of ADC instances that load balance applications as a single entity. And, it triggers autoscaling based on the configured threshold parameter values. You can create an application configuration for the Autoscale group using StyleBooks or ADC CLI commands.
Before you create an application, ensure to complete the Autoscale configuration for the required public cloud.
Create a configuration using StyleBook
When you select StyleBooks to create an application configuration, do the following:
Select the required StyleBook that you want to deploy configurations for the selected Autoscale group.
If you want to import StyleBooks, click Import New StyleBook. See, Import a StyleBook to configure an application for the Autoscale group
Specify the values for all the parameters.
The configuration parameters are predefined in the selected StyleBook.
Check the Application Server Group Type CLOUD check box to specify the application servers available in the virtual machine scale set.
In Application Server Fleet Name, specify the Autoscale setting name of your virtual machine scale set.
Select the Application Server Protocol from the list.
In Member Port, specify the port value of the application server.
Note
Ensure AutoDisable Graceful shutdown is set to No and the AutoDisable Delay field is blank.
If you want to specify the advanced settings for your application servers, check the Advanced Application Server Settings check box. Then, specify the required values listed under Advanced Application Server Settings.
If you have standalone application servers in the virtual network, check the Application Server Group Type STATIC check box:
Select the Application Server Protocol from the list.
In Server IPs and Ports, click + to add an application server IP address, port, and weight, then click Create.
Click Create.
Deploy an application using configuration jobs
If you have selected the CLI mode while creating an application, you can deploy the application using configuration jobs.
Follow the steps to create a configuration job for an Autoscale application:
Go to Autoscale Groups > Configurations.
Select the application that is added with the ADC CLI Commands mode.
Tip
Applications without a StyleBook name in the table.
Click Create Configuration Job.
In Create Job, specify a name for the configuration job.
Sample commands appear based on the configuration details of the selected application. You can edit values or commands. Also, add or remove commands.
For more information, see Create a configuration job
.
Create a configuration using ADC CLI commands
Before you begin, obtain the cluster IP address from the ADM GUI and login to the cluster console. To obtain the cluster IP address, do the following:
Go to Autoscale Groups and select the required Autoscale group.
Click View Clusters.
When you select ADC CLI commands while creating an application configuration, do the following steps:
- Go to Autoscale Groups > Configurations.
Select the application that is added with the ADC CLI Commands mode.
Tip
Applications without a StyleBook name in the table.
Click View Configuration Details. Specify these details in CLI Commands.
Run ADC CLI commands to configure the application using the details obtained from the previous step.
If you want to configure a load-balancing server, run the following command:
>add lb vserver <application-name> <protocol> <virtual-server-IP-address> <port> -probeport <port> - probeprotocol <protocol> -ipset <IP-set-name><!--NeedCopy-->
Example:
>add lb vserver example-vserver HTTP 0.1.0.10 80 -probeport 60000 - probeprotocol HTTP -ipset example-ipset<!--NeedCopy-->
Similarly, you can create the remaining ADC configurations for your application using CLI commands.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论