Create an action plan to automate VM actions

Before you create an action plan, consider the elements that you wish to automate with the action plan. Create VMs or scaling groups, fetch metrics, and create alarms and alerts.

To create an action plan:

  1. Go to ControlAction plans, and click the + add button 
  2. Enter the action plan details
  3. Go to Actions to add actions: 

    1. Click the + add button
    2. Enter action details
      1. Type: Select a general action or select a VM or scaling group
      2. Decrease CPU/RAM: you cannot use this with hot-reconfigure and you must check that the OS is compatible
      3. Instance: Name for Instance (clone) template. The platform will append the date to the name supplied

      4. Webhook action - Expected HTTP status code: If this status code is returned, continue running the action plan. Default: 204 No Content
      5. Email action - To, CC: Enter email addresses as a comma separated list

    For more details, see UI reference: GUI Create action plan
  4. Put the actions in run order using the arrow buttons

To run the action plan automatically, go to the Triggers tab and create an alert or schedule trigger. 


When you create actions on VMs also consider the following constraints.

  • User constraintse.g. allocation limits
  • Platform constraints: e.g. to create an instance, the VM must be deployed and powered off 
  • Hypervisor constraints: e.g. when using hot reconfigure on ESXi, you cannot decrement CPU or RAM

For the API, note that you can request the JSON schema for each action plan entry type from the API.
See: https://wiki.abiquo.com/api/latest/ActionPlansResource.html#list-action-plan-entry-templates



Copyright © 2006-2022, Abiquo Holdings SL. All rights reserved