NAME

Start-DcsReplicationOfflineInitialization

SYNOPSIS

Starts the offline initialization process for the specified replication.

SYNTAX

Start-DcsReplicationOfflineInitialization   -Replication <Object>   -Buffer <String>   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Starts the offline initialization process for the specified replication. In this process, the cmdlet is invoked on the source to copy the data on the source virtual disk to the offline buffer on the source. When the operation completes, the data should be prepared for transport and delivered to the destination via courier or shipping service. At the destination, the data should be copied to a folder on the destination server. This cmdlet must be invoked again on the destination using the folder as the offline buffer on the destination. When the operation completes on the destination, the offline initialization is complete. The transfer status should go healthy and normal asynchronous data transfer from the source will begin.

PARAMETERS

-Replication<Object>
AsyncReplicationData object, VirtualDiskData object, Async Replication ID, virtual disk name, or virtual disk ID that identifies either the source or the destination virtual disk in the replication. The AsyncReplicationData object can be obtained with Get-DcsReplication and the VirtualDiskData object can be obtained with Get-DcsVirtualDiskData. Use the object for the source when copying the source virtual disk data to the offline buffer. Use the object for the destination when copying the offline buffer contents to the destination virtual disk.

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

-Buffer<String>
The complete and valid path to the offline replication buffer. The location could be a removable drive, local folder or network location that is accessible to the server. (The folder must exist and will not be created by this cmdlet.) We highly recommend creating a different offline buffer for each virtual disk. Name the folder so that it identifies the virtual disk. This will be useful when initializing multiple virtual disks or if data may have to go to different locations. An example of a complete path: "E:\OfflineInit_VD1".

Required: true
Position: 2
Default value:
Accept pipeline input: false
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

INPUTS

AsynchReplicationData or VirtualDiskData : Object that identifies the replication. The VirtualDiskData object can also be used to identify either the source or destination in a replication.

OUTPUTS

AsyncReplicationData : Object that identifies and describes the replication.

NOTES

Also see Add-DcsReplication, Stop-DcsReplicationOfflineInitialization, Set-DcsReplicationInitializationType, Get-DcsReplication, Get-DcsVirtualDisk.

EXAMPLES


-------------- Example 1 Starts offline initialization for a local virtual disk specified by name --------------
Start-DcsReplicationOfflineInitialization -Replication "Virtual disk 1" -Buffer "F:\Replication Offline Buffer\Virtual Disk 1"
		

Offline initialization is started for the virtual disk named "Virtual disk 1". The location of the existing offline buffer folder for the virtual disk is "F:\Replication Offline Buffer\Virtual Disk 1".

FirstServerId:84972D6B-7E71-4616-BDA1-57ECEAF3FFC4
FirstVirtualDiskId:a7869c8ba5304c7d8ebfca176680a407
SecondServerId:ef23cc60-9003-452d-a291-3dd29aa1f403:2AB62361-B9B9-4A38-B246-3EACF3B19B3A
SecondVirtualDiskId:fc9535748c98442b9d23f9aea0a8067f
IsActiveSide:True
ReplicationState:Initializing
FailureStatus:NoFailure
TransferStatus:Disabled
Paused:False
CheckpointSnapshotId:
AutoAsyncReplicationLicense:Enabled
OfflineInitializationSupported:True
InitializationType:Offline
OfflineInitializationBuffer:
OfflineInitStatus:WaitToStartOfflineInit
InitializationFailureStatus:NoFailure
Id:050bc912-b0b4-46d8-ad5a-c4f8a0917e2a
Caption:Virtual disk 1
ExtendedCaption:Virtual disk 1 on SSV3
Internal:False