¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 256°Ç
   
[HYPER-V] Measure-VM
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2015-09-01 (È­) 10:49 Á¶È¸ : 4634
±ÛÁÖ¼Ò :
                                


Âü°í http://www.altaro.com/hyper-v/how-to-use-measure-vm-cmdlet/

PS C:\Users\Administrator> (Get-WmiObject -class Win32_OperatingSystem).Caption
Microsoft Windows Server 2012 R2 Datacenter                                  
 
PS C:\Users\Administrator> Get-Command *VMResourceMetering*
CommandType     Name                                               ModuleName
-----------     ----                                               ----------
Cmdlet          Disable-VMResourceMetering                         Hyper-V
Cmdlet          Enable-VMResourceMetering                          Hyper-V
Cmdlet          Reset-VMResourceMetering                           Hyper-V


HYPER-V ¿¡¼­ VM ¸ð´ÏÅ͸µ
±âº»¼³Á¤
> get-vm | measure-vm



measure-vm È°¼ºÈ­ (Enable)
> get-vm | enable-vmresourcemetering


Ä«¿îÆ® ÃʱâÈ­ (Reset)
> get-vm | reset-vmresourcemetering

¹®Á¦Á¡) 
VMÀÌ ¸®ºÎÆÃÀÌ µÇ¸é ´Ù½Ã °ªÀº ºñÈ°¼ºÈ­·Î ¹Ù²î¸ç ±×¶§¸¶´Ù Enable ÀÛ¾÷À» °ÅÃľßÇÔ / ´Ü. ±âÁ¸ ´©ÀûµÈ °ªÀº ±×´ë·Î À¯ÁöµÊ (VM³» reboot, HYPER-V °ü¸®ÀÚ¸¦ ÅëÇÑ ¸®ºÎÆÃ)
> get-vm * | Format-Table name,ResourceMeteringEnabled 
°ªÀ» È®ÀÎÇغ¸¾Æµµ...ResourceMetering True 

¸®ºÎÆÃÀÌ ¾Æ´Ñ... VM³»¿¡¼­ ¼Ë´Ù¿î, HYPER-V °ü¸®ÀÚ¸¦ ÅëÇÑ ²ô±â/Á¾·á --> ON À¸·Î ÀÛµ¿½Ã¿¡´Â ¹®Á¦¾øÀ½ 
2015.09.02 üũµÈ »çÇ× 
Windows 2012 Standard  ¹®Á¦¾øÀ½ 
Windows 2012 Standard R2  ¹®Á¦¹ß»ý
Windows 2012 DataCenter  ¹®Á¦¾øÀ½
Windows 2012 DataCenter R2 ¹®Á¦¹ß»ý 
==> R2 ¹öÀü¿¡¼­¸¸ µ¿ÀÏ ¹®Á¦¹ß»ý 


¡Ø ResourceMeteringEnabled È°¼ºÈ­ ¿©ºÎ üũ
> get-vm * | Format-Table name,ResourceMeteringEnabled

> enable-vmresourcemetering *


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.