vCenter Storage Monitoring Service API
| Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |
Managed Object - VasaProvider(sms.provider.VasaProvider)
- Extends
- SmsProvider
- See also
- AlarmFilter, AlarmResult, FailoverParam, FaultDomainId, GroupOperationResult, PromoteParam, QueryPointInTimeReplicaParam, QueryReplicationPeerResult, ReplicationGroupId, TestFailoverParam
- Since
- 2.0
Managed Object Description
VASA(vStorage APIs for Storage Awareness) provider definition.Properties
Name | Type | Description |
---|---|---|
None | ||
Properties inherited from SmsProvider | ||
None |
Methods
FailoverReplicationGroup_Task(failoverReplicationGroup)
Failover the specified device groups. This function will always be called at the replication target location.- Required Privileges
- StorageViews.ConfigureService
- Since
- 6.5
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
failoverParam | FailoverParam |
Settings for the failover.
Since 6.5 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a SmsTask |
Faults
Type | Description |
---|---|
InactiveProvider | Thrown if the provider is inactive for the specified entity. |
ProviderBusy | Thrown if the provider is busy and cannot process the request. |
ProviderOutOfResource | Thrown if it is not possible to perform the operation due to lack of resources. |
ProviderUnavailable | Thrown if the provider is temporarily unavailable. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
SmsReplicationFault | Thrown if an error is encountered while processing the request. |
TooMany | Thrown if the Provider is unable to handle the given set of replication groups in one call. The client needs to call this method based on the maxBatchSize specified in the TooMany fault. If the maxBatchSize is not specified, the client is expected to call the function for each group individually (i.e. maxBatchSize = 1). |
Events
Type | |
---|---|
None |
PrepareFailoverReplicationGroup_Task(prepareFailoverReplicationGroup)
Prepare to fail over the specified replication groups. This function is always called at the replication source location.- Required Privileges
- StorageViews.ConfigureService
- Since
- 6.5
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
groupId* | ReplicationGroupId[] |
List of replication group IDs.
Since 6.5 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a SmsTask |
Faults
Type | Description |
---|---|
InactiveProvider | Thrown if the provider is inactive for the specified entity. |
ProviderBusy | Thrown if the provider is busy and cannot process the request. |
ProviderOutOfResource | Thrown if it is not possible to perform the operation due to lack of resources. |
ProviderUnavailable | Thrown if the provider is temporarily unavailable. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
SmsReplicationFault | Thrown if an error is encountered while processing the request. |
TooMany | Thrown if the Provider is unable to handle the given set of replication groups in one call. The client needs to call this method based on the maxBatchSize specified in the TooMany fault. If the maxBatchSize is not specified, the client is expected to call the function for each group individually (i.e. maxBatchSize = 1). |
Events
Type | |
---|---|
None |
PromoteReplicationGroup_Task(promoteReplicationGroup)
Promotes the replication groups currently ReplicationState#INTEST to ReplicationState#FAILEDOVER. This function must be called at the replication target location.- Required Privileges
- StorageViews.ConfigureService
- Since
- 6.5
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
promoteParam | PromoteParam |
Specifies an array of replication group IDs whose
in-test devices (ReplicationState#INTEST) need to be
promoted to failover ReplicationState#FAILEDOVER state.
Since 6.5 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a SmsTask |
Faults
Type | Description |
---|---|
InactiveProvider | Thrown if the provider is inactive for the specified entity. |
ProviderBusy | Thrown if the provider is busy and cannot process the request. |
ProviderOutOfResource | Thrown if it is not possible to perform the operation due to lack of resources. |
ProviderUnavailable | Thrown if the provider is temporarily unavailable. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
SmsReplicationFault | Thrown if an error is encountered while processing the request. |
TooMany | Thrown if the Provider is unable to handle the given set of replication groups in one call. The client needs to call this method based on the maxBatchSize specified in the TooMany fault. If the maxBatchSize is not specified, the client is expected to call the function for each group individually (i.e. maxBatchSize = 1). |
Events
Type | |
---|---|
None |
QueryActiveAlarm(queryActiveAlarm)
Query for the currently active alarms known to this VASA provider. Provider is expected to return Red and Yellow types of alarms only. No Green alarms should be included in the result for this API.- Required Privileges
- StorageViews.View
- Since
- 6.5
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
alarmFilter* | AlarmFilter |
Filter criteria for the alarm state.
Since 6.5 |
Return Value
Type | Description |
---|---|
AlarmResult | AlarmResult containing all (or requested) active alarm objects owned by the VASA provider. |
Faults
Type | Description |
---|---|
InactiveProvider | Thrown if the provider is inactive for the specified entity. |
NotFound | Thrown if the specified entity does not exist. |
ProviderBusy | Thrown if the provider is busy and cannot process the request. |
ProviderUnavailable | Thrown if the provider is temporarily unavailable. |
QueryExecutionFault | Thrown if an error is encountered while processing the query request. |
RuntimeFault | Thrown 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
QueryPointInTimeReplica(queryPointInTimeReplica)
Query for the point-in-time replicas available at the target location.- Required Privileges
- StorageViews.View
- Since
- 6.5
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
groupId* | ReplicationGroupId[] |
List of replication group IDs.
Since 6.5 |
queryParam* | QueryPointInTimeReplicaParam |
Search criteria specification for all the groups.
Since 6.5 |
Return Value
Type | Description |
---|---|
GroupOperationResult[] | An array of GroupOperationResult elements. Each of these elements is either GroupErrorResult or QueryPointInTimeReplicaSuccessResult or QueryPointInTimeReplicaSummaryResult for CDP capable replicators. The fault in the result entry can be set to:
|
Faults
Type | Description |
---|---|
InactiveProvider | Thrown if the provider is inactive for the specified replication groups. |
ProviderBusy | Thrown if the provider is busy and cannot process the request. |
ProviderUnavailable | Thrown if the provider is temporarily unavailable. |
QueryExecutionFault | Thrown if an error is encountered while processing the query request. |
RuntimeFault | Thrown 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
QueryReplicationGroup(queryReplicationGroup)
Query for the replication group details.- Required Privileges
- StorageViews.View
- Since
- 6.5
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
groupId* | ReplicationGroupId[] |
List of replication group IDs.
Since 6.5 |
Return Value
Type | Description |
---|---|
GroupOperationResult[] | An array of GroupOperationResult elements. If the input array is null or empty, VASA Provider needs to return all available replication groups. Depending on the number of replication groups to be returned, VASA Provider can return either a list of GroupOperationResult or a list of QueryReplicationGroupSuccessResult. However, VASA Provider should not return a hybrid result. If the input array is not empty, VASA Provider needs to return an array of results, one for each entry in the input. Each entry in the returned array is either a QueryReplicationGroupSuccessResult (for success), or a GroupErrorResult (for failure). The length of the result arrays must be the same as the input. The fault in the result entry can be set to:
|
Faults
Type | Description |
---|---|
InactiveProvider | Thrown if the provider is inactive for the specified replication groups. |
ProviderBusy | Thrown if the provider is busy and cannot process the request. |
ProviderUnavailable | Thrown if the provider is temporarily unavailable. |
QueryExecutionFault | Thrown if an error is encountered while processing the query request. |
RuntimeFault | Thrown 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
QueryReplicationPeer(queryReplicationPeer)
Query for the replication peer fault domains.- Required Privileges
- StorageViews.View
- Since
- 6.5
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
faultDomainId* | FaultDomainId[] |
An optional list of source fault domain ID.
Since 6.5 |
Return Value
Type | Description |
---|---|
QueryReplicationPeerResult[] | An array of QueryReplicationPeerResult. If the input array is null or empty, VASA provider needs to return result for all available source FaultDomain(s). If the input array is not empty, VASA Provider needs to return one entry in result for each entry in the input. The length of the input and result arrays must be same in that case. The fault in the result entry can be set to:
|
Faults
Type | Description |
---|---|
InactiveProvider | Thrown if the provider is inactive for the specified fault domains. |
ProviderBusy | Thrown if the provider is busy and cannot process the request. |
ProviderUnavailable | Thrown if the provider is temporarily unavailable. |
QueryExecutionFault | Thrown if an error is encountered while processing the query request. |
RuntimeFault | Thrown 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
ReverseReplicateGroup_Task(reverseReplicateGroup)
Initiate replication in the reverse way, making the currently ReplicationState#FAILEDOVER devices as sources.- Required Privileges
- StorageViews.ConfigureService
- Since
- 6.5
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
groupId* | ReplicationGroupId[] |
Array of replication groups (currently in
ReplicationState#FAILEDOVER state) that need to be reversed.
Since 6.5 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a SmsTask |
Faults
Type | Description |
---|---|
InactiveProvider | Thrown if the provider is inactive for the specified entity. |
ProviderBusy | Thrown if the provider is busy and cannot process the request. |
ProviderOutOfResource | Thrown if it is not possible to perform the operation due to lack of resources. |
ProviderUnavailable | Thrown if the provider is temporarily unavailable. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
SmsReplicationFault | Thrown if an error is encountered while processing the request. |
TooMany | Thrown if the Provider is unable to handle the given set of replication groups in one call. The client needs to call this method based on the maxBatchSize specified in the TooMany fault. If the maxBatchSize is not specified, the client is expected to call the function for each group individually (i.e. maxBatchSize = 1). |
Events
Type | |
---|---|
None |
SyncReplicationGroup_Task(syncReplicationGroup)
Synchronize the data between source and replica for the specified replication group. This function will always be called at the replication target location.- Required Privileges
- StorageViews.ConfigureService
- Since
- 6.5
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
groupId* | ReplicationGroupId[] |
List of replication group IDs.
Since 6.5 |
pitName | xsd:string |
Localized name for the point-in-time snapshot created.
Since 6.5 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a SmsTask |
Faults
Type | Description |
---|---|
InactiveProvider | Thrown if the provider is inactive for the specified entity. |
ProviderBusy | Thrown if the provider is busy and cannot process the request. |
ProviderOutOfResource | Thrown if it is not possible to perform the operation due to lack of resources. |
ProviderUnavailable | Thrown if the provider is temporarily unavailable. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
SmsReplicationFault | Thrown if an error is encountered while processing the request. |
TooMany | Thrown if the Provider is unable to handle the given set of replication groups in one call. The client needs to call this method based on the maxBatchSize specified in the TooMany fault. If the maxBatchSize is not specified, the client is expected to call the function for each group individually (i.e. maxBatchSize = 1). |
Events
Type | |
---|---|
None |
TestFailoverReplicationGroupStart_Task(testFailoverReplicationGroupStart)
Start a test failover for the specified replication groups. This function will always be called at the replication target location.- Required Privileges
- StorageViews.ConfigureService
- Since
- 6.5
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
testFailoverParam | TestFailoverParam |
Settings for the failover.
Since 6.5 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a SmsTask |
Faults
Type | Description |
---|---|
InactiveProvider | Thrown if the provider is inactive for the specified entity. |
ProviderBusy | Thrown if the provider is busy and cannot process the request. |
ProviderOutOfResource | Thrown if it is not possible to perform the operation due to lack of resources. |
ProviderUnavailable | Thrown if the provider is temporarily unavailable. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
SmsReplicationFault | Thrown if an error is encountered while processing the request. |
TooMany | Thrown if the Provider is unable to handle the given set of replication groups in one call. The client needs to call this method based on the maxBatchSize specified in the TooMany fault. If the maxBatchSize is not specified, the client is expected to call the function for each group individually (i.e. maxBatchSize = 1). |
Events
Type | |
---|---|
None |
TestFailoverReplicationGroupStop_Task(testFailoverReplicationGroupStop)
Stop the ongoing test failover. This function will always be called at the replication target location.- Required Privileges
- StorageViews.ConfigureService
- Since
- 6.5
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
groupId* | ReplicationGroupId[] |
Array of replication groups that need to stop test.
Since 6.5 |
force | xsd:boolean |
- if true, VP should force-unbind all Virtual Volumes
and move the RG from INTEST to TARGET state. If false, VP will report all the
Virtual Volumes which need to be cleaned up before a failover operation
can be triggered. The default value will be false.
Since 6.5 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a SmsTask |
Faults
Type | Description |
---|---|
InactiveProvider | Thrown if the provider is inactive for the specified replication groups. |
NotSupportedByProvider | Thrown if the provider does not support force operation. |
ProviderBusy | Thrown if the provider is busy and cannot process the request. |
ProviderOutOfResource | Thrown if it is not possible to perform the operation due to lack of resources. |
ProviderUnavailable | Thrown if the provider is temporarily unavailable. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
SmsReplicationFault | Thrown if an error is encountered while processing the request. |
TooMany | Thrown if the Provider is unable to handle the given set of replication groups in one call. The client needs to call this method based on the maxBatchSize specified in the TooMany fault. If the maxBatchSize is not specified, the client is expected to call the function for each group individually (i.e. maxBatchSize = 1). |
Events
Type | |
---|---|
None |
VasaProviderReconnect_Task(reconnect)
Reconnect to the provider. This API will be used to reconnect to a provider that is in "disconnected" state. If reconnecting fails due to InvalidCertificate exception, that means the current provider certificate is expired or corrupted. Then user has to recover the provider following these steps: 1. Unregister the provider using UnregisterProvider_Task 2. Provision a new self signed certificate for the provider 3. Register the provider using RegisterProvider_Task If the provider is not in "disconnected" state, this operation will be a no-op. Note: This API works only for providers that support VASA 2.0 and onwards.- Required Privileges
- StorageViews.ConfigureService
- Since
- 5.0
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a SmsTask |
Faults
Type | Description |
---|---|
InvalidCertificate | Thrown if the provider certificate is invalid |
ProviderConnectionFailed | Thrown if an error is encountered while reconnecting to the provider. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
VasaProviderRefreshCertificate_Task(refreshCertificate)
Refresh a CA signed certificate for the provider. This API will be used when provider certificate is about to expire, but still within soft or hard limit window. If the provider is in "disconnected" state, this operation will be a no-op. Note: This API works only for providers that support VASA 2.0 and onwards.- Required Privileges
- StorageViews.ConfigureService
- Since
- 5.0
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a SmsTask |
Faults
Type | Description |
---|---|
CertificateRefreshFailed | Thrown if an error is encountered while refreshing CA signed certificate for the provider. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
VasaProviderRevokeCertificate_Task(revokeCertificate)
Revoke CA signed certificate of the provider. This API will unregister the provider automatically. Note: This API works only for providers that support VASA 2.0 and onwards.- Required Privileges
- StorageViews.ConfigureService
- Since
- 5.0
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a SmsTask |
Faults
Type | Description |
---|---|
CertificateRevocationFailed | Thrown if an error is encountered while revoking CA signed certificate of the provider. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
VasaProviderSync_Task(sync)
Issue a sync for the given Storage Array.
- Required Privileges
- StorageViews.View
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VasaProvider used to make the method call. |
arrayId* | xsd:string |
Since 2.0 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a SmsTask |
Faults
Type | Description |
---|---|
ProviderSyncFailed | Thrown if an error is encountered while executing sync operation for the provider. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Top of page | Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |