Hyper-V Enhancements

High Availability. Hyper-V includes support for host-to-host connectivity and enables you to cluster all virtual machines running on a host through Windows Clustering (up to 16 nodes).  Enterprise or datacenter editions of Windows Server 2008 are needed.

Quick migration. Hyper-V enables you to rapidly migrate a running virtual machined across Hyper-V hosts with minimal downtime, leveraging familiar high-availability capabilities of Windows Server 2008 and System Center management tools.
       
Quick Migration isn’t the same as VMware vMotion or Citrix XenServer XenMotion. With Quick Migrate there is (small) downtime of the Virtual Machine. The downtime depends on the amount of memory the Virtual Machine is consuming. The Quick Migrate process is: The VM state is saved, the VM is moved to another Hyper-V machine and the VM state is restored.     

A Quick migrate of a VM using 1 GB memory takes approximately 4 seconds. The VHD file needs to be stored on a shared storage and you need the same processor architecture across the nodes.

Server Core role
. Hyper-V is now available as a role in a Server Core installation of Windows Server 2008.
Integrated into Server Manager. Hyper-V is now integrated into Server Manager by default and customers can now enable the role within Server Manager.

VHD tools
. Hyper-V includes support for VHD tools to enable compaction, expansion and inspection of VHDs created with Hyper-V.

Improved access control with AzMan
. Hyper-V now includes support for Authorization Manager (AzMan) to enable Role-Based Access Control models for better administration of the Hyper-V environment with increased security.

Host characteristics
16 logical processors, 2TB memory, SAS/SATA/discs and FibreChannel support.

Guest characteristics
: 32-bit (x86) and 64-bit (x64) child partitions, 64Gb memory support within VMs, 4 core SMP VMs, max 4 NIC’s.

Live Backups
with VSS, Volume Shadow Copy Services (VSS) enables the functionality to take Live Backups of running virtual machines.

Resource Management
, CPU, disk and network can be managed using Windows Server Resource Manager (WSRM).

Hyper-V Architecture

Parent Partition – Manages machine-level functions such as device drivers, power management, and device hot addition/removal. The root (or parent) partition is the only partition that has direct access to physical memory and devices.

Child Partition – Partition that hosts a guest operating system - All access to physical memory and devices by a child partition is provided via the Virtual Machine Bus (VMBus) or the hypervisor.

VMBus – Channel-based communication mechanism used for inter-partition communication and device enumeration on systems with multiple active virtualized partitions. The VMBus is installed with Hyper-V Integration Services.

WMI – The Virtual Machine Management Service exposes a set of Windows Management Instrumentation (WMI)-based APIs for managing and controlling virtual machines.

VSC – Virtualization Service Client – A synthetic device instance that resides in a child partition. VSCs utilize hardware resources that are provided by Virtualization Service Providers (VSPs) in the parent partition. They communicate with the corresponding VSPs in the parent partition over the VMBus to satisfy a child partitions device I/O requests.

VSP – Virtualization Service Provider – Resides in the root partition and provide synthetic device support to child partitions over the Virtual Machine Bus (VMBus).

Hypercall – Interface for communication with the hypervisor - The hypercall interface accommodates access to the optimizations provided by the hypervisor.

Hypervisor – A layer of software that sits between the hardware and one or more operating systems. Its primary job is to provide isolated execution environments called partitions. The hypervisor controls and arbitrates access to the underlying hardware.

System Requirements of HyperV

CPU: Hyper-V requires specific processor enhancements from either Intel or AMD. Intel VT is integral to the Intel vPro range.

64 bits environment, Virtualization is a prime candidate for the expanded memory and processing facilities that 64-bit platforms offer. To ensure these expanded facilities are available, Hyper-V only runs on x64-bit editions of Windows Server 2008.

Approved hardware, Hyper-V requires hardware that is on the Windows server catalog of tested hardware. Microsoft hardware approval is particularly important in Hyper-V because the Windows Hypervisor layer interfaces directly between the hardware and the parent and child partitions. Rigorous testing of third party device drivers also helps to enhance parent partition stability. Although Hyper-V is running fine on my laptop this device isn’t the most suitable candidate for the server virtualization role.

Physical Memory on the host computer is the main limiting factor that sets the number of virtual computers that can run simultaneously. The virtual computers share this physical memory with the parent partition. Memory requirements are typically 512MB for the parent partition, plus the allocated memory for each child partition and a further 32MB overhead for each child partition. Therefore, a child partition that has 256MB allocated virtual RAM requires a host that has at least (512+(256+32)) = 800MB

Types of Hypervisor Technology Part-II

Type II Hypervisors.

Type II Hypervisors run on an existing operating system that provides the interface. The guest operating systems then run on the Type II hypervisor at the third level above the hardware as can be seen in Figure:

A Type II approach to Hypervisors
Once more, as in Type I, the three guest OS’s are unaware of the fact that they are running on anything but the hardware directly.

Comparison of the two Types of Hypervisors.

For speed and efficiency, the Type I Hypervisors are definitely better. Since they run directly on the hardware and manage it face to face, they are able to work without cutting through the various layers that hamper the speed of the Type II Hypervisors.

Type I hypervisors provide higher performance efficiency, availability, and security than Type II hypervisors.

Type II Hypervisors run on client systems where considerations of speed are less important. They can be installed directly on the Operating system and are thus much easier to setup.

In addition, Type II Hypervisors support a much broader range of hardware since the hardware resources are provided by the underlying Operating System on which it runs.

Examples of Type I Hypervisors are Microsoft’s Hyper-V and VMware ESX Server.
Examples of Type II Hypervisors are VMware GSX Server and Microsoft’s Virtual Server

Types of Hypervisor Technology Part-I

Depending on their implementation, there are basically two types of ways in which Hypervisors work. They are called Type I and Type II hypervisors. All products that implement Hypervisor technology fall into one of these two types.

Type I Hypervisors.

Type I Hypervisors run directly on the Hardware. Instead of the Operating system, they are fully in charge of the management of system resources. The operating systems run on top of the Hypervisor which intercepts their requests and manages them in such a way that they are completely independent of each other Figure
A Type I approach to Hypervisors

As can be seen in Figure 1, the three guest operating systems (OS’s) are running on top of the hypervisor. The OS’s see only those resources that the Hypervisor presents to them. As can be seen from the above figure, the guest operating systems run at the second level above the hardware. 

Hyper-V : Introduction

Server virtualization, also known as hardware virtualization, is a hot topic in the IT world because of the potential for serious economic benefits. Server virtualization enables multiple operating systems to run on a single physical machine as virtual machines (VMs). With server virtualization, you can consolidate workloads across multiple underutilized server machines onto a smaller number of machines. Fewer physical machines can lead to reduced costs through lower hardware, energy, and management overhead, plus the creation of a more dynamic IT infrastructure.

Hyper-V, the next-generation hypervisor-based server virtualization technology, as a role, plus flexible licensing policies, it's now easier than ever to take advantage of the cost savings of virtualization through Windows Server 2008. This enables you to make the best use of your server hardware investments by consolidating multiple server roles as separate virtual machines (VMs) running on a single physical machine and also efficiently run multiple different operating systems—Windows, Linux, and others—in parallel, on a single server, and fully leverage the power of x64 computing.

The hypervisor is a layer of software that runs above the physical hardware and below one or more operating systems. The hypervisor's main purpose is to provide isolated execution environments called partitions. The hypervisor provides each partition with the partition's own set of hardware resources (for example, memory, devices, and CPU cycles). The hypervisor must control and arbitrate access to the underlying hardware.

The Windows hypervisor, part of Hyper-V, performs the following tasks:
  • Creates logical partitions.
  • Manages memory and processor scheduling for guest OSs.
  • Provides mechanisms in order to virtualizes input/output and communicate among partitions.
  • Enforces memory access rules.
  • Enforces policy for CPU usage.
  • Exposes a simple programmatic interface known as hypercalls.

Types Of Virtualization

  • Server Hardware Virtualization. Server Hardware Virtualization runs a very lightweight core operating system. The hypervisor can host independent virtual machines (VMs). This form of virtualization requires hardware that has embedded virtualization awareness capabilities. Since the hypervisor is very lightweight, there is little overhead in the system, which allows for more scalability in the virtual machines.

  • Server Software Virtualization. An operating system, such as Windows Server® 2003 or Windows Server 2008, runs an application that is able to host virtual machines. Each virtual machine runs a completely separate operating system and application set.

  • Presentation Virtualization. Centralized systems host multiple user sessions, and all processing is done on those host systems. The user sessions are isolated from each other. Only the presentation information, such as keyboard and mouse inputs, and video updates are sent between the client and the host system. The client can be a full Windows-based workstation or a Windows-based terminal device.

  • Application Virtualization. An application is isolated from the underlying operating system by means of wrapper software that encapsulates it. This allows multiple applications that may have conflicting dynamic link libraries (DLLs) or other incompatibilities to run on the same machine without affecting each other.

  • Desktop Virtualization. This is similar to Server Software Virtualization, but it runs on client systems such as Windows Vista®. The client operating system runs a virtualization application that hosts virtual machines. This is often used when a specific person needs to run one or a limited number of legacy applications on a legacy operating system.