You can run the installer provided by your vendor to install, uninstall, or upgrade I/O filters in your vSphere environment.
When you work with I/O filters, the following considerations apply:
- vCenter Server uses ESX Agent Manager (EAM) to install and uninstall I/O filters. As an administrator, never invoke EAM APIs directly for EAM agencies that are created or used by vCenter Server. All operations related to I/O filters must go through VIM APIs. If you accidentally modify an EAM agency that was created by vCenter Server, you must revert the changes. If you accidentally destroy an EAM agency that is used by I/O filters, you must call Vim.IoFilterManager#uninstallIoFilter to uninstall the affected I/O filters. After uninstalling, perform a fresh reinstall.
- When a new host joins the cluster that has I/O filters, the filters installed on the cluster are deployed on the host. vCenter Server registers the I/O filter storage provider for the host. Any cluster changes become visible in the VM Storage Policies interface of the vSphere Client.
- When you move a host out of a cluster or remove it from vCenter Server, the I/O filters are uninstalled from the host. vCenter Server unregisters the I/O filter storage provider.
- If you use a stateless ESXi host, it might lose its I/O filter VIBs during a reboot. vCenter Server checks the bundles installed on the host after it reboots, and pushes the I/O filter VIBs to the host if necessary.
Configure I/O Filters in the vSphere Environment
To set up data services that the I/O filters provide for your virtual machines, follow several steps.
Prerequisites
- Create a cluster that includes at least one ESXi host.
- For information about I/O filters provided by third parties, contact your vendor or your VMware representative.
Install I/O Filters in a Cluster
If you use I/O filters provided by third parties, install the I/O filters in an ESXi host cluster.
VMware partners create I/O filters through the vSphere APIs for I/O Filtering (VAIO) developer program.
The filter packages are distributed as solution bundle ZIP packages that can include I/O filter daemons, I/O filter libraries, CIM providers, and other associated components.
Typically, to deploy the filters, you run installers provided by vendors. Installation is performed at an ESXi cluster level. You cannot install the filters on selected hosts directly.
Prerequisites
- Required privileges: Host.Configuration.Query patch.
- Verify that the I/O filter solution is certified by VMware.
Procedure
- ♦ Run the installer that the vendor provided.
The installer deploys the appropriate I/O filter extension on vCenter Server and the filter components on all hosts within a cluster.
A storage provider, also called a VASA provider, is automatically registered for every ESXi host in the cluster. Successful auto-registration of the I/O filter storage providers triggers an event at the host level. If the storage providers fail to auto-register, the system raises alarms on the hosts.
View I/O Filters and Storage Providers
Use the vSphere Client to review I/O filters available in your environment and verify that the I/O filter providers appear as expected and are active.
When you install a third-party I/O filter, a storage provider, also called VASA provider, is automatically registered for every ESXi host in the cluster. Successful auto-registration of the I/O filter storage providers triggers an event at the host level. If the storage providers fail to auto-register, the system raises alarms on the hosts.
Procedure
Handling I/O Filter Installation Failures
Typically, all ESXi hosts in a cluster have the same set of I/O filters installed. Occasionally, failures might happen during installation.
- The VIB URL is not accessible from the host.
- The VIB has an invalid format.
- The VIB requires the host to be in maintenance mode for an upgrade or uninstallation.
- The VIB requires the host to reboot after the installation or uninstallation.
- Attempts to put the host in maintenance mode fail because the virtual machine cannot be evacuated from the host.
- The VIB requires manual installation or uninstallation.
vCenter Server can resolve some failures. You might have to intervene for other failures. For example, you might need to edit the VIB URL, manually evacuate or power off virtual machines, or manually install or uninstall VIBs.
Install I/O Filters on a Single ESXi Host
For troubleshooting purposes, you can download an ESXi component of the I/O filter, packaged as a VIB file, and install it on the ESXi host. Use the esxcli command to install the VIB file.
Prerequisites
Install ESXCLI. See Getting Started with ESXCLI. For troubleshooting, run esxcli commands in the ESXi Shell.
Procedure
Uninstall I/O Filters from a Cluster
You can uninstall I/O filters deployed in an ESXi host cluster.
Prerequisites
- Required privileges: Host.Config.Patch.
Procedure
Upgrade I/O Filters in a Cluster
After you upgrade your ESXi hosts, use installers provided by I/O filter vendors to upgrade I/O filters deployed in the ESXi host cluster.
An upgrade consists of uninstalling the old filter components and replacing them with the new filter components. To determine whether an installation is an upgrade, vCenter Server checks the names and versions of existing filters. If the existing filter names match the names of the new filters but have different versions, the installation is considered an upgrade.
Prerequisites
- Required privileges:Host.Config.Patch.
- Upgrade your hosts to ESXi 8.0. If you use vSphere Lifecycle Manager for the upgrade, see the Managing Host and Cluster Lifecycle documentation.