Tag Archive: Hyper-V

Jun 07 2017

VMM is unable to refresh Hyper-V hosts

Error (2916) VMM is unable to complete the request. The connection to the agent 'srvhv5.example.com' was lost. WinRM: URL: [http://srvhv5.example.com:5985], Verb: [ENUMERATE], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/standardcimv2/MSFT_NetAdapter], Filter: [] Unknown error (0x80338126)

I recently had to endure a painful issue with VMM and Hyper-V while working on a VMWare to Hyper-V migration project. First let me tell you about the architecture, 2 Hyper-V clusters made of Lenovo blade servers. Each cluster in its own enclosure. 1 VMM cluster with 2 nodes as VMs. One node on each …

Continue reading »

Permanent link to this article: http://almoselhy.azurewebsites.net/2017/06/vmm-is-unable-to-refresh-hyper-v-hosts/

Nov 13 2015

Using Set-VMNetworkAdapterVlan with clustered VMs

I recently needed to assign VLANs to a group of virtual machines on a Hyper-V cluster, tried to use the Set-VMNetworkAdapterVlan  cmdlet directly only to find that it needs the current host of each VM to work, so here’s a small script to get it done. The script select only VMs where no VLAN is …

Continue reading »

Permanent link to this article: http://almoselhy.azurewebsites.net/2015/11/using-set-vmnetworkadaptervlan-with-clustered-vms/

Oct 06 2013

Seriously, how to shrink a VHD!

I have been working lately on a case of over blown dynamic virtual hard disks (VHDs) eating up the space available on a cluster shared volume (CSV). The VHDs where expanded much more than the actual size of the data. So much that one VHD was resting on 136.7 GB of space while the data …

Continue reading »

Permanent link to this article: http://almoselhy.azurewebsites.net/2013/10/seriously-how-to-shrink-a-vhd/