Share via


GetSupportedOperations method of the MSISCSITARGET_ReplicationServiceCapabilities class

Retrieves a list of supported operations that can be performed by using the ModifyReplicaSynchronization method on a specified replication type and association type.

This method is inherited from the CIM_ReplicationServiceCapabilities class.

Syntax

uint32 GetSupportedOperations(
  [in]  uint16 ReplicationType,
  [out] uint16 SupportedOperations[]
);

Parameters

ReplicationType [in]

Specifies the replication type.

The MSISCSITARGET_ReplicationServiceCapabilities.SupportedReplicationTypes property values are.

Synchronous Mirror Local (2)

Asynchronous Mirror Local (3)

Synchronous Mirror Remote (4)

Asynchronous Mirror Remote (5)

Synchronous Snapshot Local (6)

Asynchronous Snapshot Local (7)

Synchronous Snapshot Remote (8)

Asynchronous Snapshot Remote (9)

Synchronous Clone Local (10)

Asynchronous Clone Local (11)

Synchronous Clone Remote (12)

Asynchronous Clone Remote (13)

DMTF Reserved

14 0x7FFF

Vendor Specific

0x8000 = *value*

SupportedOperations [out]

On return, contains the list of supported operations.

Abort (2)

Aborts the copy operation if possible.

Activate Consistency (3)

Activates consistency if it is not already enabled. If consistency is already enabled, this operation has no effect.

Activate (4)

Activates an inactive or prepared synchronized association.

AddSyncPair (5)

Adds pairs of elements already in a relationship to source and target groups, as specified in the SyncPair parameter.

Deactivate Consistency (6)

Deactivates consistency if enabled. If consistency was not enabled, this operation has no effect.

Deactivate (7)

Stops the data flow. Write operations to the source element are not copied to the target element. For Snapshot replications, write operations to the target element are lost because the pointers to changed data are deleted.

Detach (8)

Deletes the synchronization between two storage objects. Treats the objects as independent thereafter.

Dissolve (9)

Dissolves the synchronization between two storage objects; however, the target element continues to exist.

Failover (10)

Uses the target element as the source element.

Failback (11)

Reverses the effect of Failover.

Fracture (12)

Suspends the synchronization between two storage objects. The implementation records the association to enable a faster re-synchronization.

This operation can be used during a backup cycle to enable one of the objects to be copied while the other object remains in production.

RemoveSyncPair (13)

Removes the pair that is specified in the SyncPair property from the source and target groups. The pair continues to remain associated but does not remain in the groups.

Resync Replica (14)

Re-establishes the synchronization. This operation negates the action of a previous Fracture or Split operation. Re-creates a point-in-time (PIT) image for a Snapshot or a Clone replication. Restarts a Broken or Aborted synchronization relationship.

Restore from Replica (15)

Renews the contents of the original storage object from a replica.

Resume (16)

Continues the copy operation of a suspended association.

Reset To Sync (17)

Changes the Mode of the copy operation to Synchronous from the Asynchronous mode.

Reset To Async (18)

Changes the Mode of the copy operation to Asynchronous from the Synchronous mode.

Return To ResourcePool (19)

Dissolves a snapshot and returns the space that it used back to the storage pool.

Reverse Roles (20)

Reverses the roles so that the source element becomes the target element and vise versa.

Split (21)

Same as Fracture; however, steps are taken to ensure the target elements are consistent. For example, stops changes to the source elements, waits for copy operations between source and target elements to stop, then splits the source and target groups or elements.

Suspend (22)

Stops the background copy previously started.

Unprepare (23)

Causes the synchronization to be reinitialized.

DMTF Reserved

Reserved.

Vendor Specific

Reserved.

Return value

This method returns one of the following values.

Success (0)

Not Supported (1)

Unknown (2)

Timeout (3)

Failed (4)

Invalid Parameter (5)

In Use (6)

DMTF Reserved (7 0x7FFF)

Vendor Specific (0x8000 = value )

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\CIMv2\Storage\iScsiTarget
MOF
SmIscsiTarget.mof
DLL
SmIScsiTargetProv.dll

See also

MSISCSITARGET_ReplicationServiceCapabilities

MSISCSITARGET_ReplicationService

ModifyReplicaSynchronization