Configure VM disks for VMware
This section describes configuration of VMware in Abiquo and VM templates related to VM disks.
Disk allocation types
Abiquo supports thin provisioning and thick provisioning as disk allocation types. By default, Abiquo uses thin provisioning, which is more efficient and lets you resize VM disks.
You can set the allocation type in the VM template, and in the VM, before you deploy the VM, if you have the privilege to Manage allocation type when attaching a disk
.
VM disk controllers
Abiquo supports IDE, SCSI, and SATA controllers. By default for ESXi, Abiquo will use SCSI and IDE drivers.
When you load a template using an OVA or OVF file, Abiquo can obtain the controller type, and for SCSI, the controller.
In the Abiquo UI, you can configure the controller type and SCSI controller for VM templates and for VMs, if you have the privilege to Manage virtual storage controller
.
To set the default and the allowed controllers, use Abiquo configuration properties for .pluginmetadata.diskControllers
. For an example, see below how to Make SATA the default controller.
To restrict the controllers that users can select or force the use of a single controller, configure the Abiquo UI. See https://wiki.abiquo.com/display/doc/Display+custom+list+of+controllers+when+adding+virtual+disk+to+VM
Make SATA the default controller
To make SATA the default controller:
On the Remote Services server, edit the
abiquo.properties
fileSet the
pluginmetadata
disk controller property for VMware to change to a priority order with SATA first, such as:abiquo.pluginmetadata.{hypervisor_type}.diskControllers=SATA,SCSI,IDE
Replace
hypervisor_type
in the property key with the code for your hypervisor type:vmx_04
for vCentervcenter_cluster
for vCenter clusters
Restart the Tomcat server
To move a VM from an IDE controller to a SATA controller, you must first power off the VM.
SCSI controllers for VM disks
Abiquo supports the following SCSI controllers. Users can work with multiple controllers and change the controller before or after deploying a VM. If a controller menu does not display, the user can enter a value from the ResourceSubType
column to select the controller.
diskController saved in template and created on VMware | ResourceSubType value |
---|---|
VirtualBusLogicController | contains |
ParaVirtualSCSIController | contains |
VirtualLsiLogicSASController | contains |
VirtualLsiLogicController | other (default value) |
To use SCSI controllers, when you create VM templates, check that they have SCSI controllers installed.
The priority for the selection of the controllers is:
User selection in VM (requires the privilege to
Manage virtual storage controller
)Administrator selection in VM template
The default configuration set by the administrator in the
abiquo.properties
file on Remote Services# Default VirtualSCSIController implementation when diskController is not # specified. Valid values [lsilogic, paravirtual, bus, sas] #abiquo.esxi.scsicontroller=lsilogic
LSI Logic Parallel SCSI controller
SATA controllers for VM disks
The full configuration of SATA controllers is described at: Configure SATA for VMware hypervisors.
That page describes:
How to make SATA ISOs the default for cloud-init
How to make SATA the default controller for ISO
How to disable SATA controllers
Limitations and notes about SATA support.
ISO disks
Abiquo supports ISO disks on SATA and IDE controllers.
The following pages describe this functionality:
When you capture a VM, Abiquo will detect a passthrough drive as an ISO without a disk size.
Resize VM hard disks on ESXi
To resize hard disks of VMs running on ESXi using Abiquo:
The disks must be:
SCSI disks on SCSI controller or SATA disks on SATA controllers
Thin provisioned
The VM must not have any VMware snapshots.
Also note that:
You cannot modify disk size and position at the same time.
You cannot resize the primary disk of a VM that is not allocated (not deployed)
Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved