VMware Cloud Community
AndreasBergman
Contributor
Contributor

IO limiting VM on VSAN

Last time i fiddled with VSAN, in September, i read somewhere that one cannot IO limit VMs that is running on VSAN. Is this correct? Or have I misinterpreted something?

-- VCA-DCV - VCA-Cloud - VCP5-DCV
0 Kudos
8 Replies
CHogan
VMware Employee
VMware Employee

If by I/O limit, you mean Storage I/O Control, then yes, that is correct.

VSAN and SIOC are not designed to work together. In fact, you will see that SIOC cannot be enabled on the VSAN datastore.

http://cormachogan.com
AndreasBergman
Contributor
Contributor

Thanks, I was thinking about the IOPs limit available under resources in VM settings. I'm not sure if that setting is a part of SIOC? I know the shares value is.


Is there any other way to limit IOPS on a VM running on VSAN?

-- VCA-DCV - VCA-Cloud - VCP5-DCV
0 Kudos
vThinkBeyondVM
VMware Employee
VMware Employee

Yes limit is not part of SIOC. SIOC throttles the LUN based on IOPS shares when there is IO contention.  IOPS limit set on the VMDK will be considered by the local host scheduler(aka SFQ) of the ESXi.

Refer: VMware KB: Limiting disk I/O from a specific virtual machine

I guess, we need to explore vSAN policy based management for more on limit on vSAN datastore .I will dig into the same & will come back


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

acasanovanex
Enthusiast
Enthusiast

Did anyone find any way of limiting IOPs for a VM residing on a VSAN datastore?!

0 Kudos
zdickinson
Expert
Expert

I don't know about SIOC, but it appears as if you can still go into the resource tab of a VM and set share and IOPs limits.  Thank you, Zach.

0 Kudos
acasanovanex
Enthusiast
Enthusiast

That is not true. At least for version 6.0.0. The UI section where I am supossed to configure limits is greyed out when the VM runs in a VSAN Datastore.

I can set a value through powercli, but it is ignored completely (It appears as applied if you look at the web interface, but IOPs are not limited).

0 Kudos
zdickinson
Expert
Expert

Interesting, because I was in the VIC and it was not grayed out.  Have you tried the VIC and not the Web Client?  Thank you, Zach.

0 Kudos
acasanovanex
Enthusiast
Enthusiast

Thanks zdickinson, the C# client allowed to modify the parameter. The problem is the config doesn't work anymore when the VM is residing in a vsan datastore. The limit didn't work either when we modified through set-vmresourceconfiguration powerCLI command.

0 Kudos