Hyper V: Live Migration Error 0x80071008
KB ID 0001387 Problem When attempting to perform a ‘live migration’ of a virtual machines storage, this happened. Error Invalid Parameter Code 0.80071008 Solution Oddly I had already moved one of the virtual machines drives to another cluster, before this happened, so I was a little confused. To get the migration to work, I needed to ‘unmount’ the parent VMs mounted .ISO file. The set the migration going again....
Hyper V: Get All The Guest VM IP Addresses
KB ID 0001386 Problem Getting the IP address for an individual guest VM is easy enough, but if you have a lot of guest VM’s then you need some PowerShell. Solution To get the IP’s of all the Guest VM’s on an individual Hyper-V host, use the following syntax; Get-VM | Select-Object -ExpandProperty NetworkAdapters | Select-Object VMName,IPAddresses | Format-Table -Auto Note: The entries with no IP, are either powered...
Hyper-V Creating a NAT Network and vSwitch
KB ID 0001384 Problem I’m without access to all my test equipment at the moment, so when I needed to do some testing, I thought I’d use Hyper-V on my new work laptop. I needed to ‘knock up’ a quick vSwitch that would NAT my test machines, to my laptops connected NIC. Solution Open an administrative PowerShell window, and execute the following three commands. Note: You can change the values in RED to suit your...
Hyper-V 2016 – Missing VM Hardware Versions?
KB ID 0001382 Problem I was helping a colleague with a Hyper-V upgrade this week, he asked if I would upgrade the hardware versions on the guest VM’s Get-VMHostSupportedVersionl However I could not get the cluster to accept a hardware version above version 5 (Server 2012 R2) Solution As it turns out the cluster had had all its nodes upgraded to 2016, but the cluster functional level was still at version 8 (Server 2012)...
Hyper-V Ceate and Deploy Machine Templates (Without VMM)
KB ID 0001214 Problem Last week, myself and a few of my colleagues had to deploy a LOT of servers into Hyper-V. The client did not have System Center Virtual Machine Manager, so the process of creating and deploying a machine from a template is a little more convoluted Solution Here I’m deploying Windows Server 2012 Datacenter, but we repeated the process for Oracle Linux (Red Hat,) and, with the exception of sysprep, the...