Skip to main content
ONTAP tools for VMware vSphere 9.13

Provision traditional datastores

Contributors Netapp-shabaana netapp-nsriram

Provisioning a datastore creates a logical container for your virtual machines and their virtual machine disks (VMDKs). You can provision a datastore, and then attach the datastore to a single host, to all of the hosts in a cluster, or to all of the hosts in a datacenter.

What you will need

  • To provision a datastore on an SVM that is directly connected to ONTAP tools, you must have added the SVM to ONTAP tools by using a user account that has the appropriate privileges, not the default vsadmin user account or vsadmin role.

    You can also provision a datastore by adding a cluster.

  • You must ensure that the subnet details of all the networks to which the ESXi host is connected is entered in the kaminoprefs.xml.

    See "Enabling datastore mounting across different subnets".

  • If you use NFS or iSCSI, and the subnet is different between your ESXi hosts and your storage system, then the NFS or iSCSI settings in the kaminoprefs preferences file must include ESXi host subnet masks.

    This preference file is also applicable to vVols datastore creation. See Enable datastore mounting across different subnets and Configure the ONTAP tools preferences files for more information.

  • If you have enabled VASA Provider and you want to specify storage capability profiles for your NFS datastores or VMFS datastores, then you must have created one or more storage capability profiles.

  • To create an NFSv4.1 datastore, you must have enabled NFSv4.1 at the SVM level.

The Provision Datastore option enables you to specify a storage capability profile for the datastore. Storage capability profiles help in specifying consistent service level objectives (SLOs) and simplify the provisioning process. You can specify a storage capability profile only if you have enabled VASA Provider. The ONTAP tools for VMware vSphere supports the following protocols:

  • NFSv3 and NFSv4.1

  • VMFS5 and VMFS6

  • From vSphere 8.0 release, NVMe/FC protocol is supported.

ONTAP tools can create a datastore on either an NFS volume or a LUN:

  • For an NFS datastore, ONTAP tools creates an NFS volume on the storage system, and then updates the export policies.

  • For a VMFS datastore, ONTAP tools creates a new volume (or uses an existing volume, if you selected that option), and then creates a LUN and an igroup.

Note
  • ONTAP tools supports provisioning of VMFS5 and VMFS6 datastores up to the maximum VMFS LUN and volume size of 64TB when used with ASA and approved AFF systems running ONTAP 9.8 and later.

    On other platforms the maximum LUN size supported is 16TB.

  • VMware does not support NFSv4.1 with datastore clusters.

  • For Kerberos authentication, you will need the following:

    • Windows machine with Active Directory (AD)

    • Domain Name Server (DNS)

    • Key Distribution Center (KDC)

    • ONTAP Storage System (Cluster) with Kerberos configured

    • ESXi host with Kerberos configured

If a storage capability profile is not specified during provisioning, you can later use the Storage Mapping page to map a datastore to a storage capability profile. You can apply storage QoS settings, throughput ceiling (Max IOPS) and throughput floor (Min IOPS) on data VMDK files of virtual machines provisioned on FlexGroup backed datastore. QoS settings can be applied either at datastore level or at individual virtual machine level by right clicking the datastore. The right click option is available only on those datastores or virtual machines that are backed by FlexGroup datastore. After the QoS is applied to a datastore, any pre-existing datastore or virtual machine QoS settings are overridden. QoS settings cannot be applied at a datastore level or at a virtual machine level for datastores that are provisioned on direct SVM's, because ONTAP does not support QoS at SVM management level.

Steps

  1. You can access the datastore provisioning wizard using one of the following:

    If you select from …​

    Perform the following…​

    vSphere Client home page

    1. Click Hosts and Clusters.

    2. In the navigation pane, select the datacenter on which you want to provision the datastore.

    3. To specify the hosts to mount the datastore, see the next step.

    ONTAP tools home page

    1. Click Overview.

    2. Click Getting Started tab.

    3. Click Provision button.

    4. Click Browse to select the destination to provision the datastore as per the next step.

  2. Specify the hosts on which you want to mount the datastore.

    To make the datastore available to…​

    Do this…​

    All of the hosts in a datacenter

    Right-click a datacenter, and then select NetApp ONTAP tools > Provision Datastore.

    All of the hosts in a cluster

    Right-click a host cluster, and then select NetApp ONTAP tools > Provision Datastore.

    A single host

    Right-click a host, and select NetApp ONTAP tools > Provision Datastore.

  3. Complete the fields in the New Datastore dialog box to create the datastore.

    Most of the fields in the dialog box are self-explanatory. The following table describes some of the fields for which you might require guidance.

    Section

    Description

    General

    The General section of the New Datastore provisioning dialog box provides options to enter the destination, name, size, type, and protocol for the new datastore.

    You can select either NFS, VMFS, or vVols type to configure a datastore. When you select vVols type, NVMe/FC protocol becomes available.

    Note NVMe/FC protocol is supported for ONTAP 9.91P3 and later releases.
    • NFS: You can provision NFS datastore using either NFS3 or NFS4.1 protocols.

      You can select the option Distribute datastore data across the ONTAP cluster to provision a FlexGroup volume on the storage system. Selecting this option automatically deselects the checkbox Use Storage Capability Profile for provisioning.

    • VMFS: You can provision VMFS datastore of file system type VMFS5 or VMFS6 using either iSCSI or FC/FCoE protocols.

      Note If VASA Provider is enabled, then you can choose to use the storage capability profiles.

    Kerberos authentication

    If you have selected NFS 4.1 in the General page, select the security level.

    Kerberos authentication is supported only for Flexvols.

    Storage system

    You can select one of the listed storage capability profiles if you have selected the option in the General section.

    • If you are provisioning a FlexGroup datastore, then the storage capability profile for this datastore is not supported. The system-recommended values for the storage system and storage virtual machine are populated for ease. But you can modify the values if required.

    • For Kerberos authentication, the storage systems enabled for Kerberos are listed.

    Storage attributes

    By default, ONTAP tools populates the recommended values for Aggregates and Volumes options. You can customize the values based on your requirements. Aggregate selection is not supported for FlexGroup datastores as ONTAP manages the aggregate selection.

    The Space reserve option available under Advanced menu is also populated to give optimum results.

    (Optional) You can specify the initiator group name in the Change initiator group name field.

    • A new initiator group will be created with this name if one does not already exist.

    • The protocol name will be appended to the specified initiator group name.

    • If an existing igroup is found with the selected initiators, the igroup will be renamed with the provided name and will be reused.

    • If you do not specify an igroup name, igroup will be created with the default name.

    Summary

    You can review the summary of the parameters you specified for the new datastore.

    The field “Volume Style” enables you to differentiate the type of datastore created. The “Volume Style” can be either “FlexVol” or “FlexGroup”.

    Note A FlexGroup that is part of a traditional datastore cannot shrink below the existing size but can grow by 120% maximum. Default snapshots are enabled on these FlexGroup volumes.
  4. In the Summary section, click Finish.

Related information