Set-DatastoreCluster Command | Vmware PowerCLI Reference

Set-DatastoreCluster

This cmdlet modifies the configuration of the specified datastore cluster.

Syntax

Set-DatastoreCluster
-DatastoreCluster < DatastoreCluster[] >
[-IOLatencyThresholdMillisecond < Int32 > ]
[-IOLoadBalanceEnabled < Boolean > ]
[-Name < String > ]
[-ProgressAction < ActionPreference > ]
[-SdrsAutomationLevel < DrsAutomationLevel > ]
[-Server < VIServer[] > ]
[-SpaceUtilizationThresholdPercent < Int32 > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
DatastoreCluster DatastoreCluster[] named
  • pipeline
Specifies the datastore cluster that you want to configure.
optional IOLatencyThresholdMillisecond Int32 named
Specifies the maximum I/O latency in milliseconds allowed before Storage DRS is triggered for the datastore cluster. The parameter accepts values in the range of 5 to 100. If the value of IOLoadBalancing is $false, the setting for the I/O latency threshold is not applied.
optional IOLoadBalanceEnabled Boolean named
Specifies whether I/O load balancing is enabled for the datastore cluster. If the value is $false, I/O load balancing is deactivated and the settings for the I/O latency threshold and utilized space threshold are not applied.
optional Name String named
Specifies a new name for the datastore cluster.
optional ProgressAction ActionPreference named
optional SdrsAutomationLevel DrsAutomationLevel named
Specifies the Storage DRS automation level for the datastore cluster. This parameter accepts Disabled, Manual, and FullyAutomated values.
optional Server VIServer[] named
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.
optional SpaceUtilizationThresholdPercent Int32 named
Specifies the maximum percentage of consumed space allowed before Storage DRS is triggered for the datastore cluster. The parameter accepts values in the range of 50 to 100. If the value of IOLoadBalancing is $false, the setting for the utilized space threshold is not applied.

Output

VMware.VimAutomation.ViCore.Types.V1.DatastoreManagement.DatastoreCluster

Examples

Example 1

Set-DatastoreCluster -DatastoreCluster MyDatastoreCluster1 -Name 'MyDatastoreCluster2'

Changes the name of the specified datastore cluster.

Example 2

Set-DatastoreCluster -DatastoreCluster MyDatastoreCluster -IOLatencyThresholdMillisecond 5

Sets the maximum I/O latency in milliseconds allowed before Storage DRS is triggered for the specified datastore cluster to 5 milliseconds.

Example 3

Set-DatastoreCluster -DatastoreCluster MyDatastoreCluster -SdrsAutomationLevel FullyAutomated

Changes the Storage DRS automation level of the specified datastore cluster to Fully Automated.

Related Commands

Datastore

This cmdlet retrieves the datastores available on a vCenter Server system.

This cmdlet moves datastores from one location to another.

This cmdlet creates a new datastore.

This cmdlet removes the specified datastores from their locations.

This cmdlet modifies the properties of the specified datastore.

DatastoreCluster

This cmdlet retrieves datastore clusters.

This cmdlet creates a new datastore cluster.

This cmdlet deletes the specified datastore clusters.

This cmdlet modifies the configuration of the specified datastore cluster.

DatastoreItem

This cmdlet copies items between datastores and between a datastore and a local file system provider.