Set IOPs limit with VM encryption on VMware vSAN
search cancel

Set IOPs limit with VM encryption on VMware vSAN

book

Article ID: 422188

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

  • Encrypted VM using vSAN Storage Policy does not restrict IOPs limit defined within Storage Policy
  • The setting works as expected when the VM is not encrypted
  • This KB provides the steps to set IOPs limit in a vSAN environment for encrypted VMs

Environment

VMware vSAN

Resolution

Use VSI to set IOPs limit:

  1. SSH to one ESXi host on the vSAN cluster
  2. Use the below command to set the IOPs limit:

vsish -e set /vmkModules/vsan/dom/BypassIOPSOriginCheck 'n'

where 'n' is the number of IOPs

e.g. to limit IOPs to 1 use the below command:

vsish -e set /vmkModules/vsan/dom/BypassIOPSOriginCheck 1