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:
-
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 NetScaler 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 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:
-
Go to Autoscale Groups and select the required Autoscale group.
-
Click View Clusters.
When you select NetScaler CLI commands while creating an application configuration, do the following steps:
- Go to Autoscale Groups > Configurations.
-
Select the application that is added with the NetScaler CLI Commands mode.
Tip
Applications without a StyleBook name in the table.
-
Click View Configuration Details. Specify these details in CLI Commands.
-
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.