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.
- From the vSphere Web Client Home, click .
- Click the Create a new VM storage policy icon.
- Select the vCenter Server instance.
- Type a name, for example I/O Filters, and a description for the VM policy and click Next.
- 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.
- Select Use common rules in the storage policy.
- From the Add rule drop-down menu, select an I/O filter category.
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.
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.
- 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.
- Specify values for the rule and click Next.
- On the Rule Set page, specify storage placement requirements and click Next.
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.
- 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.
- Complete the creation of the storage policy and click Finish.
The new policy is added to the list.