|
|
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 <Int32>] [-SourceSnapshot <String>] [-DestinationSnapshot <Stri
ng>] [-Controller <NaController>] [-WarningAction <ActionPreference>] [-Warn
ingVariable <String>] [-WhatIf] [-Confirm] [<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 <Int32>
Maximum transfer rate in kilobytes per second. The default is as fast a
s the 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 DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningAction <ActionPreference>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningVariable <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm
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
NetApp.Ontapi.Filer.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.5
Contents : Replica
CurrentTransferError :
CurrentTransferType : resync
DestinationLocation : benson:dunn_vol2_mirror
LagTime : 303
LastTransferDuration : 9
LastTransferFrom : dunn:vol2
LastTransferSize : 7548
LastTransferType : update
MirrorTimestamp : 1266349193
SourceLocation : dunn:vol2
State : snapmirrored
Status : transferring
TransferProgress : 0
RELATED LINKS
Invoke-NaSnapmirrorBreak
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|