NAME

Set-DcsReplicationCheckPoint

SYNOPSIS

Sends a checkpoint marker to the virtual disk in a replication. This operation can also be performed on a virtual disk group.

SYNTAX

Set-DcsReplicationCheckPoint   -Replication <Object>   [ -Connection <String> ]   [ -PipelineVariable <String> ]

Set-DcsReplicationCheckPoint   -VirtualDiskGroup <Object>   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Sends a checkpoint marker to the virtual disk in a replication. This operation can also be performed on a virtual disk group. When the operation is performed on a virtual disk group, all replications for the virtual disks in the group will be resolved and a checkpoint marker will be set for all applicable virtual disks on the local active side. (The rest will be ignored.) The checkpoint is inserted in the data stream of a local active virtual disk involved in a replication. When received at the destination, the checkpoint can initiate other operations. A checkpoint can be used to update an existing designated snapshot (see Set-DcsReplicationSnapshot) or as a trigger in tasks (see Add-DcsTrigger).

PARAMETERS

-Replication<Object>
AsyncReplicationData object, VirtualDiskData object, Async Replication ID, virtual disk name, or virtual disk ID that identifies the active virtual disk in the replication. The active virtual disk must be a local virtual disk for the connection. This virtual disk will send the checkpoint marker to the destination. The AsyncReplicationData object can be obtained with Get-DcsReplication and the VirtualDiskData object can be obtained with Get-DcsVirtualDiskData.

Required: true
Position: 1
Default value:
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-Connection<String>
Alias of the connection to the server group. If not specified, the default connection is used.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-PipelineVariable<String>

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-VirtualDiskGroup<Object>
VirtualDiskGroupData object, name or ID that identifies a virtual disk group. Use this parameter to set the checkpoint for all eligible virtual disks in the virtual disk group. All replications will be resolved for the virtual disks in the group and a checkpoint marker will be set for all applicable virtual disks on the local active side. The VirtualDiskGroupData object can be obtained with Get-DcsVirtualDiskGroup.

Required: true
Position: 1
Default value:
Accept pipeline input: false
Accept wildcard characters: false

INPUTS

AsyncReplicationData or VirtualDiskData : The AsyncReplicationData object identifies and describes the replication relationship. The VirtualDiskData object identifies and describes the virtual disk in the replication which will send the checkpoint marker.

OUTPUTS

AsyncReplicationData : The object identifies and describes the replication relationship.

NOTES

Checkpoints should always be marked (sent) when virtual disks are healthy and the replication transfer status is healthy. Data on the source virtual disk should be in a known good state. The virtual disk must be in the Active replication state. Checkpoints cannot be sent if the buffer is full or missing. Warning: If this cmdlet is invoked and those conditions are not met, then the checkpoint will not be sent. Do not send checkpoints when the virtual disk is in recovery, the snapshot may not be valid. Also see Set-DcsReplicationSnapshot, Get-DcsReplication, Get-DcsVirtualDisk, Get-DcsVirtualDiskGroup, Add-DcsTrigger, Add-DcsTask.

EXAMPLES


-------------- Example 1 Inserts a checkpoint marker in a replication specified by virtual disk name --------------
Set-DcsReplicationCheckPoint -Replication "Virtual disk 2"
		

Inserts a checkpoint marker in the data stream of the replication virtual disk named "Virtual disk 2". The checkpoint marker will be sent to the replication virtual disk on the destination.

FirstServerId:84972D6B-7E71-4616-BDA1-57ECEAF3FFC4
FirstVirtualDiskId:ff69cf72849c49bdb319bb2b61970306
SecondServerId:ef23cc60-9003-452d-a291-3dd29aa1f403:2AB62361-B9B9-4A38-B246-3EACF3B19B3A
SecondVirtualDiskId:fc9535748c98442b9d23f9aea0a8067f
IsActiveSide:True
ReplicationState:Active
FailureStatus:NoFailure
TransferStatus:Enabled
Paused:False
CheckpointSnapshotId:V.{91E63003-CA79-11E0-A962-00155D11E921}-00000002--V.{91E63003-CA79-11E0-A962-00155D11E921}-00000027
AutoAsyncReplicationLicense:Enabled
OfflineInitializationSupported:True
InitializationType:Online
OfflineInitializationBuffer:
OfflineInitStatus:NoOfflineInit
InitializationFailureStatus:NoFailure
Id:647f5c8e-90ce-439f-adc9-c96a1ec4213d
Caption:Virtual disk 2
ExtendedCaption:Virtual disk 2 on SSV3
Internal:False
   

-------------- Example 2 Inserts checkpoint markers for all replication virtual disk by piping objects --------------
Get-DcsReplication -ShowOnlyLocalSide | Set-DcsReplicationCheckPoint
		

The cmdlet Get-DcsReplication is invoked with the switch parameter ShowOnlyLocalSide to obtain all AsyncReplicationData objects for the local server group. The objects are piped to Set-DcsReplicationCheckPoint resulting in checkpoint markers being sent for all active replication virtual disks in the local server group.

FirstServerId:84972D6B-7E71-4616-BDA1-57ECEAF3FFC4
FirstVirtualDiskId:2ecb9cd180354c20873d1fee7399e700
SecondServerId:ef23cc60-9003-452d-a291-3dd29aa1f403:2AB62361-B9B9-4A38-B246-3EACF3B19B3A
SecondVirtualDiskId:fbc7abc4b680468e9d3b5f0ff828d858
IsActiveSide:True
ReplicationState:Active
FailureStatus:NoFailure
TransferStatus:Enabled
Paused:False
CheckpointSnapshotId:V.{91E63003-CA79-11E0-A962-00155D11E921}-00000028--V.{91E63003-CA79-11E0-A962-00155D11
AutoAsyncReplicationLicense:Enabled
OfflineInitializationSupported:True
InitializationType:Online
OfflineInitializationBuffer:
OfflineInitStatus:NoOfflineInit
InitializationFailureStatus:NoFailure
Id:96e8b662-3897-43de-ae28-5e3e80e1e218
Caption:Virtual disk 1
ExtendedCaption:Virtual disk 1 on SSV3
Internal:False
   
FirstServerId:84972D6B-7E71-4616-BDA1-57ECEAF3FFC4
FirstVirtualDiskId:ff69cf72849c49bdb319bb2b61970306
SecondServerId:ef23cc60-9003-452d-a291-3dd29aa1f403:2AB62361-B9B9-4A38-B246-3EACF3B19B3A
SecondVirtualDiskId:fc9535748c98442b9d23f9aea0a8067f
IsActiveSide:True
ReplicationState:Active
FailureStatus:NoFailure
TransferStatus:Enabled
Paused:False
CheckpointSnapshotId:V.{91E63003-CA79-11E0-A962-00155D11E921}-00000002--V.{91E63003-CA79-11E0-A962-00155D11E921}-00000027
AutoAsyncReplicationLicense:Enabled
OfflineInitializationSupported:True
InitializationType:Online
OfflineInitializationBuffer:
OfflineInitStatus:NoOfflineInit
InitializationFailureStatus:NoFailure
Id:647f5c8e-90ce-439f-adc9-c96a1ec4213d
Caption:Virtual disk 2
ExtendedCaption:Virtual disk 2 on SSV3
Internal:False
   

-------------- Example 3 Inserts checkpoint markers for eligible replications in a virtual disk group specified by name --------------
Set-DcsReplicationCheckpoint -VirtualDiskGroup VDGroup2
		

Inserts checkpoint markers for all eligible replications in the virtual disk group named "VDGroup2".

FirstServerId:D3D14D3A-67A2-4E5F-9FA4-262B812EFFA0
FirstVirtualDiskId:14454ab447634aa880c102df9827db72
SecondServerId:a6c68fe8-ea6f-420f-b791-278a02a176eb:AA56BE97-83F3-45B0-B81C-2184A8083E68
SecondVirtualDiskId:77192956a71845ebb9f214c167d8f2bf
IsActiveSide:True
ReplicationState:Active
FailureStatus:NoFailure
TransferStatus:Enabled
Paused:False
CheckpointSnapshotId:
AutoAsyncReplicationLicense:Enabled
OfflineInitializationSupported:True
InitializationType:Online
OfflineInitializationBuffer:
OfflineInitStatus:NoOfflineInit
InitializationFailureStatus:NoFailure
TestModeStatus:Disabled
Id:7932cf6f-8857-4702-82b7-61878f2ead2b
Caption:Virtual disk 4
ExtendedCaption:Virtual disk 4 on SSVVM3
Internal:False
   
FirstServerId:D3D14D3A-67A2-4E5F-9FA4-262B812EFFA0
FirstVirtualDiskId:1a2ff247d5aa4b0596eedf8d5835e857
SecondServerId:a6c68fe8-ea6f-420f-b791-278a02a176eb:AA56BE97-83F3-45B0-B81C-2184A8083E68
SecondVirtualDiskId:9b1763a132cb41389c57a287bfc23414
IsActiveSide:True
ReplicationState:Active
FailureStatus:NoFailure
TransferStatus:Enabled
Paused:False
CheckpointSnapshotId:
AutoAsyncReplicationLicense:Enabled
OfflineInitializationSupported:True
InitializationType:Online
OfflineInitializationBuffer:
OfflineInitStatus:NoOfflineInit
InitializationFailureStatus:NoFailure
TestModeStatus:Disabled
Id:0b342a3c-48a4-45fb-8773-2a398e1cac32
Caption:Virtual disk 5
ExtendedCaption:Virtual disk 5 on SSVVM3
Internal:False