Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel4

...

Excerpt
nameRestrict virtual appliances and VMs

To restrict a VM by moving it to a restricted VApp:

  1. Click the VM move button on the VM control panel

    Image Modified
  2. To move a VM to a restricted virtual appliance, the user can do one of the following depending on their privileges:

    • Select the option to Move the VM to a restricted VApp

    • Select a restricted VApp from the list

      Image Modified
    • Create a new restricted VApp.

...

Relocate a deployed VM to another host

...

Panel

Privileges: Relocate a VM into a compatible host

To relocate a VM:

  1. Go to Virtual datacenters → open a virtual appliance → go to Virtual machines → select a VM

  2. On the VM control panel on the lower right-hand side of the screen, click the Relocate VM button  

  3. The platform will display a dialog with a list of hypervisor hosts where you can relocate the VM

  4. Click the Show details link to display the host metrics and the Relocate button

  5. Select the host with the same manager where you wish to relocate the VM, go to the host section and click Relocate. The platform will display the VM status as Relocating

  6. After relocation, the new hypervisor location will display in the control panel, for example, with a new Remote access address. If you click the Relocate button again, you should see a different host list, including the original host.

Screenshot: Select the VM and click relocate

...

Screenshot: You can check the relocation by clicking the Relocate button again, which will show the original host as a new candidate

...

...

What happens when the user clicks deploy?

The VM scheduler deploys the VM.

...

Excerpt
nameManage workflow tasks

When workflow is enabled, the user's requests to deploy, reconfigure and undeploy VMs will be held with the status waiting to be reviewed. 

This can include actions on scaling groups, unless the administrator selects the option to disable workflow in the scaling group. 

To view the list of workflow tasks

  1. Go to Virtual datacenters → Workflow tasks.

To filter workflow tasks, enter text in the filter box at the top of the tasks list.

To continue a queued workflow task, click the Accept link beside the task.

To cancel a queued workflow task, click the Reject link beside the task

...

This section describes how to retrieve a virtual machine with the REST API.

  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 Modified
  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

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

    Image Modified
  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.

Code Block
curl -X GET https://mjsabiquo.bcn.abiquo.com/api/cloud/virtualdatacenters/2/virtualappliances/1/virtualmachines/47 \
     -H 'Accept:application/vnd.abiquo.virtualmachine+json;version=5.0' \
     -u admin:xabiquo -k --verbose

...