Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
hiddentrue

How to edit VM cost codes, lock and protect VMs, relocate a VM, troubleshoot VM launch, manage VMs with workflow feature, and perform power operations with the API on the hybrid cloud platform.

...

Insert excerpt
Relocate a deployed VM to another host
Relocate a deployed VM to another host
nameRelocate a deployed VM to another host
nopaneltrue

...

What happens when the user clicks deploy?

The VM scheduler deploys the VM.

...

If your user role is an administrator role with the privilege to "Manage Users", then you can also delete warnings for the users of the enterprises that you manage.

...

States of VApps and VMs

...

Manage workflow tasks

Insert excerptManage workflow tasksManage workflow tasksIt is important that administrators clearly understand the different states that virtual appliances and VMs can have in the Abiquo platform and the differences between them. In order to change the state of VMs, users will require the Perform virtual machine actions privilege.

Panel

Privileges: Perform virtual machine actions

Tip

API Feature

In the API the valid VM states are: NOT_ALLOCATED, ALLOCATED, CONFIGURED, ON, PAUSED, OFF, LOCKED and UNKNOWN. See VirtualMachineResource An additional state for protecting VMs by locking them against user actions is the MAINTENANCE state, which is represented by the action to Protect a VM. See also VM power actions using the API

Virtual machine states table

Include Page
Virtual machine states table
Virtual machine states table

Virtual appliance states table

Include Page
Virtual appliance states
Virtual appliance states

...

Manage workflow tasks

Insert excerpt
Manage workflow tasks
Manage workflow tasks
nameManage workflow tasks
nopaneltrue

...

  1. Before you begin, create a VM with the Abiquo UI and power it off. Open the browser console. This example uses Chrome, so we clicked F12.

  2. Select the Network view

  3. Click the red arrow record button and the clear button next to it

  4. In the platform on the VM control panel, click the Start button

    Image RemovedImage Added
  5. Scroll up to the first request, which should be a PUT request to the virtual machine state URL. Click on the request

    1. If you can't see the Method column, right click on a column heading and select Method from the list

  6. Select the link to the VM up to the end of the VM ID number (before "/state")

    Image RemovedImage Added
  7. Use a cURL request similar to the one the example below or a REST API tool such as Postman to perform a GET request to this link. For this basic testing, you can use the -k option to avoid security warnings.

...