CreateArrayManager
Creates
ArrayManager
object. Performs array discovery as part of
array manager creation and fails if array discovery fails.Synopsis
@task ArrayManager createArrayManager( String name, String uuid, AdapterConnectionSpec[] connectionSpec)
createArrayManager
returns a task instance to monitor the asynchronous operation of this method.
object is returned as task result. The
createArrayManager
has the following parameters:
Field | Description |
---|---|
name | The name of the Array Manager |
uuid | Universally unique identifier of the
SRA |
connectionSpec | SRA-specific connection parameters for the
underlying storage management system. For more information, see
GetAdapterConnectionSpec. |
When getting the
AdapterConnectionSpec
with
getAdapterConnectionSpec
, all the optional opaques will be
returned. However, some vendors do not allow not setting the optional opaques.
Ensure that they are excluded from the spec.If a task fails, its error field may contain one of the following:
- drextapi.fault.DuplicateName- if an array manager with the same name already exists.
- drextapi.fault.InvalidAdapterConnectionSpec- if connectionSpec does not match the internal StorageAdapter connection spec typically, a more specific fault is thrown.
- drextapi.fault.CommandFailed- if the command for creating an array manager fails.
- drextapi.fault.DuplicateArray- if there is another array manager that already discovered a given array.
Faults
- vim.fault.InvalidArgument
- StorageAdapterNotFound
- StringArgumentTooLong
- RuntimeFault
See Faults in Site Recovery Manager API for more
details.