Table of Contents |
---|
Panel | ||
---|---|---|
| ||
This page describes basic scaling group concepts and actions. |
Excerpt | ||
---|---|---|
Introduction to autoscalingTo configure an automatic response to changing demands for resources, you can scale out VMs or scale them in, which is also called horizontal autoscaling. To scale out, the platform clones the base VM and deploys the clones. To scale in, the platform will delete clone VMs and undeploy the base VM. Scaling operations are subject to all standard platform constraints, such as privileges and allocation limits. Screenshot: A scaling group with VMs deployed automatically.
Automatically scale VMsThe platform enables you to automatically scale out (add more VMs) or scale up (add more resources to existing VMs).
To use autoscaling do these steps:
|
...
Related pages: Define a scaling groupBefore you begin:
To create a scaling group:
|
...
|
...
When you save the scaling group, Abiquo will mark the VM icon with the scaling group symbol and display the scaling group name.
To open the scaling group and check its parameters, click the scaling group symbol at the top of the VM icon. Configure automatic scaling actionsTo configure automatic scaling actions:
|
...
|
...
The platform will automatically create the alarms, alerts, and action plan to automatically scale in or out according to your thresholds. Trigger autoscalingBefore you begin:
To enable autoscaling operations to run:
When scaling, the platform will search for a scaling rule that is valid for the specific time range, or for a default rule. It will create or delete/undeploy the number of VMs in the rule, then wait for the cooldown period before accepting another scaling request. How the platform scales VMsTo scale out, the platform does not deploy VMs that are undeployed in the scaling group. To clone the base VM, the platform will do the following:
To scale in, Abiquo currently selects the VMs to delete or undeploy using first in, first out (FIFO). The platform deletes and undeploys VMs without requesting user confirmation when there are disks that are not stored in the Apps library (ISO configuration drive or additional hard disk). Perform maintenance on a scaling groupTo make changes to your VMs in a scaling group (manually deploy, undeploy, delete, etc.) and edit the scaling group, put it into maintenance mode, which will disable autoscaling. When you leave maintenance mode, the platform will apply your modifications to the scaling group, e.g. adding new rules. Then the platform will adjust the number of VMs in the group to within the minimum and maximum size range. To put the scaling group in maintenance mode:
|
...
|
...
To leave maintenance mode
To automatically manage maintenance mode
To delete the base VM, you must delete the scaling group first. Display scaling actions for a scaling groupTo display scaling actions of a scaling group:
|
...
You can also display all the elements created for the automatic scaling action in the relevant sections of the UI, such as the Alarms tab, and the Control view. Display metrics for a scaling groupAbiquo can display custom metrics for your scaling groups and built-in metrics for the VMs in the scaling group. Scaling groups also have built-in metrics that are a composite of the VM metrics, and which have the same names as the VM metrics. The Abiquo UI does not display the built-in scaling group metrics but you can access them through the Abiquo API. To display metrics for a scaling group:
|
...
You can configure the display of metrics at this level.
Screenshot: Scaling group view with Monitoring symbol |
...
Screenshot: Scaling group metrics popup - Virtual machine metrics page |
...
Screenshot: Scaling group metrics popup - Scaling group metrics page |
...
Add tags to a scaling groupTo manage tags for a scaling group:
|
...
Move a scaling group to another virtual appliance in the same virtual datacenterTo move a scaling group to another virtual appliance in the same virtual datacenter:
|
...
Restrict a scaling groupTo move a scaling group to a restricted virtual appliance, do these steps:
Delete a scaling groupWhen you delete a scaling group, the platform will place all the VMs in the virtual appliance as regular VMs and the scaling group constraints will no longer exist. To delete a scaling group:
Manage scaling groups with the API
|