You can use the VMware Cloud Director Service Provider Admin Portal to enable the I/O operations per second (IOPS) setting for a storage policy so that tenants can set per-disk IOPS limits.
Managed read/write performance in physical storage devices and virtual disks is defined in units called IOPS, which measure the read/write operations per second. To limit I/O performance, a provider VDC storage policy that includes storage devices with enabled IOPS allocation must back an organization VDC storage policy. Afterwards, a tenant can configure disks that use it to request a specified level of I/O performance. A storage profile configured with IOPS support delivers its default IOPS value to all disks that use it. That includes disks that are not configured to request a specific IOPS value. A hard disk configured to request a specific IOPS value cannot use a storage policy whose maximum IOPS value is lower than the requested value, or a storage policy that is not configured with IOPS support.
Starting with VMware Cloud Director 10.4, to show or hide the IOPS reservations and limits in certain organizations or from certain roles, you can use the View Disk IOPS right visible under . The API name of the right is Organization vDC Disk: View IOPS.
VMware Cloud Director IOPS Storage Policy
With this option, there are default IOPS settings that you can edit. You can set limits on IOPS per disk or IOPS per storage policy. You can set IOPS limits per disk based on the disk size in GB so that you grant larger disks more IOPS. Tenants can set custom IOPS on a disk within these limits. You can use IOPS limiting with or without IOPS capacity considerations for placement.
-
If you want VMware Cloud Director to consider IOPS when placing disks on datastores, in vCenter, add IOPS capacities to all datastores associated with the storage policy you want to modify.
- In vCenter, navigate to
- Enter
iopsCapacity, value
as a key-value pair. - Click Add, and click Save.
- If you want VMware Cloud Director to consider IOPS when placing disks on datastores, in vCenter, create a storage policy that uses the datastores with added IOPS capacities.
- By using the VMware Cloud Director Service Provider Admin Portal or the VMware Cloud Director API, add the storage policy to one or more provider VDCs.
- By using the Service Provider Admin Portal or the VMware Cloud Director API, publish the storage policy to one or more organization VDCs. The organization VDCs to which you publish the storage policy inherit the policy's IOPS settings.
- If you want to edit the inherited storage policy IOPS settings, use the Service Provider Admin Portal or VMware Cloud Director API to update the organization VDC storage policy.
This policy type appears as a VCD/IOPS capability of the storage policy.
You cannot enable the IOPS limiting on a storage policy backed by a Storage DRS cluster. If you deactivate the VMware Cloud Director Impact Placement option from the storage policy settings, you can use a Storage DRS cluster with a VCD/IOPS policy. When the Impact Placement option is deactivated, vCenter and the Storage DRS determine the target datastore as per their IOPS settings. In other words, in this case, you can create or migrate VMs with pre-set IOPS values to Storage DRS clusters, however, Storage DRS validates the IOPS limiting.
vCenter IOPS Storage Policy
This option has one IOPS setting for all disks using this policy. You cannot edit this setting in VMware Cloud Director. Tenants cannot set custom IOPS on disks using these policies. This option does not provide IOPS scaling depending on the sizes of the disks or load balancing across datastores.
- In vCenter, create a VC-IOPS enabled storage policy with custom reservation, limit, and shares.
- In vCenter or the VMware Cloud Director Service Provider Admin Portal, assign the disk to the storage policy.
This policy type appears as a vSphere/IOPS capability of the storage policy. When the source or target VM has the vSphere/IOPS capability, you cannot create fast-provisioned VMs.
Setting IOPS on a Disk in vCenter
To change the IOPS setting, in vCenter, manually update the IOPS on the disk. You cannot edit these IOPS settings in VMware Cloud Director.
Enabling IOPS Limiting on an Existing Storage Policy
- Enable IOPS limiting on a VCD/IOPS storage policy:
- If you want VMware Cloud Director to consider IOPS capacities when placing disks on datastores, in vCenter, add IOPS capacities to all datastores associated with the storage policy you want to modify.
- In vCenter, navigate to
- Enter
iopsCapacity, value
as a key-value pair. - Click Add, and click Save.
- If you want VMware Cloud Director to consider IOPS capacities when placing disks on datastores, by using the VMware Cloud Director Service Provider Admin Portal or the VMware Cloud Director API, ensure that the corresponding provider VDC storage policy reports the IOPS capacity as non-zero.
- By using the VMware Cloud Director Service Provider Admin Portal or VMware Cloud Director API, update the organization VDC storage policy to enable the VCD/IOPS capability and to set the maximum IOPS value, default IOPS value, and so on.
- If you want VMware Cloud Director to consider IOPS capacities when placing disks on datastores, in vCenter, add IOPS capacities to all datastores associated with the storage policy you want to modify.
- Enable the IOPS limiting on a vSphere/IOPS storage policy in vCenter.
When you enable IOPS limiting for an organization VDC storage policy, tenants can use the VMware Cloud Director Tenant Portal to set per-disk IOPS limits.