This topic is a work in progress. This topic is posted on the TechNet wiki to enable the Hyper-V and VMM communities to develop content based on their own experiences. Please share your knowledge by updating the topic. It's the wiki way!
Note: This article is based on Hyper-V 2.0 and VMM 2008, this will not apply to VMM 2012 and Hyper-V 3.0 (Server 2012) System Center Virtual Machine Manager (VMM) 2008 R2 and VMM 2008 provide a unified management interface across multiple virtualization software environments, including Hyper-V. VMM abstracts the differences between hypervisor APIs and allows you to run an action without worrying about the virtualization software on which the virtual machine is running. This topic describes considerations specific to creating and managing virtual machines on Hyper-V virtualization software.
With VMM 2008, you can create and manage virtual machines running on Hyper-V hosts. If you add a host that is running Windows Server 2008 to VMM, and that host does not already have Hyper-V enabled, VMM 2008 automatically enables the Hyper-V role on the host for you.
Note To enable the Hyper-V role, VMM must restart the Hyper-V server.
Hyper-V is a hypervisor-based virtualization platform that Microsoft includes with Windows Server 2008. Unlike Virtual Server 2005 R2, which is a hosted technology running on top of the Windows Server 2003 operating system, Hyper-V runs directly on the system hardware. Hyper-V can run on a full Windows Server 2008 installation or it can run on a minimal Server Core installation for maximum performance with minimal overhead and a relatively small attack surface. Hyper-V requires a 64-bit host and provides support for 32-bit and 64-bit guest virtual machines.
For more information about Hyper-V, visit the Hyper-V forum (http://go.microsoft.com/fwlink/?LinkId=127700) on Microsoft TechNet.
For more information about the guest operating systems supported by Hyper-V, see Supported Operating Systems for Virtual Machines.
In Virtual Machine Manager (VMM), you can create new virtual machines from any of the following sources:
For more information, see Sources of New Virtual Machines.
Consider the following when creating a new Hyper-V virtual machine:
System Center Virtual Machine Manager (VMM) 2008 allows you to convert existing virtual machines to Hyper-V virtual machines. For example, VMM can copy existing VMware virtual machines and create Hyper-V virtual machines. VMM can also migrate existing Virtual Server virtual machines to a Hyper-V host.
Virtual-to-virtual (V2V) machine conversion is a read-only operation that does not delete or affect the original source virtual machine. In VMM 2008, depending on the location of the VMware virtual machine, you can perform a V2V conversion in the following ways:
Note The host server cannot be in a perimeter network (also known as a screened subnet) where the firewalls or IPsec settings prohibit communication
For more information, see V2V: Converting Virtual Machines in VMM.
In VMM, you can migrate virtual machines between hosts that are using the same virtualization platform. You can also migrate virtual machines from Virtual Server to Hyper-V. When migrating virtual machines, you should consider the following factors:
For more information, see How to Migrate a Virtual Machine.
The following restrictions also apply when you attempt to migrate a virtual machine that has checkpoints:
System Center Virtual Machine Manager (VMM) allows you to convert existing physical computers into Hyper-V virtual machines through a process known as physical-to-virtual (P2V) conversion. VMM simplifies P2V conversion by providing a task-based wizard to automate much of the conversion process. Because the P2V process is completely scriptable, you can initiate large-scale P2V conversions through the Windows PowerShell command line.
For more information, see P2V: Converting Physical Computers to Virtual Machines in VMM.
VMM P2V is not aware of clusters. Windows Server 2008 failover clustering (and therefore Hyper-V) no longer supports a shared SCSI controller across multiple virtual machines. The only way to build the guest cluster is with iSCSI LUNs for the shared disks of the cluster. If you set up a guest cluster, VMM will treat the cluster as individual virtual machines.
VMM automatically installs Hyper-V Integration Components during the P2V process.
Instead of using Virtual Machine Remote Control (VMRC) to control virtual machines on a Hyper-V host by remote control, VMM uses the Remote Desktop Protocol (RDP). Depending on the operating system that is running on the computer that the VMM Administrator Console is installed on, we connect to a different target for RDP and use a different port number. For all supported versions of Windows Server 2008 and for Windows Vista SP1, VMM connects via RDP to the host with the default port of 2179. For any other operating system, VMM connects via RDP to the guest operating system with the default port of 3389.
For information about changing the global default port, see How to Change Remote Connections to Virtual Machines on a Host (http://go.microsoft.com/fwlink/?LinkID=123607).
To install the Hyper-V integration components through the VMM Administrator Console, right-click a powered off virtual machine and select Install Virtual Guest Services. The following actions will also automatically install the Hyper-V integration components:
For Hyper-V hosts, VMM 2008 makes use of the virtual networks in Windows Server 2008 virtualization, which are capable of using virtual local area networks (VLANs). A VLAN provides a method for creating independent logical networks within a physical network. This helps ease network administration by separating the logical segments of a LAN that should not exchange data, and this is done by using a LAN that is software-based rather than hardware-based. Because a VLAN configuration is software-based, computers can easily be moved and still maintain their network configurations.
For Hyper-V hosts, VMM uses a port-based approach for tagging VLANs, which means that each port on a virtual network can be configured to be part of different VLANs. You can configure VLANs by assigning a numerical value called a VLAN identifier (VLAN ID) at the port level. Internally, all network traffic originating from that port is tagged with this VLAN ID. Networks, both virtual and physical, that are VLAN-enabled route all tagged network traffic based on the VLAN ID of the tag. This ensures that network traffic for a VLAN is routed only to and from ports on the same VLAN.
For more information, see How to Add or Modify Virtual Networks on a Host (http://go.microsoft.com/fwlink/?LinkID=163453).
A Hyper-V host supports the following storage options of Windows Server 2008:
Note For SAN migrations, you must make sure that the LUN is visible on both hosts.
For more information about the Windows 2008 storage options, see Hardware Considerations.
Ensure that you new hosts have all updates that are available through Microsoft Updates. If a server is not up to date, it might have a status of Needs Attention. In this situation, right-click the host, choose Properties, and then click the Status tab. If the Virtualization service version status is not Up-to-date, you need to upgrade Hyper-V or apply the BITS QFE.
Danny van Dam edited Revision 6. Comment: added note about that this might not apply to Hyper-V 3.0
Danny van Dam edited Revision 4. Comment: added hyper-v and vmm version to title
Horizon_Net edited Revision 1. Comment: Added toc.
Great article. Thanks.
Nice article, well explained. Well done.