|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Invoke-NaSnapmirrorResync
NAME
Invoke-NaSnapmirrorResync
SYNOPSIS
Kicks off a resync of a broken snapmirrored pair.
SYNTAX
Invoke-NaSnapmirrorResync [-Destination] <String> [[-Source] <String>] [-Max
TransferRate <Int64>] [-SourceSnapshot <String>] [-DestinationSnapshot <Stri
ng>] [-Controller <NaController>] [<CommonParameters>]
DESCRIPTION
Kicks off a resync of a broken snapmirrored pair. The update is asynchronous
ly handled, and there is no guarantee that it succeeds. This requires that
a schedule in /etc/snapmirror.conf is set for the destination. The API must
be issued on the destination filer.
PARAMETERS
-Destination <String>
Destination location of the snapmirrored pair to break, The destination
location is of the volume form: <filer>:<volume> or the qtree form: <fi
ler>:/vol/<volume>/<qtree>.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Source <String>
Source location of the transfer. The source location is is of the volum
e form: <filer>:<volume> or the qtree form: <filer>:/vol/<volume>/<qtree
>. If the source-location is not specified, then the source in /etc/snap
mirror.conf for the destination path is used.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-MaxTransferRate <Int64>
Maximum transfer rate in bytes per second. The default is as fast as th
e filer can transfer.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-SourceSnapshot <String>
Designates which source snapshot to use for a qtree update. If source-sn
apshot is not specfied, a new snapshot will be created.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-DestinationSnapshot <String>
Creates the specified snapshot (in addition to the regular SnapMirror sn
apshot) on the destination after the qtree SnapMirror transfer is over.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.Types.Snapmirror.SnapmirrorStatusInfo
NOTES
Category: snapmirror
API: snapmirror-resync
-------------- Example 1 --------------
C:\PS>Invoke-NaSnapmirrorResync benson:dunn_vol2_mirror dunn:vol2
Resync the specified broken-off Snapmirror pair.
BaseSnapshot : benson(0118045471)_dunn_vol2_mirror.1
Contents : Replica
CurrentTransferError :
CurrentTransferType : resync
DestinationLocation : benson:dunn_vol2_mirror
LagTime : 1615
LagTimeTS : 00:26:55
LastTransferDuration : 1218
LastTransferDurationTS : 00:20:18
LastTransferFrom : dunn:vol2
LastTransferSize : 88573992960
LastTransferType : initialize
MirrorTimestamp : 1280783067
MirrorTimestampDT : 8/2/2010 9:04:27 PM
SourceLocation : dunn:vol2
State : snapmirrored
Status : transferring
TransferProgress : 0
RELATED LINKS
Invoke-NaSnapmirrorBreak
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|