Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Configure VMware vCenter datastores

Configure VMware vCenter datastores

You can modify recently provisioned space and reserved space fields in VMware vCenter datastores to manually adjust space usage. You can also block VM provisioned space or reserve extra space for specified datastores.

Before you begin

Role required: cloud_admin, vmware_operator

Procedure

  1. Navigate to VMware Cloud > Datastores.

    Current information on each datastore is displayed in the table.

  2. To set availability for a datastore, double-click the Availability for provisioning field and select Include or Exclude.
    Table 1. Datastore configuration fields
    Field Description
    Name The name of the datastore.
    Capacity The total storage capacity of the datastore.
    Free space (GB) The free space available for VM provisioning on the datastore.
    Recently provisioned space (GB) The space requested by recent VM provisioning requests since the most recent discovery. Whenever a datastore is rediscovered and updated accordingly, the amount of recently provisioned space is reset to 0. If a VM was terminated, the provisioned space may be a negative number.
    Reserved space (GB) The amount of space reserved on the datastore for scheduled VM provision requests and extra disk space requests for modify VM requests. The Reserved space for the requested VM must be less than Free space - ('Recently provisioned space + Reserved space) - Minimum free space in order for that datastore to be used by the VM.
    Availability for provisioning Indicates whether the datastore is available (Include) or unavailable (Exclude) for provisioning. For newly discovered datastores, the default value is Include. Running Discovery does not change this field.

Configuring and managing datastores

Datastores represent storage locations for virtual machine files. The VM vCenter Datastores form shows the most recent datastore availability and capacity information for the datastores, and allows you to manage how storage space is handled when provisioning VMs.

Use the VM vCenter Datastores form to make the most efficient use of space, reducing the amount of wasted space.

How Datastore Space Is Allocated

By allocating reserved space when a VM is requested and accounting for recently provisioned space, the user can be assured that sufficient space will still be available for provisioning when the request is fulfilled. To accomplish this, space on the datastore is processed as follows:
  • When a VM is requested, the amount of reserved space is incremented to account for the requested disk size (template size plus additional disk size). If the reserve space request fails because of insufficient space after discovery, a task to fix the issue is created for the cloud operator. If the VM request is canceled, the reserved space is decremented to remove requested disk space.
  • For automated provisioning, the datastore with the least disk space, but sufficient for the VM request, is automatically selected.
  • When the VM is provisioned, the reserved space is decremented to remove provisioned disk size, and recently provisioned space is updated to provisioned disk size.
  • Whenever a datastore is rediscovered and updated accordingly, the amount of recently provisioned space is reset to 0. When a VM that was provisioned from a ServiceNow instance is terminated, the provisioned space is released and the free space is incremented. If the workflow is canceled before the VM is provisioned, the reserved space is updated to remove not provisioned disk size.
  • When a VM is modified, the requested amount of space is reserved, and the reserved space field is updated. When the Modify VM workflow finishes, the reserved space is updated to decrease the disk size added and the recently provisioned space is increased. When the VM is terminated (Terminate VM), the recently provisioned space in all affected datastores is released.

When a catalog task is created and a cloud operator chooses a datastore, only those datastores with the enough space to continue are shown in the choice list.

Set the minimum free disk space for VMware datastores

You can set the minimum free disk space on datastores to ensure that the vCenter functions correctly.

Before you begin

Role required: cloud_admin

Procedure

Navigate to Cloud Management > Administration > Properties.
Table 2. Minimum free disk space table
Property Description
Minimum free disk space on each VMware datastore (MB)

[glide.vmware.provisioning.datastore.reserved_space]

The amount of free disk space required on a datastore. The default value is 1024 MB.