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
Dynamic - See discussion above

Parameters

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

The URL that points to the IO Filter VIB package.
compResManagedObjectReference
to a ComputeResource

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



Return Value

Type Description
pbm.TaskThis 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 occured 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.
InvalidArgumentThrown if "compRes" is a standalone host.
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.
filterIdxsd:string

ID of the filter.
compResManagedObjectReference
to a ComputeResource

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

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.
compResManagedObjectReference
to a ComputeResource

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



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 occured 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.
filterIdxsd:string

The filter.
compResManagedObjectReference
to a ComputeResource

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



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 occured 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
Dynamic - See discussion above

Parameters

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

ID of the filter.
clusterManagedObjectReference
to a ClusterComputeResource

The cluster.



Return Value

Type Description
pbm.TaskThis 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 occured 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
Dynamic - See discussion above

Parameters

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

ID of the filter.
hostManagedObjectReference
to a HostSystem

The host.



Return Value

Type Description
pbm.TaskThis 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
Dynamic - See discussion above

Parameters

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

ID of the filter.
compResManagedObjectReference
to a ComputeResource

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



Return Value

Type Description
pbm.TaskThis 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 occured 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.
InvalidArgumentThrown if "compRes" is a standalone host.
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
Dynamic - See discussion above

Parameters

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

The filter to be upgraded.
compResManagedObjectReference
to a ComputeResource

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

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



Return Value

Type Description
pbm.TaskThis 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 occured 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
InvalidArgumentThrown if "compRes" is a standalone host; or if the VIB package pointed by "vibUrl" is not an upgrade of the IO Filter specified by "filterId".
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