|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: New-NcQosPolicyReadAhead
NAME
New-NcQosPolicyReadAhead
SYNOPSIS
Create a new read ahead policy.
SYNTAX
New-NcQosPolicyReadAhead [-Name] <String> [-Controller <NcController[]>] [-W
hatIf] [-Confirm] [<CommonParameters>]
New-NcQosPolicyReadAhead -Attributes <QosPolicyReadAheadInfo> [-Controller <
NcController[]>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Create a new read ahead policy. A unique name must be provided for the new
read-ahead policy. If the 'default' field is set to true, these become the d
efault read-ahead settings for policies that don't otherwise name read-ahead
settings. Unless creating a new default, creating read-ahead policies shou
ld usually be assigned to an existing QoS policy.
PARAMETERS
-Name <String>
Name of the quality of service read ahead policy to create. A policy wi
th the default settings will be created.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each 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
-Attributes <QosPolicyReadAheadInfo>
A QosPolicyReadAheadInfo object containing the initial settings to give
the created read ahead policy. Use "Get-NcQosPolicyReadAhead -Template"
to get the initially empty QosPolicyReadAheadInfo. The ReadAheadPolicy
Name attribute must be set or the command will fail.
Required? true
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.C.Qos810.QosPolicyReadAheadInfo
NOTES
Category: qos
API: qos-policy-read-ahead-create
Family: cluster
-------------- Example 1 --------------
C:\PS>New-NcQosPolicyReadAhead -Name test-policy
Create a read ahead policy with the name test-policy and default settings.
ReadAheadPolicyName : test-policy
ReadAheadClass : user_defined
AlignBlocks : 64
Default : False
DiskResponseFactor : 3
DiskResponseWeight : 80
EarlyCount : 10
ForceDump : False
ForceFull : False
ForceNone : False
InterarrivalWeight : 80
Jitter : 80
MaxBlocks : 192
MaxDeadline : 1000000
MaxDiskResponseTime : 50000
MaxGap : 1024
MetadataBlocks : 64
MinBlocks : 128
MinDiskResponseTime : 1000
MinRange : 3840
Overshoot : 20
SmallfileBlocks : 16
UseAsync : True
UseFeedback : True
UseTiming : True
-------------- Example 2 --------------
C:\PS>$a = Get-NcQosPolicyReadAhead -Template
$a.ReadAheadPolicyName = "test-policy"
$a.Overshoot = "75"
$a.ForceDump = $true
New-NcQosPolicyReadAhead -Attributes $a
Create a new read ahead policy with the given settings. Any settings not sp
ecified will have default values.
ReadAheadPolicyName : test-policy
ReadAheadClass : user_defined
AlignBlocks : 64
Default : False
DiskResponseFactor : 3
DiskResponseWeight : 80
EarlyCount : 10
ForceDump : True
ForceFull : False
ForceNone : False
InterarrivalWeight : 80
Jitter : 80
MaxBlocks : 192
MaxDeadline : 1000000
MaxDiskResponseTime : 50000
MaxGap : 1024
MetadataBlocks : 64
MinBlocks : 128
MinDiskResponseTime : 1000
MinRange : 3840
Overshoot : 75
SmallfileBlocks : 16
UseAsync : True
UseFeedback : True
UseTiming : True
RELATED LINKS
Get-NcQosPolicyReadAhead
Set-NcQosPolicyReadAhead
Update-NcQosPolicyReadAhead
Remove-NcQosPolicyReadAhead
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|