Abiquo Documentation Cookies Policy

Our Documentation website uses cookies to improve your experience. Please visit our Cookie Policy page for more information about cookies and how we use them.


Abiquo 2.6


Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

In Abiquo 2.6, virtual storage is not available in public datacenters

Virtual Storage Concepts

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:

  • Persistent volumes on external storage devices
  • Non-persistent hard disks on the hypervisor datastore

Prerequisites

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

Non-Persistent Secondary Hard Disks

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.

 

Managing Integrated Storage Volumes

Integrated storage volumes are managed in the Storage tab of a virtual datacenter.

The operations to manage integrated storage volumes are:

Button Action
Create a new External Volume
Remove an existing External Volume
Edit the selected External Volume

Creating a Volume of Managed Storage

API Documentation

For the Abiquo API documentation of this feature, see Abiquo API Resources and the page for this resource VolumeResource.

To create a new volume of integrated storage, select the virtual datacenter, click the button and complete the form:

Field

Description

Virtual Datacenter

The Virtual datacenter where the volume will be created

Name

The name of the volume

Description

A description of the volume

Total Size

Select the maximum size of the volume from the pulldown list.

Tier

The Tier (service level) of the volume

For information about creating generic iSCSI volumes, see Creating a Generic iSCSI Volume

Modifying an Existing Volume

Click the edit button  to edit a volume.

Integrated Managed Storage

For a volume of integrated managed storage

  • You can modify the 
    • name
    • description
    • size
      • you can only increase volume size
        • remember to enlarge the filesystem
  • You cannot modify the tier

Generic iSCSI Storage

For a volume of generic iSCSI storage

  • You can modify the
    • name
    • description

Resizing Integrated Storage Volumes

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.

Filesystem resize

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

Moving Volumes Between Virtual Datacenters

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

  • Volumes can only be moved between virtual datacenters that belong to the same physical datacenter and enterprise
  • You cannot move volumes that are attached to a virtual machine

Click Accept on the confirmation popup to complete the move.

Deleting a Volume

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 the button.

Volume deletion

  • You can only delete or remove volumes that are not attached to a virtual machine
  • You cannot delete persistent volumes if they are used in a virtual appliance

If you are working with volumes on VMware hypervisors, do not use the option "delete from disk" because the volume may be destroyed.

Persistent Virtual Machine Templates 

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.

 

What happens when I create a volume and attach it to a VM

 

  • No labels