Versions Compared

Key

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

...

To capture a remote VM first of all you need a physical machine from which you will capture the VM, so create the datacenter and rack, then add the physical machine.

Select Retrieve virtual machines. (Persistent VMs will not be retrieved because their system disks are located on external volumes. VMs that are already registered in Abiquo will not be retrieved).

Screenshot: A VM that has been retrieved (or imported) is marked with the (warning) symbol. 

Image Modified

Then you need to create the networks where the captured VM will be located. For example, you may need to create a public or external network in the datacenter with the same specification as the network that the NICs on the VM are attached to (same VLAN tag, network address, available IPs). And you should create the required IPs in Abiquo. 

Image Modified

The last thing you need to do before capturing remote VMs is to create a virtual datacenter in this datacenter for your VM. If you created a public network, you need to purchase public IPs for your virtual datacenter from the Network / Public tab.  You can create a virtual appliance now or wait to do it as part of the capture process.

Image Modified

Now you will capture a remote VM. First import machines from the physical machine. Go to the datacenter, select the physical machine and click on the "retrieve virtual machines" button.

Then the platform will display the VMs running on the hypervisor that are not managed by Abiquo. 

Image Modified

 

Capture the remote virtual machine

...

Select the VM you want to capture and click the "capture virtual machine" button.

Image Modified
The GUI will then ask you for the virtual appliance to store the VM. Now select your virtual appliance in the virtual datacenter with the network addresses purchased. If you didn't create a virtual appliance earlier, you can do so now by clicking the + button.

Image Modified

Check the General Information, on the Network tab, select the appropriate NICs and IP address, and check Disks. 

Image Modified

Image Modified

Image Modified


Accept the capture and the remote VM will be added to the virtual appliance and managed by Abiquo. This example showed the capture of a VM with two NICs and two hard disks and you can open the VM configuration to check themYou can check the VM configuration on the details panel or when you edit the VM.

Using the API

You can capture a VM using the API and once you get started, it's not such a daunting task as it might first seem!  A good working knowledge of the Abiquo API is required, but as always, if you get stuck, you can always open your browser console and take a look at how the Abiquo UI does it! 

...