|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: New-NcSisPolicy
NAME
New-NcSisPolicy
SYNOPSIS
Create a new SIS (dedupe) policy.
SYNTAX
New-NcSisPolicy [-Name] <String> [-Schedule] <String> [-Enabled [<Boolean>]]
[-DurationHours <UInt32>] [-Comment <String>] [-VserverContext <String>] [-
Controller <NcController[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Create a new SIS (dedupe) policy.
PARAMETERS
-Name <String>
The name of the dedupe policy to create.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Schedule <String>
Cron type job schedule name. When the associated policy is set on a vol
ume, the SIS operation will be triggered for the volume on this schedule
. These schedules can be created using Add-NcJobCronSchedule. Existing
schedules can be queried using Get-NcJobCronSchedule.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Enabled [<Boolean>]
If the value is true, the SIS policy is active in this cluster. If the
value is false this policy will not be activated by the schedulers and h
ence will be inactive. A policy can be assigned to managed objects alth
ough it is disabled. Default is "true".
Required? false
Position? named
Default value true
Accept pipeline input? false
Accept wildcard characters? false
-DurationHours <UInt32>
The duration in hours for which the scheduled SIS operation should run.
After this time expires, the SIS operation will be stopped even if the
operation is incomplete. If 0 is specified as the duration, the SIS ope
ration will run until it completes. Otherwise, the duration has to be an
integer greater than 0. By default, the operation runs till it complet
es.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Comment <String>
A brief description of the policy.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VserverContext <String>
Vserver to which to direct this command. If the currently connected con
troller (as embodied by an NcController object) represents a cluster, th
ere are multiple means to address commands to one of its vservers. Eith
er set the Vserver field on the NcController object to direct all subseq
uent commands to that vserver, or supply the VserverContext parameter to
an individual cmdlet. Only cmdlets which may be invoked on vservers of
fer the VserverContext parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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
DataONTAP.C.Types.Sis.SisPolicyInfo
NOTES
Category: sis
API: sis-policy-create
Family: vserver
-------------- Example 1 --------------
C:\PS>New-NcSisPolicy -Name dailyDedupe -Schedule daily -DurationHours 4 -Co
mment "Daily dedupe"
Create a new dedupe policy that runs daily for at most four hours.
NcController : vxeRubble
Comment : Daily dedupe
Duration : 4
DurationTS : 04:00:00
Enabled : True
PolicyName : dailyDedupe
Schedule : daily
Vserver : costea01
EnabledSpecified : True
RELATED LINKS
Get-NcSisPolicy
Set-NcSisPolicy
Remove-NcSisPolicy
Set-NcSis
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|