2012-R2
-
Unable to delete duplicate cluster resource for Hyper-V VM
Quick tip: You find yourself with duplicate HA roles for a virtual machine and you’re unable delete the problematic resource… Symptoms: Duplicate cluster roles for a virtual machine. When attempting to delete, you get the error: Error code: 0x8007012f The file cannot be opened because it is in the process of being deleted. Firstly, why does this happen? This can happen if an admin uses Failover Cluster Manager (even after they’ve been specifically instructed many times not too) to enable HA for a VM, then goes to SCVMM and uses the Migrate Virtual Machine and enable HA. -
Quick tip - Disabling ISO Media Sharing in SCVMM
Hello there! I often get asked if it’s possible to disable VMM users from ‘sharing’ ISO’s from the library when attaching to a VM. You can do this via applying a pre-configured Capability Profile and the Cloud and Virtual Machines. Note: Capability Profiles can only be assigned to Clouds, not to Host Groups Create a Capability Profile Name that means something to you Tip: In the capabilities we can scope the settings or range of many items within the profile. -
Managing a Hyper-V Datacenter - Extra thoughts & tuning
I will add to this post over time with anything I can recall that has helped in the tuning of the many environments I’ve worked on… Edited: 30/11 - Thoughts on Dynamic Optimization Before I continue, as usual I’ll try not to repeat what you can already find out there, so here are some tips that have been helpful over the years. Be sure to investigate whether each of the tips mentioned are valid for your version of hypervisor as a couple of these posts have aged: -
Managing a Hyper-V Datacenter - Host Networking - Teaming
There are many discussion topics around host networking that need to be considered. I will extend this post over time to include what I can, but many of these are dependent on your requirements. Some of the considerations include: Teaming options (this post) Converged design QoS policies SDN architecture Security & Edge Networking Switch high availability VMQ’s and RSS Teaming options Typically when discussion teaming options we need to determine our teaming mode and the algorithm used. -
SCVMM and Datastores
Was cleaning out some old PS scripts recently and found this one in my toolkit. This one will appease some of those out there who came to Hyper-V from another virtualization technology and are familiar with the term datastore… We use SOFS storage so our VM paths are all SMB shares but I’ve included the CSV path split for those still running CSV’s to the nodes. What this gives you is a quick view into which storage device each VM lives on: