|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NaSnapmirrorSyncSchedule
NAME
Set-NaSnapmirrorSyncSchedule
SYNOPSIS
Establishes a synchronous schedule.
SYNTAX
Set-NaSnapmirrorSyncSchedule [-Destination] <String> [-Source] <String> [[-V
isibilityFrequency] <Int32>] [[-OpsThrottle] <String>] [-SemiSync] [-Control
ler <NaController>] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-NaSnapmirrorSyncSchedule [-Destination] <String> [-Source] <String> [-Co
ntroller <NaController>] -Schedule <SnapmirrorSyncScheduleInfo> [-WhatIf] [-
Confirm] [<CommonParameters>]
DESCRIPTION
Establishes a synchronous schedule. Currently, the schedules are in: /etc/sn
apmirror.conf.
PARAMETERS
-Destination <String>
The destination location of a schedule to set. The destination location
is of the volume form: <filer>:<volume> or the qtree form: <filer>:/vol
/<volume>/<qtree>.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Source <String>
The source location of a schedule to set. The source location is of the
volume form: <filer>:<volume> or the qtree form: <filer>:/vol/<volume>/
<qtree>.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-VisibilityFrequency <Int32>
Controls how often the source snapspot will be visible on the destinatio
n mirror. This input is used to control the value of visibility_interval
in the snapmirror.conf file. The units are in seconds. A typical value
to use for this input is 180.
Required? false
Position? 3
Default value 180
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-OpsThrottle <String>
The number of outstanding operations allowed before blocking on the sour
ce. The format is a number follwed by the one of the following units: "
ops", "s", or "ms". If the specified value is less than 10s, the mirror
is configured to run in a fully synchronous mode. If the specified value
is greater than or equal to 10s, the mirror is configured to run in sem
i-synchronous mode.
Required? false
Position? 4
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-SemiSync
This specifies that the mirror should be configured in semi-sync mode.
If not specified, the mirror will be configured to run in full synchrono
us mode. This parameter overrides the deprecated OpsThrottle parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
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
-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
-Schedule <SnapmirrorSyncScheduleInfo>
Alternate parameter set that accepts a schedule object of the type retur
ned by Get-NaSnapmirrorSyncSchedule.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
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-set-sync-schedule
-------------- Example 1 --------------
C:\PS>Get-NaSnapmirror benson:dunn_vol2_mirror | Set-NaSnapmirrorSyncSchedul
e
Set the specified Snapmirror to synchronous mode.
BaseSnapshot : benson(0118045471)_dunn_vol2_mirror.1
Contents : Replica
CurrentTransferError :
CurrentTransferType :
DestinationLocation : benson:dunn_vol2_mirror
LagTime : 1463
LagTimeTS : 00:24:23
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 : idle
TransferProgress : 0
RELATED LINKS
Get-NaSnapmirrorSyncSchedule
Remove-NaSnapmirrorSyncSchedule
Set-NaSnapmirrorSchedule
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|