To enable I/O filters for virtual machines, you must first create a virtual machine policy that lists data service capabilities provided by the I/O filters.

The I/O filter capabilities are displayed on the Common Rules page of the VM Storage Policies wizard.

Verify that the I/O filter storage provider is available and active. See View I/O Filter Storage Providers.

1

From the vSphere Web Client Home, click Policies 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, for example I/O Filters, and a description for the VM policy and click Next.

5

On the Common Rules page, specify the I/O filter services to activate for the virtual machine.

You can combine I/O filters from different categories, such as replication and caching, in one storage policy. Or create different polices for each category. You can use only one filter from the same category, for example caching, per storage policy.

The screenshot shows vSphere Web Client options available on the Common Rules page of the Create New VM Storage Policy wizard.

a

Select Use common rules in the storage policy.

b

From the Add rule drop-down menu, select an I/O filter category.

Option

Description

Replication

Replicates all write I/O operations between a virtual machine guest OS and virtual disks to an external target location, such as another host or cluster.

Caching

Configures a cache for virtual disk data. Uses a local flash storage device to cache the data and increase the IOPS and hardware utilization rates for the virtual disk.

c

From the Select Value drop-down menu, select the filter.

The page expands to display data service capabilities and default values that the filter supports.

d

Specify values for the rule and click Next.

6

On the Rule Set page, specify storage placement requirements and click Next.

Note

If you plan to migrate the virtual machine with I/O filters across different types of datastores, for example between VMFS and Virtual Volumes, make sure that the VM storage policy includes rule sets for every type of datastore you are planning to use. For example, if you migrate your virtual machine between the VMFS and Virtual Volumes datastores, create a mixed VM storage policy that includes s tag-based rule for the VMFS datastore and rules for the Virtual Volumes datastore.

7

On the Storage Compatibility page, review the list of available datastores and click Next.

To be compatible with the I/O filter policy, datastores must be connected to host with I/O filters and satisfy storage requirements of the policy.

8

Complete the creation of the storage policy and click Finish.

The new policy is added to the list.