Use SATA controllers for cloud-init ISO drives
The multi-cloud platform uses a configuration drive to present the cloud-init configuration to a guest VM. By default, the platform uses an IDE controller to attach the ISO drive.
To specify the use of SATA controllers with cloud-init:
Edit the abiquo.properties file on the Remote Services server
Set the following cloudinit.sata property
abiquo.esxi.cloudinit.sata=true
Restart the Tomcat server
Use SATA controllers for ISO drives by default
The default controller list for ESXi plugins is "SCSI, IDE, SATA
".
You cannot use SCSI for CD or DVD drives
So by default, the platform will use an IDE controller for attaching an ISO disk.
To use SATA controllers for ISO drives by default:
Edit the
abiquo.properties
file on the API serverSet the
pluginmetadata
disk controller properties for VMware and addSATA
beforeIDE
.abiquo.pluginmetadata.{HYPERVISOR_TYPE}.diskControllers=SATA,SCSI,IDE
For each hypervisor type to configure, replace
{HYPERVISOR_TYPE}
in the property key with an appropriate code as follows, and set the property value.vmx_04
for vCentervcenter_cluster
for vCenter clusters
Restart the Tomcat server
Disable SATA
To disable SATA, do these steps to remove SATA support:
Edit the
abiquo.properties
file on the API serverSet the
pluginmetadata
disk controller properties for VMware and remove SATAabiquo.pluginmetadata.{HYPERVISOR_TYPE}.diskControllers=IDE,SCSI
For each hypervisor type to configure, set the property value, replacing
{HYPERVISOR_TYPE}
in the property key with one of the following codes:vmx_04
for vCentervcenter_cluster
for vCenter clusters
Restart the Tomcat server
Limitations and notes about SATA support
SATA support on guest operating systems is as follows.
Abiquo always supports two SATA controllers with unit numbers from
0
to19
, even when the guest operating system may support more.Abiquo uses the controller selected by the API, based on the user selection or the platform defaults. It does not use the recommendation of SATA controller for the Guest OS selected for the template.
This feature also fixes some incorrect mappings of 32 bit operating systems for version 5.5:
rhel7Guest
,other3xLinuxGuest
,debian7Guest
,sles12Guest
.
Use cases for controller changes
Here are some notes about changing VM disk controllers:
You can move a drive from
IDE
toSATA
or fromSATA
toIDE
but you must power off the VM firstIf you have a VM deployed with an ISO disk on an
IDE
controller, you can now change the controller toSATA
. If the VM is not using any SATA disks, the platform will create the SATA controller.If you have a primary IDE disk at
0:0
plus an ISO disk at0:1
, then if you change the primary disk controller toSATA
, then the CD-ROM will move to IDE0:0