Browse by Tags

Tagged Content List
  • Blog Post: Importing a Virtual Machine with an Incompatible Saved State

    This afternoon – an email arrived with the following question for me: “I’m working with on a Hyper-V migration with an import-vm component. I saw what I believe is your post on importing incompatible VMs. We are experiencing an issue where the incompatibility has to do with a bad saved state after the...
  • Blog Post: ‘Unnamed VM’ could not initialize… The security ID structure is invalid (0x80070539)

    While working on a system recently, I imported an old virtual machine – which then failed to start with this error message: What to do?  Well – thankfully the solution is already documented here: http://support.microsoft.com/kb/2927313/en-us But how did this happen?  And what is going on? Well...
  • Blog Post: Virtualization Fabric Design Considerations Guide

    The Hyper-V documentation team recently released the Virtualization Fabric Design Considerations Guide. You can download this document here: http://gallery.technet.microsoft.com/Virtualization-Fabric-e9402b76 Document Overview: This guide details a series of steps and tasks that you can go through to...
  • Blog Post: Hyper-V Network Connectivity Issues with Emulex Adapters

    I retweeted this late last week, but wanted to mention it here on my blog.  Emulex has just published a blog post talking about a known issue that is causing network connectivity problems for Hyper-V VMs when using Emulex network adapters.  They have also explained how to work around this until...
  • Blog Post: Hyper-V Replica to Azure

    Late last week we announced “Azure Site Recovery”.   This is a new offering that allows you to have Hyper-V virtual machines in your environment replicating to Azure.  This gives you the ultimate protection from site failure. You can read more about this on Brad Anderson’s “In the Cloud...
  • Blog Post: How to get the best disk performance with Linux on Hyper-V

    I was recently reading our documented Best Practices for running Linux on Hyper-V and noticed this section: Use I/O scheduler NOOP for better disk I/O performance. The Linux kernel has four different I/O schedulers to reorder requests with different algorithms. NOOP is a first-in first-out queue that...
  • Blog Post: What version of Linux Supports what in Hyper-V?

    We have been doing a lot of work to increase the functionality of Linux on top of Hyper-V, and we have been contributing the necessary changes directly to the main Linux source.  While this is all good – it has caused confusion for some people as they are trying to figure out which versions of Linux...
  • Blog Post: Programmatically Detecting when a VM Changes State

    Every now and then I get asked how to detect whenever a virtual machine changes state. Usually, people who ask about this have written some code that periodically queries Hyper-V to see what state different virtual machines are in (stopped, running, etc.). What they find is that this is not efficient...
  • Blog Post: Setting up non-administrative control of Hyper-V through PowerShell–Updated

    Yesterday, I told you about how it was now easier to allow a non-administrative user to control Hyper-V . This is nice – but it does mean that this script that I blogged about 4 years ago no longer works. Here is a new one: $myWindowsID=[System.Security.Principal.WindowsIdentity]::GetCurrent...
  • Blog Post: Allowing non-Administrators to control Hyper-V–Updated

    A long time ago, I did a post about how to allow non-Administrative users to control Hyper-V .  Then I did a post that showed you how to script this whole configuration .  Finally, I did a post that showed you how to setup a “Hyper-V Administrators” group to make the whole process easier. Well...
  • Blog Post: Looking for Wasted Space inside Virtual Machines

    Recently, I tried to update the operating system installed inside of one of my virtual machines.  I quickly received an error message stating that I did not have enough free space available to perform the upgrade.  My immediate thought was that I would need to expand the size of the virtual...
  • Blog Post: Ubuntu 14.04 in a Generation 2 VM

    Recently, Canonical released Ubuntu 14.04.  This is the first Linux release to support running inside of a Generation 2 virtual machine.  To get this working in your environment, you need to have Windows 8.1 or Windows Server 2012 R2 installed.  Then you need to download an installation...
  • Blog Post: Gathering Recent Events for a Specific VM

    Imagine this scenario: you login to one of your Hyper-V servers and find that something has gone wrong with a virtual machine.  Maybe the guest operating system is not responding, maybe it is running slower than expected, maybe something else has gone wrong. As you are triaging the problem – you...
  • Blog Post: Quickly Recovering Replication on Hyper-V

    Two weeks ago , I had to recover from a sizable power outage. When this happened, my first priority was to make sure that all of my virtual machines were running well. Once I had done this, my next goal was to get Hyper-V Replica back up and running - so that I would be protected against any future problems...
  • Blog Post: Hyper-V Replica to the Rescue!

    Power outages are not infrequent where I live (something I find quite confounding – to be honest) and earlier this week we had an extended power outage and my Hyper-V servers were powered off uncleanly.  When the power returned I had to sit down and make sure that everything came back correctly...
  • Blog Post: Listing all the IP Addresses used by VMs

    Here is a neat little snippet of PowerShell: Get-VM | ?{$_.State -eq "Running"} |  Get-VMNetworkAdapter | Select VMName, IPAddresses If you run this on a Hyper-V Server it will give you a listing of all the IP addresses that are assigned to running virtual machines: This works whether...
  • Blog Post: Exporting a Virtual Machine Checkpoint

    Something neat that you can do in Windows Server 2012 / Windows 8 or later is to export a virtual machine checkpoint.  You can do this by either: Selecting the checkpoint in the UI and selecting Export from the action pane Using the Export-VMSnapshot cmdlet When you do this, we will actually create...
  • Blog Post: Hyper-V Networking–NIC Teaming

    If you look at the advanced features of a network adapter in Hyper-V, you may have noticed the NIC Teaming option below: And wondered what this was about. In most deployments you will enabled network adapter teaming in the host operating system, and connect a virtual switch to the team.  If you...
  • Blog Post: Understanding Maximum Dynamic Memory from inside a VM

    Dynamic memory is a great feature that allows Hyper-V administrators to get better utilization of their physical memory.  But it can be hard to tell what is going on from inside of a virtual machine.  There are, however, some things that you can do from inside a virtual machine. The first thing...
  • Blog Post: Importing a VM with VHDs in Different Paths

    I was recently given an interesting challenge.  I was asked to show how you could use PowerShell to import a virtual machine; where the virtual hard disks were stored in multiple different locations.  Now, if the virtual hard disks were all in a single location, you could just use the “VHDSourcePath...
  • Blog Post: Hyper-V Networking–Router Guard

    Router guard is another advanced networking feature that was added in Windows Server 2012: When you enable Router Guard Hyper-V switch will discard the following packets: ICMPv4 Type 5 (Redirect message) ICMPv4 Type 9 (Router Advertisement) ICMPv6 Type 134 (Router Advertisement) ICMPv6 Type 137 (Redirect...
  • Blog Post: Hyper-V Networking–DHCP Guard

    If you start digging into the advanced settings section of a virtual network adapter – there is a lot of interesting stuff to look at.  Today I’m going to talk about the DHCP guard setting: This setting stops the virtual machine from making DHCP offers over this network interface.  To be clear...
  • Blog Post: My Daily Hyper-V Status Email–Part 5 of 5

    After displaying event logs , virtual machine health and storage health – the last thing that is included in my daily status email is usage data. For this I take advantage of the built in metrics functionality that is part of Hyper-V. Looking at this report – I realize I should probably filter our replicated...
  • Blog Post: My Daily Hyper-V Status Email–Part 4 of 5

    Now that I have talked about displaying event log information and virtual machine health information; the next part of my status email is storage health information. In my experience – the most common failure for my servers is a failed hard disk.  Now, as I have multiple levels of redundancy configured...
  • Blog Post: My Daily Hyper-V Status Email–Part 3 of 5

    Continuing on with my daily status email series ; after displaying event log information , my email displays a high level summary of the virtual machine health: These tables are generated with the following code: # VM Health $message = $message + "<style>TH{background-color:Indigo...
Page 1 of 3 (60 items) 123