Excerpt | ||
---|---|---|
| ||
Use alerts with notifications from alarms across the platform and action plans for automation of VMs including vertical and horizontal auto-scaling |
...
To help you detect and address changing demand for resources, the platform's control features include monitoring alerts with notifications, action plans for automation, and autoscaling.
Basic control and scaling concepts
Concept | Description |
---|---|
Metric | A built-in metric that is provided by a hypervisor or provider (e.g. CPU usage) or a custom metric that the user creates and populates using API calls |
Alarm | An alarm activates when a metric passes a certain threshold. If you imagine a dashboard for your metrics, alarms are like red lights that light up when conditions change, for example, when there is a problem. See Manage cloud alarms and Infrastructure Alarms |
Alert | An alert enables you to configure notifications or actions from alarms. Alerts are like a worker monitoring a group of alarms; when all the lights for the group are lit up, the alert is activated. Alerts can trigger action plans. See Control View |
Action plans | A sequence of actions to perform on entities on the platform, such as VMs or scaling groups. An action plan is run by a trigger. |
Trigger | A trigger is an alert or a schedule that will run the action plan, for example, during times of increased demand. |
Scaling group | For horizontal autoscaling, create a scaling group for a VM with rules to define how the platform should scale it out. You can then include scaling operations in an action plan. |
Vertical scaling | Vertical scaling means scaling up, adding more resources to an existing VM, for example, boosting your CPU and or RAM capacity. |
Horizontal scaling | Horizontal scaling means scaling out, deploying more VMs when you need more resources. |
...
- Go to Virtual datacenters
- Go to Virtual Appliances → Virtual machines. Create and configure your VMs. See Manage Virtual Machines
- Remember to enable metrics. See VM monitoring and metrics.
- You can also create custom metrics using the API. See Custom Metrics Resources.
- Remember to enable metrics. See VM monitoring and metrics.
- Go to Virtual appliance → Monitoring and check that the platform is retrieving metrics. You may have to wait a few minutes
Go to Alarms. Create alarms for built-in metrics, scaling group metrics, and custom metrics as required
To create alarms, go to an Alarms tab in either the Virtual datacenters view (see Manage cloud alarms) or the Infrastructure view (see Infrastructure Alarms).
Select an entity, a metric, and a metric statistic and enter a threshold, then save the alarm
Create alerts to notify users. See Manage Alerts.
Expand title Click here to show/hide the UI instructions Include Page GUI Create alert GUI Create alert - You can also use these alerts to trigger scaling, see Cloud bursting.
- You can also use these alerts to trigger scaling, see Cloud bursting.
...
- In your Virtual datacenters, create and configure networks
- To optionally use VPNs between VDCs (see Connect virtual networks with VPNaaS), use networks with different addresses, e.g. the default network and a custom network set as the default, see Manage Networks
- Create and configure your VMs. See Manage Virtual Machines
- Remember to enable metrics. See VM monitoring and metrics.
Define scaling groups for VMs. The base VM can be deployed or undeployed. See Manage Scaling Groups
- Deploy VMs
- Go to Virtual appliance → Monitoring and check that the platform is retrieving metrics. You may have to wait a few minutes
Create alarms for built-in metrics, scaling group metrics, or custom metrics. See Custom Metrics Resources. To work with auto-scaling, we recommend that you create alarms for both the high threshold, when you will require more resources, and the low threshold, when these resources can be retired
To create alarms, go to the Alarms tab in either the Virtual datacenters view (see Manage cloud alarms) or the Infrastructure view (see Infrastructure Alarms).
Select an entity, a metric, and a metric statistic and enter a threshold, then save the alarm
- Create alerts to notify users and to trigger scaling. See Manage Alerts.
- Create action plans for cloud bursting and other automation. See Manage Action Plans. For example, use scaling actions to add more VMs for your application or to retire VMs that are no longer needed. Save the action plan, and then add .
- Add an alert to trigger the action plan or create a schedule to run it.
...