NAME

Set-DcsPoolThreshold

SYNOPSIS

Sets the Available Space Thresholds, I/O Latency Thresholds, and Pool Depletion Thresholds for a disk pool.

SYNTAX

Set-DcsPoolThreshold   [ -Server <String> ]   -Pool <Object>   [ -AvailableSpaceAttention <UInt64> ]   [ -AvailableSpaceWarning <UInt64> ]   [ -AvailableSpaceCritical <UInt64> ]   [ -Connection <String> ]   [ -PipelineVariable <String> ] [<CommonParameters>]

Set-DcsPoolThreshold   [ -Server <String> ]   -Pool <Object>   [ -LatencyAttention <UInt64> ]   [ -LatencyWarning <UInt64> ]   [ -LatencyCritical <UInt64> ]   [ -Connection <String> ]   [ -PipelineVariable <String> ] [<CommonParameters>]

Set-DcsPoolThreshold   [ -Server <String> ]   -Pool <Object>   [ -PoolDepletionAttention <UInt64> ]   [ -PoolDepletionWarning <UInt64> ]   [ -PoolDepletionCritical <UInt64> ]   [ -Connection <String> ]   [ -PipelineVariable <String> ] [<CommonParameters>]

DESCRIPTION

Sets the Available Space Thresholds, I/O Latency Thresholds, and Pool Depletion Thresholds for a disk pool. Thresholds can be set for attention, warning, and critical levels which will generate the appropriate level messages in System Health.

PARAMETERS

-Server<String>
Computer name or ID of the server. The computer name must be unique or the name must be fully qualified.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-Pool<Object>
DiskPoolData or SharedDiskPoolData object, name, or ID that identifies the disk pool or shared disk pool. To resolve by name, the name must be unique to the server group or the server must be specified. The objects can be obtained from Get-DcsPool or Get-DcsSharedPool.

Required: true
Position: named
Default value:
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-AvailableSpaceAttention<UInt64>
The available space threshold that will generate an attention message. The value is a percentage of the total disk pool space. For instance, if the value is 40, when the available space is at 40% of the total disk pool space, an attention message will be posted to the System Health tool and Event Log.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-AvailableSpaceWarning<UInt64>
The available space threshold that will generate a warning message. The value is a percentage of the total disk pool space. For instance, if the value is 30, when the available space is at 30% of the total disk pool space, a warning message will be posted to the System Health tool and Event Log.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-AvailableSpaceCritical<UInt64>
The available space threshold that will generate a critical message. The value is a percentage of the total disk pool space. For instance, if the value is 20, when the available space is at 20% of the total disk pool space, a critical message will be posted to the System Health tool and Event Log.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-Connection<String>
Alias of the connection to the server group. If not specified, the default connection is used.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-PipelineVariable<String>

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-LatencyAttention<UInt64>
The I/O latency threshold that will generate an attention message. The value is in milliseconds. Valid values are 0 to 60,000. The default value is 5,000 ms. For instance, when the I/O latency reaches 5,000 milliseconds, an attention message will be posted to the System Health tool and Event Log.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-LatencyWarning<UInt64>
The I/O latency threshold that will generate a warning message. The value is in milliseconds. Valid values are 0 to 60,000. The default value is 10,000 ms. For instance, when the I/O latency reaches 10,000 milliseconds, a warning message will be posted to the System Health tool and Event Log.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-LatencyCritical<UInt64>
The I/O latency threshold that will generate a critical message. The value is in milliseconds. Valid values are 0 to 60,000. The default value is 30,000 ms. For instance, when the I/O latency reaches 30,000 milliseconds, a critical message will be posted to the System Health tool and Event Log.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-PoolDepletionAttention<UInt64>
The pool depletion threshold that will generate an attention message. The threshold value is the number of days. Valid values range from 0 to 30. The value 0 disables the setting. The default value is 30 days. For example, when pool depletion is projected to be in 30 days, an attention message will be posted to the System Health tool and Event Log. The monitor stores the value in milliseconds.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-PoolDepletionWarning<UInt64>
The pool depletion threshold that will generate a warning message. The threshold value is the number of days. Valid values range from 0 to 30. The default value is 0 days which disables the setting. For example, if the value is 7, when pool depletion is projected to be in 7 days, a warning message will be posted to the System Health tool and Event Log. The monitor stores the value in milliseconds.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-PoolDepletionCritical<UInt64>
The pool depletion threshold that will generate a critical message. The threshold value is the number of days. Valid values range from 0 to 30. The default value is 0 days which disables the setting. For example, if the value is 2, when pool depletion is projected to be in 2 days, a critical message will be posted to the System Health tool and Event Log. The monitor stores the value in milliseconds.

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, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

DiskPoolData or SharedDiskPoolData : Object that identifies the pool.

OUTPUTS

ThresholdMonitorTemplateData : Object that identifies and describes the threshold.

NOTES

Also see Get-DcsPool, Get-DcsSharedPool.

EXAMPLES


-------------- Example 1 Sets the attention available space threshold by specifying the disk pool name --------------
Set-DcsPoolThreshold -Server SSVVM1 -Pool "Disk pool 1" -AvailableSpaceAttention 40
		

Sets the attention available space threshold for the pool named "Disk pool 1" on the server named "SSVVM1". When the available space in the pool reaches 40% of the total disk pool space, an attention message will be generated in System Health and Event Log.

AttentionLevel:40
WarningLevel:20
CriticalLevel:10
CounterName:PercentAvailable
Alias:Available space
Description:Monitors the disk pools available space percentage.
MonitorType:DataCore.Executive.Controller.FallingThresholdPerfMonitor`1[T]
MonitoredObjectType:DataCore.Executive.Controller.DiskPool
MonitoredObjectId:E7CEDD96-F6B6-4A70-AA4E-6405F4DB1EC4:{f8748d9b-3704-11e1-9f4b-00155d133a22}
TypeId:T(DataCore.Executive.Controller.FallingThresholdPerfMonitor`1[T]<DataCore.Executive.Controller.DiskPool>PercentAvailable)
Id:T(DataCore.Executive.Controller.FallingThresholdPerfMonitor`1[T]<E7CEDD96-F6B6-4A70-AA4E-6405F4DB1EC4:{f8748d9b-3704-11e1-9f4b-00155d133a22}>PercentAvailable)
Caption:Available space
ExtendedCaption:Available space
Internal:False
   

-------------- Example 2 Sets the critical I/O latency threshold for all pools by piping in objects --------------
Get-DcsPool | foreach {Set-DcsPoolThreshold -Pool $_ -LatencyCritical 25000}
		

The cmdlet Get-DcsPool is invoked without parameters to retrieve DiskPoolData objects for all disk pools in the server group. The objects are piped to the cmdlet Set-DcsPoolThreshold using for each to set the critical I/O latency threshold for each pool to 25,000 milliseconds. When the I/O latency reaches 25,000 ms, a critical message will be generated in System Health and Event Log. Each server has one pool so two objects are returned.

AttentionLevel:5000
WarningLevel:10000
CriticalLevel:25000
CounterName:TotalOperationsTime
Alias:I/O latency
Description:Monitors the disk pools latency.
MonitorType:DataCore.Executive.Controller.RisingThresholdPerfMonitor`1[T]
MonitoredObjectType:DataCore.Executive.Controller.DiskPool
MonitoredObjectId:E7CEDD96-F6B6-4A70-AA4E-6405F4DB1EC4:{f8748d9b-3704-11e1-9f4b-00155d133a22}
TypeId:T(DataCore.Executive.Controller.RisingThresholdPerfMonitor`1[T]<DataCore.Executive.Controller .DiskPool>TotalOperationsTime)
Id:T(DataCore.Executive.Controller.RisingThresholdPerfMonitor`1[T]<E7CEDD96-F6B6-4A70-AA4E-6405F 4DB1EC4:{f8748d9b-3704-11e1-9f4b-00155d133a22}>TotalOperationsTime)
Caption:I/O latency
ExtendedCaption:I/O latency
Internal:False
   
AttentionLevel:5000
WarningLevel:10000
CriticalLevel:25000
CounterName:TotalOperationsTime
Alias:I/O latency
Description:Monitors the disk pools latency.
MonitorType:DataCore.Executive.Controller.RisingThresholdPerfMonitor`1[T]
MonitoredObjectType:DataCore.Executive.Controller.DiskPool
MonitoredObjectId:DA6BF9C1-11EC-4167-8574-A6FE0B645905:{bee781c8-3706-11e1-b17d-00155d133a24}
TypeId:T(DataCore.Executive.Controller.RisingThresholdPerfMonitor`1[T]<DataCore.Executive.Controller .DiskPool>TotalOperationsTime)
Id:T(DataCore.Executive.Controller.RisingThresholdPerfMonitor`1[T]<DA6BF9C1-11EC-4167-8574-A6FE0 B645905:{bee781c8-3706-11e1-b17d-00155d133a24}>TotalOperationsTime)
Caption:I/O latency
ExtendedCaption:I/O latency
Internal:False
   

-------------- Example 3 Set the attention level for the pool depletion threshold --------------
Get-DcsSharedPool -SharedPool "Shared pool 1" | Set-DcsPoolThreshold -PoolDepletionAttention 15
		

The cmdlet Get-DcsSharedPool is invoked to get the SharedPoolData object for the shared pool named "Shared pool 1". The object is piped to the cmdlet Set-DcsPoolThreshold to set the Pool Depletion Attention threshold to 15 days. An attention message will be generated when the pool depletion is projected to be 15 days away.

AttentionLevel:1296000000
WarningLevel:0
CriticalLevel:0
CounterName:EstimatedDepletionTime
Alias:Pool Depletion
Description:Monitors the allocations in the shared pool. Estimates future allocations in time and alerts if the allocation reaches the pool size in the near future.
MonitorType:DataCore.Executive.Controller.SharedPoolDepletionMonitor
MonitoredObjectType:DataCore.Executive.Controller.Base.SharedDiskPool
MonitoredObjectId:{2dd77841-848e-11e6-80ec-00155d138904}
TypeId:T(DataCore.Executive.Controller.SharedPoolDepletionMonitor<DataCore.Executive.Controller.Base.SharedDiskPool>EstimatedDepletionTime)
Sequencenumber:10997
Id:T(DataCore.Executive.Controller.SharedPoolDepletionMonitor<{2dd77841-848e-11e6-80ec-00155d138904}>EstimatedDepletionTime)
Caption:Pool Depletion
ExtendedCaption:Pool Depletion of {2dd77841-848e-11e6-80ec-00155d138904}
Internal:False