Create an application configuration for the Autoscale group

NetScaler Console Autoscale group is a group of NetScaler 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 NetScaler 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 NetScaler 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 NetScaler CLI commands

Before you begin, obtain the cluster IP address from the NetScaler Console 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 NetScaler 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 NetScaler 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 NetScaler 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 NetScaler configurations for your application using CLI commands.

Create an application configuration for the Autoscale group