Windows Server 2012R2 IOPS resource metering #Hyper-v #ws2012r2 #winserv #msftprivatecloud

There is always a question in hyper-v on how much IOPS or resources do you need eh well a lot. More is better. we can always scale down<> yeh right

Great ne options or in place with windows server 2012R2 Resource metering. Limit the VM Gui or in powershell

with get-command * you will get all commands

with get-command *.vmres* you will get this.

image

 

First we will turn-on the monitoring

with get-vm I get a list of all the vm’s on this server

image

Collects resource utilization data for a virtual machine or resource pool.

Enable-VMResourceMetering –VMName Master

Enable-VMResourceMetering –VMName *

For all the machines.

image

 

get-vm * |Enable-VMResourceMetering
get-vm * | Format-List Name,ResourceMeteringEnabled

image

With  New-VMResourcePool you can create a pool for the VM’s

get-vm * |Measure-VM to get the VM resource usage info

image

Get more detail resources from a VM or all

get-vm mvpvmm01 |Measure-VM |select *

image

here is my iops info !

AverageProcessorUsage           : 2
AverageMemoryUsage              : 41
MaximumMemoryUsage              : 2048
MinimumMemoryUsage              : 1144
TotalDiskAllocation             : 130048
AggregatedAverageNormalizedIOPS : 8
AggregatedAverageLatency        : 392
AggregatedDiskDataRead          : 6460
AggregatedDiskDataWritten       : 7238

get it from all running VM’s

image

 

See how easy this is to get all the info

Posted July 26, 2013 by Robert Smit in Windows Server 2012 R2

  • Tag