When you need to define storage requirements and a type of storage service for a virtual machine and its virtual disks, you create a storage policy. In this policy, you reference storage capabilities that the Virtual SAN datastore reports.

Before you begin

Procedure

  1. From the vSphere Web Client Home, click Rules and Profiles > VM Storage Policies.
  2. Click the Create a New VM Storage Policy icon.
  3. Select the vCenter Server instance.
  4. Type a name and a description for the storage policy.
  5. On the Rule-Set 1 window, define the first rule set.
    1. Select vSAN from the Rules Based on Vendor Specific Capabilities drop-box.

      The page expands to show capabilities reported by the Virtual SAN datastore.

    2. Add a capability and specify its value.

      Make sure that the values you provide are within the range of values advertised by the capability profile of the Virtual SAN datastore.

    3. (Optional) : Add tag-based capabilities. See Add or Edit Tag-Based Rules.
  6. (Optional) : Add another rule set.
  7. Review the list of datastores that match this policy and click Finish.

    To be eligible, a datastore does not need to satisfy all rule sets within the policy. The datastore must satisfy at least one rule set and all rules within this set. Make sure that the Virtual SAN datastore meets the requirements set in the storage policy and appears on the list of compatible datastores.

Results

The new policy is added to the list.

What to do next

Apply this policy to a virtual machine and its virtual disks. Virtual SAN will place the virtual machine objects in accordance with the requirements specified in the policy. For information about using and editing storage policies, see About Virtual Machine Storage Policies.