When your datastore is not represented by a storage provider and does not display its capabilities and data services in the VM Storage Polices interface, use tags to encode information about the datastore. You can reference these tags when defining a storage policy for a virtual machine.

You can apply a new tag that contains storage information to a datastore. For information about tags, their categories, and how to manage tags, see the vCenter Server and Host Management documentation.

1

Browse to a datastore in the vSphere Web Client navigator.

2

Click the Manage tab and click Tags.

3

Click the New Tag icon.

4

In the vCenter Server drop-down menu, select the vCenter Server instance on which to create the tag.

5

Type a name and a description for the tag.

For example, you can specify a broad storage-level definition, such as Gold Storage, or indicate a property that is not communicated through a storage provider, such as geographical location or administrative group.

Tag Property

Example

Name

Fault Tolerance

Description

Storage that has a capacity over 2 TB and is fault-tolerant

6

In the Category drop-down menu, select an existing category or create a category.

7

(Optional) Create a category:

a

Select New Category.

b

Specify the category options.

Category Property

Example

Category Name

Storage Category

Description

Category for tags related to storage

Cardinality

Many tags per object

Associable Object Types

Datastore and Datastore Cluster

8

Click OK.

The new tag is assigned to the datastore and appears on the datastore's Summary tab in the Tags pane.

You can reference the tag when adding tag-based rules to the storage policy. See Add or Edit Tag-Based Rules. The datastore appears in a list of compatible storage resources for virtual machines that use the policy.