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>] [-Controller <NaContr
oller>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<Co
mmonParameters>]

Set-NaSnapmirrorSyncSchedule [-Destination] <String> [-Source] <String> [-Co
ntroller <NaController>] -Schedule <SnapmirrorSyncScheduleInfo> [-WarningAct
ion <ActionPreference>] [-WarningVariable <String>] [<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

-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

-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.3
Contents : Replica
CurrentTransferError :
CurrentTransferType :
DestinationLocation : benson:dunn_vol2_mirror
LagTime : 145
LastTransferDuration : 10
LastTransferFrom : dunn:vol2
LastTransferSize : 7556
LastTransferType : update
MirrorTimestamp : 1266348476
SourceLocation : dunn:vol2
State : snapmirrored
Status : idle
TransferProgress : 0



RELATED LINKS
Get-NaSnapmirrorSyncSchedule
Remove-NaSnapmirrorSyncSchedule
Set-NaSnapmirrorSchedule







 Data ONTAP® PowerShell Toolkit