Managed Object - StorageResourceManager

Property of
ServiceContent
See also
Datastore, HostSystem, StorageIORMConfigOption, StorageIORMConfigSpec
Since
vSphere API 4.1


Managed Object Description

This managed object type provides a way to configure resource usage for storage resources.

Properties

Name Type Description
None

Methods

Methods defined in this Managed Object
ConfigureDatastoreIORM_Task, QueryIORMConfigOption

ConfigureDatastoreIORM_Task

Changes configuration of storage I/O resource management for a given datastore. The changes are applied to all the backing storage devices for the datastore. Currently we only support storage I/O resource management on VMFS volumes. In order to enable storage I/O resource management on a datstore, we require that all the hosts that are attached to the datastore support this feature.

This method is only supported by vCenter server.

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the StorageResourceManager used to make the method call.
datastore PManagedObjectReference
to a Datastore

The datastore to be configured.
specStorageIORMConfigSpec

The configuration spec.


P Required privilege: Datastore.Config

Return Value

Type Description
ManagedObjectReference
to a SmsTask
This method returns a Task object with which to monitor the operation.


Faults

Type Description
InaccessibleDatastoreThrown if cannot access the datastore from any of the hosts.
InvalidArgumentThrown if 1. IORMConfigSpec.congestionThreshold is not within the desired range (5 to 100 milliseconds). 2. IORMConfigSpec.congestionThresholdMode is not specified and IORMConfigSpec.congestionThreshold is specified. To set congestionThreshold, congestionThresholdMode should be set to manual
IORMNotSupportedHostOnDatastoreThrown if called on a datastore that is connected to a host that does not support storage I/O resource management.
NotSupportedThrown if called directly on a host or if called on a datastore that does not have VMFS Volume.
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



QueryIORMConfigOption

Query configuration options for storage I/O resource management.

Required Privileges
Datastore.Config

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the StorageResourceManager used to make the method call.
hostManagedObjectReference
to a HostSystem

[in] - The host VC will forward the query to. This parameter is ignored by host if this method is called on a host directly.

Return Value

Type Description
StorageIORMConfigOptionconfiguration option object.

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