To activate data services that I/O filters provide, associate the I/O filter policy with virtual disks. You can assign the policy when you create or edit a virtual machine.
About this task
You can assign the I/O filter policy during an initial deployment of a virtual machine. This topic describes how to assign the policy when you create a new virtual machine. For information about other deployment methods, see the vSphere Virtual Machine Administration documentation.
You cannot change or assign the I/O filter policy when migrating or cloning a virtual machine.
Verify that the I/O filter is installed on the ESXi host where the virtual machine runs.
- In the vSphere Web Client, start the virtual machine provisioning process and follow the appropriate steps.
- Assign the same storage policy to all virtual machine files and disks.
- On the Select storage page, select a storage policy from the VM Storage Policy drop-down menu.
- Select the datastore from the list of compatible datastores and click Next.
The datastore becomes the destination storage resource for the virtual machine configuration file and all virtual disks. The policy also activates I/O filter services for the virtual disks.
- Change the VM storage policy for the virtual disk.
Use this option to enable I/O filters just for your virtual disks.
- On the Customize hardware page, expand the New hard disk pane.
- From the VM storage policy drop-down menu, select the storage policy to assign to the virtual disk.
- (Optional) Change the storage location of the virtual disk.
Use this option to store the virtual disk on a datastore other than the datastore where the VM configuration file resides.
- Complete the virtual machine provisioning process.
After you create the virtual machine, the Summary tab displays the assigned storage policies and their compliance status.
What to do next
You can later change the virtual policy assignment. See Change Storage Policy Assignment for Virtual Machine Files and Disks.