Set-VmcClusterEdrsPolicy

This cmdlet modifies the software-defined data center (SDDC) cluster's elastic distributed resource scheduler (EDRS) policy.

Syntax

-Cluster  <VmcSddcCluster[]>
-MaxHostCount  <Int32>
-MinHostCount  <Int32>
-PolicyType  <String>
[-Disable]
[-Server  <CisServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Cluster
VmcSddcCluster[] named
  • pipeline
  • Specifies the cluster whose policy you want to modify.
    required
    MaxHostCount
    Int32 named Specifies the maximum number of hosts which you can assign to the cluster.
    required
    MinHostCount
    Int32 named Specifies the minimum number of hosts which you can assign to the cluster.
    required
    PolicyType
    String named The possible EDRS policies are as follows: - "cost": Based on the cluster utilization, you can remove the hosts more quickly (and add them more slowly) to keep the cost as low as possible.
    optional
    Disable
    SwitchParameter named Specifies if the EDRS policy is disabled. By default, the policy is enabled. When you disable the policy, it will be set to the default "storage-scaleup" policy. You cannot disable the default policy.
    optional
    Server
    CisServer[] named
  • wildcards
  • Specifies the VMware Cloud on AWS servers 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 the Connect-Vmc cmdlet.

    Output

    VMware.VimAutomation.Vmc.Types.V1.CmdletObject.IVmcEdrsPolicy

    Examples


    Example 1

    Set-VmcClusterEdrsPolicy -Cluster $cluster -PolicyType "cost" -MinHostCount 6 -MaxHostCount 15

    Modifies the EDRS policy type of the selected $cluster cluster. The policy type is set to "cost" with the minimum number of hosts 6 and the maximum number of hosts 15.

    Example 2

    Set-VmcClusterEdrsPolicy -Cluster $cluster -PolicyType "cost" -MinHostCount 6 -MaxHostCount 15 -Disable

    Disables the EDRS policy type of the selected $cluster cluster. The policy type is set to the default "storage-scaleup" policy type with the minimum number of hosts 6 and the maximum number of hosts 15.

    Related Commands

    Feedback

    Was this page helpful?