Table of Contents |
---|
Panel | ||
---|---|---|
| ||
This page describes basic scaling group concepts and actions. |
Introduction to autoscaling
...
Go to Virtual datacenters → Virtual appliances
On the VM icon, from the options menu, select Define scaling group
Enter the scaling parameters
For the Default cooldown, enter the period of time to wait from the start of one scaling operation before allowing another scaling operation
For the Minimum running virtual machines that Abiquo must maintain in the scaling group, the value must be greater than or equal to zero, where zero means that the base machine is not deployed
The option to Keep virtual machines in the same layer can maintain VM anti-affinity layers when autoscaling
Administrators with the privilege to Manage workflow for scaling groups can Disable workflow or enable it as required
Optionally, select Create in maintenance mode to delay the start of autoscaling, and the automatic deployment of VMs to meet the minimum size
Select the option to Create autoscaling action to create basic operations to scale in and scale out, with triggers based on metrics and alarm conditions.
Create scaling rules
For Scale out rules, enter the number of VMs to Add. This isthe number of times to clone the base VM and deploy each clone for each scaling step
For Scale in rules, enter the number of VMs to Remove. Abiquo will delete clone machines and undeploy the base machine
If there is no time range, then this is a default scaling rule. A time range must be unique and cannot overlap with other rules with the same scaling direction.
Click Save
...
When you define a scaling group, select Create autoscaling action and Save the scaling group
In the dialog, select a Metric to control an autoscaling action
To configure more options, including the thresholds for scaling in and scaling out, click Show more
To add this action, click Add
Add more actions as required
...
Go to Virtual datacenters → Virtual appliances → select VM
At the bottom of the VM icon, click the cog maintenance symbol at the bottom of the VM icon
OR if the scaling group is open, click the spanner maintenance symbol in the top right corner
To leave maintenance mode
...