Managed Object - SrmStorage

Property of
SrmServiceInstanceContent
See also
SrmAdapterConnectionSpec, SrmArrayManager, SrmDiscoverDevicesTask, SrmStorageAdapter
Since
SRM API 5.0


Managed Object Description

External Interface to Site Recovery Manager - Storage.

Properties

Name Type Description
None

Methods

Methods defined in this Managed Object
CreateArrayManager_Task, DiscoverDevices, QueryArrayManagers, QueryStorageAdapters, ReloadAdapters_Task, RemoveArrayManager_Task

CreateArrayManager_Task

Creates ArrayManager object. Performs array discovery as part of array manager creation and fails if array discovery fails.
Required Privileges
VcDr.Storage.com.vmware.vcDr.Configure
Since
SRM API 11.0

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SrmStorage used to make the method call.
name Pxsd:string

The name of the Array Manager

Since SRM API 11.0
uuid Pxsd:string

Universally unique identifier of the SRA

Since SRM API 11.0
connectionSpec PSrmAdapterConnectionSpec[]

SRA-specific connection parameters for the underlying storage management system

Since SRM API 11.0
PRequired privilege - see tooltip for details

Return Value

Type Description
ManagedObjectReference
to a SrmExtApiTask

Faults

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

Events

Type
None



DiscoverDevices

This method starts a loop through all array managers (for local and remote sites) and for each array pair call discoverDevices. Array managers for which user does not have privilege will be skipped.
Required Privileges
VcDr.Storage.com.vmware.vcDr.Configure

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SrmStorage used to make the method call.

Return Value

Type Description
ManagedObjectReference
to a SrmDiscoverDevicesTask

Faults

Type Description
vmodl.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



QueryArrayManagers

Returns all available ArrayManagers.
Required Privileges
System.View
Since
SRM API 8.0

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SrmStorage used to make the method call.

Return Value

Type Description
ManagedObjectReference[]
to a SrmArrayManager[]

Faults

Type Description
vmodl.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



QueryStorageAdapters

List of Storage Replication Adapters (SRAs) infos, successfully loaded into SRM.
Required Privileges
System.View
Since
SRM API 11.0

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SrmStorage used to make the method call.

Return Value

Type Description
ManagedObjectReference[]
to a SrmStorageAdapter[]

Faults

Type Description
vmodl.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



ReloadAdapters_Task

Scans SRA installation directory and re-loads SRAs.
Required Privileges
VcDr.Storage.com.vmware.vcDr.Configure
Since
SRM API 11.0

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SrmStorage used to make the method call.

Return Value

Type Description
ManagedObjectReference
to a SrmExtApiTask

Faults

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

Events

Type
None



RemoveArrayManager_Task

Deletes ArrayManager object. Array managers deletion is deferred until all the tasks currently in progress are complete.
Required Privileges
VcDr.Storage.com.vmware.vcDr.Configure
Since
SRM API 11.0

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the SrmStorage used to make the method call.
arrayManager PManagedObjectReference
to a SrmArrayManager

ArrayManager object to delete.

Since SRM API 11.0
P Required privilege: arrayManager

Return Value

Type Description
ManagedObjectReference
to a SrmExtApiTask

Faults

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

Events

Type
None