In Abiquo 2.6, virtual storage is not available in public datacenters
On the Abiquo platform, virtual machine users can work with a storage volume that is physically located on a remote storage array as if it were a local disk.
Virtual storage can be:
Before you can use external storage devices in a virtual datacenter, a Storage Device and a Storage Pool must be configured as explained in the Manage External Storage page under Infrastructure view. For Generic iSCSI storage you must add the pre-existing volumes to Abiquo in the Volume list in the Infrastructure View
In Abiquo you can configure a virtual machine running on a hypervisor with secondary hard disks on the hypervisor datastore. This configuration is performed directly on the virtual machine. See Configure Virtual Machines.
These volumes are not persistent. They are deleted from the hypervisor datastore when the virtual machine is undeployed. They are not included when you create an instance or a persistent virtual machine template. These disks are always attached to an IDE controller on the virtual machine.
Hard Disks in the API
You can create hard disks using the API.
Integrated storage volumes are managed in the Storage tab of a virtual datacenter.
The operations to manage integrated storage volumes are:
|Create a new External Volume|
|Remove an existing External Volume|
|Edit the selected External Volume|
To create a new volume of integrated storage, select the virtual datacenter, click thebutton and complete the form:
For information about creating generic iSCSI volumes, see Creating a Generic iSCSI Volume
Click the edit buttonto edit a volume.
For a volume of integrated managed storage
For a volume of generic iSCSI storage
Integrated storage volumes can be resized. Volumes can only be resized to increase their size. Abiquo does not allow you to make a volume smaller, so as to prevent data loss.
To resize a volume, first power off the virtual machine the volume is attached to, then change the size.
After resizing a volume, you need to resize the partitions and filesystems. For example, with the Linux ext3 filesystem, you can execute the following commands when logged into a shell on the virtual machine:
$ umount /dev/xxx (/dev/xxx is the partition of the resized volume, inside the VM)
$ parted /dev/xxx
# resize Y start end (Y is the partition number, and start/end of the partition varies in each case)
$ resize2fs /dev/sdx
Move Persistent Templates
You can move persistent virtual machine templates between virtual datacenters, in the same way as you can move persistent volumes.
Both managed storage and generic iSCSI volumes can be moved between virtual datacenters. To move a volume, drag it to the new virtual datacenter in the VIRTUAL DATACENTER list on the left of the virtual datacenters screen.
Target virtual datacenters and Unattached Volumes
Click Accept on the confirmation popup to complete the move.
To delete an integrated storage volume or remove a generic iSCSI volume from Abiquo (without deleting it in the disk cabinet), select the volume and click thebutton.
If you are working with volumes on VMware hypervisors, do not use the option "delete from disk" because the volume may be destroyed.
A persistent virtual machine is deployed from a persistent virtual machine template that is stored on a persistent volume. Changes to the system disk of a persistent virtual machine are not lost when the machine is undeployed. A persistent virtual machine template volume is created on a persistent volume. The persistent virtual machine template cannot be created or edited from the Storage tab, only from the Persistent Virtual Machine Templates tab or within the Virtual Appliance. A persistent virtual machine template is created from a virtual machine template as explained in the Manage Persistent Virtual Machine Templates page.