NetApp

Set Flash Accel configuration options
The Set-FAOptions cmdlet sets the available options to configure Flash Accel.
Syntax
Set-FAOptions

[
-ComputerName String]
[
-Credential PsCredential]
[
-DefaultDeviceState {enabled | disabled}]
[
-DefaultDeviceCacheMode {PassThru | WriteAround | WriteThru}]
[
-EventLogLevel {Fatal | Failure | Error | Warning | Informational | Debug}]
[
-ChecksumEnabled {enabled | disabled}]
[
-MetricsResetInterval UInt32]
[
-GenIdInterval UInt32]
[
-IoTimeout UInt32]
[
-IoRetryInterval UInt32]
[
-IoRetryCount UInt32]
[
-MinReadSize UInt32]
[
-MaxReadSize UInt32]
[
-MinWriteSize UInt32]
[
-MaxWriteSize UInt32]
[
-WriteQLimit UInt32]
[
-BlockUsageThreshold UInt32]
[
-ChunkMinBlockThreshold UInt32]
[
-ChunkMaxBlockThreshold UInt32]
[
CommonParameters]
Description
The Set-FAOptions cmdlet sets the available options to configure Flash Accel. To set attributes for devices on a remote computer, use the ComputerName parameter. The command uses WMI to gather data remotely and locally.
Parameters
-ComputerName String
Specifies a remote Windows computer on which you want to run the command. If you do not use this parameter, the command runs on the local computer. The value can be a fully qualified domain name or an IP address. When the remote computer is in a different domain from the local computer, you must use a fully qualified domain name.
-Credential PsCredential
Specifies a user account that you want to use to run this command. An administrative-level user account is required. If you do not use this parameter, the command runs under the user account with which you are currently logged in. Type a user name, such as "User01", "Domain01\User01", or "User@example.com". You can also enter a PSCredential object, such as an object that is returned by the Get-Credential cmdlet. When you type a user name, you are prompted for a password.
-DefaultDeviceState {enabled | disabled}
The default administrative state of caching for newly enumerated devices.
-DefaultDeviceCacheMode {PassThru | WriteAround | WriteThru}
The default Cache mode for newly enumerated devices.
-EventLogLevel {Fatal | Failure | Error | Warning | Informational | Debug}
Verbosity of Windows event logging.
-ChecksumEnabled {enabled | disabled}
Checksum calculation for cache data block.
-MetricsResetInterval UInt32
The interval (in seconds) to reset device metrics. The default is 60 seconds.
- GenIdInterval UInt32
The interval (in seconds) to store cache checkpoint metadata. The default is 15 seconds.
-IoTimeout UInt32
The timeout (in ms) for cache I/O requests. The default is 100ms.
-IoRetryInterval UInt32
The retry interval (in ms) for all I/O requests. The default is 1,000ms.
-IoRetryCount UInt32
The retry count for I/O requests. This applies to both cache and backing store devices. The default is 3.
-MinReadSize UInt32
The minimum read size (in bytes) to cache. The default is 4096 bytes.
-MaxReadSize UInt32
The maximum read size (in bytes) to cache. The default is 65,536 bytes.
-MinWriteSize UInt32
The minimum write size (in bytes) to cache. The default is 4096 bytes.
-MaxWriteSize UInt32
The maximum write size (in bytes) to cache. The default is 65,536 bytes.
-WriteQLimit UInt32
Soft limit on cache write queue size. The default is 1024.
-BlockUsageThreshold UInt32
Number of hits for considering cache blocks for non-eviction. The default is 1.
-ChunkMinBlockThreshold UInt32
Minimum non-eviction cache blocks in a chunk for it to be read; otherwise the entire chunk is evicted. The default is 128.
-ChunkMaxBlockThreshold UInt32
Maximum non-eviction cache blocks in a chunk for it to skipped. All blocks are preserved. The default is 128.
This cmdlet supports the following common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, type:
get-help about_commonparameters
Example 12. Example: Set default device state and mode
The following cmdlet sets the DefaultDeviceState to enabled and the DefaultDeviceCacheMode to PassThru on the local computer:
Set-FaOptions -DefaultDeviceState enabled -DefaultDeviceCacheMode passthru
Parent Topic: Flash Accel PowerShell cmdlets


Was this topic helpful? Send comments to NetApp.