When you define storage policies for virtual machines, you specify storage requirements for virtual machine objects, such as home files and virtual disks.

Before you begin

If you plan to include system-defined storage capabilities in the storage policy, make sure to register an appropriate storage provider. See Using Storage Providers.

About this task

Each storage policy can reference storage capabilities advertised by a storage system, or user-defined datastore tags.

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 screen, define the first rule set.
    1. Select a storage provider from the Rules Based on Vendor Specific Capabilities drop-box.

      The page expands to show system-defined capabilities.

    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 a storage system.

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

    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.

  8. Confirm that the policy information is correct and click Finish.

Results

The new storage policy appears on the list of available policies.

What to do next

Apply the policy to a virtual machine home file and its virtual disks.