Change SDRS – VM affinity – I/O metric – Space threshold by Cluster Script


Goal – For a set of Storage Clusters (you provide via  a text file); you want to these three settings changed.

  1. Default VM affinity = un-checked aka Do not keep VMDKs together by default
  2. I/O metric inclusion = un-checked  aka I/O metrics for Storage DRS recommendations are disabled
  3. Space threshold = 75%  aka utilized space per datastore