With PowerCLI, you can set the Elastic Distributed Resource Scheduler (EDRS) policy of clusters.

Prerequisites

Verify that you are connected to VMware Cloud on AWS.

Procedure

  1. Create a variable with the SDDCs of the clusters you want to manage.
    $sddc = Get-VmcSddc 'Your SDDC'
  2. Create a variable with the clusters you want to manage.
    $cluster = Get-VmcSddcCluster -Name 'Your Cluster' -Sddc $sddc
  3. Set the EDRS policy.
    Set-VmcClusterEdrsPolicy -Cluster $cluster -PolicyType cost -MinHostCount 6 -MaxHostCount 15