Create an application configuration for the Autoscale group 编辑

September 29, 2022 Contributed by:  R R

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:

  1. Select the required StyleBook that you want to deploy configurations for the selected Autoscale group.

    Example ASG StyleBooks

    If you want to import StyleBooks, click Import New StyleBook. See, Import a StyleBook to configure an application for the Autoscale group

  2. Specify the values for all the parameters.

    The configuration parameters are predefined in the selected StyleBook.

  3. Check the Application Server Group Type CLOUD check box to specify the application servers available in the virtual machine scale set.

    1. In Application Server Fleet Name, specify the Autoscale setting name of your virtual machine scale set.

    2. Select the Application Server Protocol from the list.

    3. 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.

    4. 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.

    configure the application for an Autoscale group cloud

  4. If you have standalone application servers in the virtual network, check the Application Server Group Type STATIC check box:

    1. Select the Application Server Protocol from the list.

    2. In Server IPs and Ports, click + to add an application server IP address, port, and weight, then click Create.

    configure the application for an Autoscale group static

  5. 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:

  1. Go to Autoscale Groups > Configurations.

  2. Select the application that is added with the ADC CLI Commands mode.

    Tip

    Applications without a StyleBook name in the table.

    Autoscale applications with CLI mode

  3. Click Create Configuration Job.

  4. 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:

  1. Go to Autoscale Groups and select the required Autoscale group.

  2. Click View Clusters.

When you select ADC CLI commands while creating an application configuration, do the following steps:

  1. Go to Autoscale Groups > Configurations.
  2. Select the application that is added with the ADC CLI Commands mode.

    Tip

    Applications without a StyleBook name in the table.

    Autoscale applications with CLI mode

  3. Click View Configuration Details. Specify these details in CLI Commands.

  4. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:76 次

字数:7533

最后编辑:7 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文