Manage Scaling Groups
To 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. Scaling groups have aggregate alarms that are associated with the base VM. This means that you can push custom metrics for clone VMs but you cannot create alarms for cloned VMs that are part of a scaling group. The platform enables you to automatically scale out (add more VMs) or scale up (add more resources to existing VMs). Privilege: Manage scaling groups, Manage workflow for scaling groups To use autoscaling do these steps: Related pages: Before you begin: To create a scaling group: For more details see GUI Define 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. To 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. Before 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. To 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). To 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. To 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. Abiquo 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. To manage tags for a scaling group: To move a scaling group to another virtual appliance in the same virtual datacenter: To move a scaling group to a restricted virtual appliance, do these steps: When 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: API Documentation For the Abiquo API documentation of this feature, see Abiquo API Resources and the page for this resource ScalingGroupsResource.Introduction to autoscaling
Automatically scale VMs
The checkbox to automatically create a scaling action, will create the following automatically:
You can customize the elements the platform creates, or you can create your own configuration.Define a scaling group
Configure automatic scaling actions
Trigger autoscaling
How the platform scales VMs
Perform maintenance on a scaling group
OR if the scaling group is open, click the spanner maintenance symbol in the top right cornerDisplay scaling actions for a scaling group
Display metrics for a scaling group
OR Open a Scaling group and click the Monitoring symbol Add tags to a scaling group
For more details see GUI Edit template TagsMove a scaling group to another virtual appliance in the same virtual datacenter
Restrict a scaling group
Select a restricted virtual appliance, or
Create a new VApp and select the Restrict virtual appliance checkboxDelete a scaling group
Manage scaling groups with the API
Copyright © 2006-2022, Abiquo Holdings SL. All rights reserved