< Back

Set-DatastoreCluster

Sun Jan 19, 2020 7:07 pm

NAME Set-DatastoreCluster



SYNOPSIS

This cmdlet modifies the configuration of the specified datastore cluster.





SYNTAX

Set-DatastoreCluster -DatastoreCluster <DatastoreCluster[]> [-IOLatencyThresholdMillisecond <Int32>]

[-IOLoadBalanceEnabled <Boolean>] [-Name <String>] [-SdrsAutomationLevel <DrsAutomationLevel>] [-Server

<VIServer[]>] [-SpaceUtilizationThresholdPercent <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

This cmdlet modifies the configuration of the specified datastore cluster.





PARAMETERS

-DatastoreCluster <DatastoreCluster[]>

Specifies the datastore cluster that you want to configure.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-IOLatencyThresholdMillisecond <Int32>

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.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-IOLoadBalanceEnabled <Boolean>

Specifies whether I/O load balancing is enabled for the datastore cluster. If the value is $false, I/O load

balancing is disabled and the settings for the I/O latency threshold and utilized space threshold are not

applied.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies a new name for the datastore cluster.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SdrsAutomationLevel <DrsAutomationLevel>

Specifies the Storage DRS automation level for the datastore cluster. This parameter accepts Disabled, Manual,

and FullyAutomated values.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Server <VIServer[]>

Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this

parameter, the command runs on the default servers. For more information about default servers, see the

description of Connect-VIServer.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SpaceUtilizationThresholdPercent <Int32>

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.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false,

the cmdlet runs without asking for user confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are

modified.



Required? false

Position? named

Default value False

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

One or more modified DatastoreCluster objects







NOTES









-------------------------- 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 LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... uster.html

Get-DatastoreCluster

New-DatastoreCluster

Remove-DatastoreCluster