Managed Object - IoFilterManager(vim.IoFilterManager)

Property of
ServiceContent
See also
ClusterComputeResource, ClusterIoFilterInfo, ComputeResource, HostSystem, IoFilterQueryIssueResult, VirtualDiskId
Since
vSphere API 6.0


Managed Object Description

Interface to manage IO Filters installed on the ESXi hosts and IO Filter configurations on virtual disks. IO Filters are customized filters provided by third parties to process I/Os to virtual disks. They can be used to provide data services such as flash caching and replication. This interface is only supported on vCenter server.

Properties

Name Type Description
None

Methods

Methods defined in this Managed Object
InstallIoFilter_Task, QueryDisksUsingFilter, QueryIoFilterInfo, QueryIoFilterIssues, ResolveInstallationErrorsOnCluster_Task, ResolveInstallationErrorsOnHost_Task, UninstallIoFilter_Task, UpgradeIoFilter_Task

InstallIoFilter_Task(installIoFilter)

Install an IO Filter on a compute resource. IO Filters can only be installed on a cluster.
Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the IoFilterManager used to make the method call.
vibUrl Pxsd:string

The URL that points to the IO Filter VIB package.

Since vSphere API 6.0
compRes PManagedObjectReference
to a ComputeResource

The compute resource to install the IO Filter on. "compRes" must be a cluster.

Since vSphere API 6.0
PRequired privilege - see tooltip for details

Return Value

Type Description
ManagedObjectReference
to a Task
This method returns a Task object with which to monitor the operation. The task is set to success if the filter is installed on all the hosts in the compute resource successfully. If the task fails, first check error to see the error. If the error indicates that installation has failed on the hosts, use QueryIoFilterIssues to get the detailed errors occurred during installation on each host.

The dynamic privilege check ensures that the user must have Host.Config.Patch privilege for all the hosts in the compute resource.


Faults

Type Description
AlreadyExistsThrown if another VIB with the same name and vendor has been installed.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None



QueryDisksUsingFilter(queryDisksUsingFilter)

Return the list of virtual disks that use an IO Filter installed on a compute resource.

Required Privileges
System.View

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the IoFilterManager used to make the method call.
filterId Pxsd:string

ID of the filter.

Since vSphere API 6.0
compRes PManagedObjectReference
to a ComputeResource

The compute resource that the filter has been installed on. "compRes" must be a cluster.

Since vSphere API 6.0
PRequired privilege - see tooltip for details

Return Value

Type Description
VirtualDiskId[]An array of VirtualDiskId objects that use the given IO Filter installed on the compute resource.


Faults

Type Description
NotFoundThrown if the filter specified by "filterId" is not installed on the cluster.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition



QueryIoFilterInfo(queryIoFilterInfo)

Return the information for the IO Filters that are installed on the cluster.
Required Privileges
System.View

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the IoFilterManager used to make the method call.
compRes PManagedObjectReference
to a ComputeResource

The compute resource. "compRes" must be a cluster.

Since vSphere API 6.0
P Required privilege: compRes

Return Value

Type Description
ClusterIoFilterInfo[]An array of ClusterIoFilterInfo objects that contain the information for the IO Filters that are installed on the compute resource.

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition



QueryIoFilterIssues(queryIssue)

Return the issues that occurred during the last installation/uninstallation/upgrade operation of an IO Filter on a compute resource.
Required Privileges
System.View

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the IoFilterManager used to make the method call.
filterId Pxsd:string

The filter.

Since vSphere API 6.0
compRes PManagedObjectReference
to a ComputeResource

The compute resource. "compRes" must be a cluster.

Since vSphere API 6.0
PRequired privilege - see tooltip for details

Return Value

Type Description
IoFilterQueryIssueResultA IoFilterQueryIssueResult object.


Faults

Type Description
NotFoundThrown if the filter specified by "filterId" is not installed on the cluster.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None

Show WSDL type definition



ResolveInstallationErrorsOnCluster_Task(resolveInstallationErrorsOnCluster)

Resolve the errors occurred during an installation/uninstallation/upgrade operation of an IO Filter on a cluster.

Depending on the nature of the installation failure, vCenter will take the appropriate actions to resolve it. For example, retry or resume installation.

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the IoFilterManager used to make the method call.
filterId Pxsd:string

ID of the filter.

Since vSphere API 6.0
cluster PManagedObjectReference
to a ClusterComputeResource

The cluster.

Since vSphere API 6.0
PRequired privilege - see tooltip for details

Return Value

Type Description
ManagedObjectReference
to a Task
This method returns a Task object with which to monitor the operation. The task is set to success if all the errors related to the filter are resolved on the cluster. If the task fails, first check error to see the error. If the error indicates that issues persist on the cluster, use QueryIoFilterIssues to get the detailed errors on the hosts in the cluster.

The dynamic privilege check will ensure that the appropriate privileges must be acquired for all the hosts in the cluster based on the remediation actions. For example, Host.Config.Maintenance privilege and Host.Config.Patch privileges must be required for upgrading a VIB.


Faults

Type Description
NotFoundThrown if the filter specified by "filterId" is not installed on the cluster.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None



ResolveInstallationErrorsOnHost_Task(resolveInstallationErrorsOnHost)

Resolve the errors occurred during an installation/uninstallation/upgrade operation of an IO Filter on a host.

Depending on the nature of the installation failure, vCenter will take the appropriate actions to resolve it. For example, retry or resume installation.

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the IoFilterManager used to make the method call.
filterId Pxsd:string

ID of the filter.

Since vSphere API 6.0
host PManagedObjectReference
to a HostSystem

The host.

Since vSphere API 6.0
PRequired privilege - see tooltip for details

Return Value

Type Description
ManagedObjectReference
to a Task
This method returns a Task object with which to monitor the operation. The task is set to success if all the errors related to the filter are resolved on the host. If the task fails, first check error to see the error. If the error indicates that issues persist on the host, use QueryIoFilterIssues to get the detailed errors on the host.

The dynamic privilege check will ensure that the appropriate privileges are acquired based on the remediation actions. For example, Host.Config.Maintenance and Host.Config.Patch privilege must required for upgrading a VIB.


Faults

Type Description
NotFoundThrown if the filter specified by "filterId" is not installed on the cluster.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None



UninstallIoFilter_Task(uninstallIoFilter)

Uninstall an IO Filter from a compute resource.

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the IoFilterManager used to make the method call.
filterId Pxsd:string

ID of the filter.

Since vSphere API 6.0
compRes PManagedObjectReference
to a ComputeResource

The compute resource to uninstall the IO Filter from. "compRes" must be a cluster.

Since vSphere API 6.0
PRequired privilege - see tooltip for details

Return Value

Type Description
ManagedObjectReference
to a Task
This method returns a Task object with which to monitor the operation. The task is set to success if the filter is uninstalled from all the hosts in the compute resource successfully. If the task fails, first check error to see the error. If the error indicates that uninstallation has failed on the hosts, use QueryIoFilterIssues to get the detailed errors occurred during uninstallation on each host.

The dynamic privilege check ensures that the user must have Host.Config.Maintenance and Host.Config.Patch privilege for all the hosts in the compute resource.


Faults

Type Description
FilterInUseThrown if the filter to be uninstalled is being used by a virtual disk.
InvalidStateThrown if "compRes" is a cluster and DRS is disabled on the cluster.
NotFoundThrown if the filter is not installed on the cluster.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None



UpgradeIoFilter_Task(upgradeIoFilter)

Upgrade an IO Filter on a compute resource.
Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the IoFilterManager used to make the method call.
filterId Pxsd:string

The filter to be upgraded.

Since vSphere API 6.0
compRes PManagedObjectReference
to a ComputeResource

The compute resource that the filter is installed on. "compRes" must be a cluster.

Since vSphere API 6.0
vibUrl Pxsd:string

The URL that points to the new IO Filter VIB package.

Since vSphere API 6.0
PRequired privilege - see tooltip for details

Return Value

Type Description
ManagedObjectReference
to a Task
This method returns a Task object with which to monitor the operation. The task is set to success if all the hosts in the compute resource are upgraded successfully. If the task fails, first check error to see the error. If the error indicates that upgrade has failed on the hosts, use QueryIoFilterIssues to get the detailed errors occurred during upgrade on each host.

The dynamic privilege check ensures that the user must have Host.Config.Maintenance and Host.Config.Patch privileges for all the hosts in the compute resource.


Faults

Type Description
InvalidStateThrown if "compRes" is a cluster and DRS is disabled on the cluster.
NotFoundThrown if the filter specified by "filterId" is not installed on the cluster.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Events

Type
None