You can 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 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.
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.
You cannot enable IOPS on a storage policy backed by a Storage DRS cluster.
-
If you want VMware Cloud Director to consider IOPS when placing disks on datastores, in vCenter Server, add IOPS capacities to to all datastores associated with the storage policy you want to modify.
- If you want VMware Cloud Director to consider IOPS when placing disks on datastores, in vCenter Server, 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.
vCenter Server 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 Server, create a VC-IOPS enabled storage policy with custom reservation, limit, and shares.
- In vCenter Server 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 Server
To change the IOPS setting, in vCenter Server, 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 Server, add IOPS capacities to all datastores associated with the storage policy you want to modify.
- 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.
- Enable IOPS limiting on a vSphere/IOPS storage policy in vCenter Server.
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.