Tuesday, 5 March 2013

How to move a Hyper-V virtual machine without Exporting it first

http://blogs.technet.com/b/meamcs/archive/2012/03/14/solved-how-to-move-a-hyper-v-virtual-machine-without-exporting-it-first.aspx

Tuesday, 26 February 2013

Running the Hyper-V BPA in Windows 2008r2 core mode

To run the Hyper-V 2.0 BPA in Windows 2008r2 core mode you need to run the following commands from the command line of the core mode installation.


c:\ocsetup ServerManager-PSH-Cmdlets /norestart

c:\ocsetup BestPractices-PSH-Cmdlets /norestart



Start PowerShell


C:\PowerShell

PS C:\import-module ServerManager

PS C:\import-module BestPractices

PS C:\Invoke-BpaModel Microsoft/Windows/Hyper-V

PS C:\Get-BPAResult Microsoft/Windows/Hyper-v



If you want to export the results into a HTML page as a table, use this command instead

Get-BpaResult -BestPracticesModelId Microsoft/Windows/Hyper-V | Where-Object {$_.Severity -eq "Error" -or $_.Severity -eq “Warning” } | ConvertTo-Html -Property Severity,Category,Title,Problem,Impact,Resolution,Help -Title "BPA Report for Hyper-V" -Body "BPA Report for Hyper-V" –Head "" | Out-File "C:\bpa.html"

Friday, 11 January 2013

Slow storage vMotion from VMFS 3 to VMFS 5

I was moving a customer from vSphere 4.1 to 5.1. I have read that it's best to create a new datastore with VMFS 5 and migrate VMs over. The new hosts could see both new and old datastores.
I initiated a Storage vMotion to move a VM from the VMFS 3 to VMFS 5 datastore but it was taking ages. The performance charts where shows approx 17 MB/s. I rechecked my configuration and all was good. I decided to move a VM from a VMFS 5 datastore to another VMFS 5 datastore and this time the throughput was over 117 MB/s

Turns out that because the VMFS3 datastores have a 2MB block size and the VMFS 5 datastores are automatically created with a 1MB block size this slows things right down.

http://www.yellow-bricks.com/2011/02/24/storage-vmotion-performance-difference/ 

So allow plenty of time and be patient when migrating from VMFS 3 datastores :)