Archive | Hyper-V Virtualization

Dynamic Memory and Hyper-V Guide in Windows Server 2008 R2 SP1

Dynamic Memory and Hyper-V Guide in Windows Server 2008 R2 SP1

One of the biggest new features in Service Pack 1 for Microsoft Windows Server 2008 R2 Hyper-V users is the new Dynamic Memory functionality. Instead of partitioning physical memory into separate silos for each virtual machine, Dynamic Memory basically allows the Hyper-V hypervisor to allocate a pool of memory to be used for various virtual machines and then allocate that memory based on needs. I have heard claims of 40% or better improvements in virtualization density (number of virtual machines on a physical machine) with Dynamic Memory, but in the past week I have only been able to increase density on my test machine by 25%. This of course varies by VM type and workload, but that is a respectable gain nonetheless. This guide will cover the basics to Dynamic Memory in Windows Server 2008 R2 SP1 with Hyper-V installed. Continue Reading

Posted in Hyper-V Virtualization1 Comment

Hyper-V Virtual Private Network

Hyper-V Networking and Virtual Switches Overview

Microsoft Hyper-V, which is a very common virtualization platform for Windows based servers especially with the Windows Server 2008 R2 role, utilizes a different method of networking virtual machines than Microsoft’s VirtualPC (or XP mode on Windows 7 operating systems.) With VirtualPC the VMs hardware calls are sent to the host operating system, and then to the underlying hardware. With Hyper-V, virtual machines can communicate directly with the hardware. Continue Reading

Posted in Hyper-V Virtualization0 Comments

Add Offline Disk to Hyper-V VM

Hyper-V Disk Pass-Through Quick Guide

After the recent article on passing controllers through to ESXi virtual machines, I did get some questions around pass-through in Hyper-V. First off, it works a bit differently in Hyper-V, but you can still expose raw disks and RAID volumes to Hyper-V virtual machines, and this does not require Intel VT-d. This is an important feature of Hyper-V because it allows for the virtual machines to get raw disk access which is important when you have a storage operating system controlling the drives. Continue Reading

Posted in Hyper-V Virtualization1 Comment

Windows Server 2008 R2 Stuck at Shutdown Screen

IPMI Remote Reboot Upon Kernel Panic – Windows Server 2008 R2, Hyper-V, and WHS

Over the weekend I experienced an oddly inaccessible network share on a Windows Home Server instance running in Hyper-V using Windows Server 2008 R2. Unfortunately I was not at my desk at the time but did have 3G access and a laptop. As I am a big proponent of KVM-over-IP and remote power cycle features of many server boards, this was a great chance to demonstrate a use-case. Continue Reading

Posted in Hyper-V Virtualization0 Comments

Secure Windows 7 VM on a WHS Server in Hyper-V

Secure Windows 7 VM on a WHS Server in Hyper-V

One of the slickest things that one can do with a Windows Home Server machine is run it virtualized in a Hyper-V Virtual Machine. Windows Home Server frankly uses very little power itself leaving CPU cycles sitting idle. Of the CEOs, CIOs, and CFOs of companies with more than 10,000 employees I have talked to recently, all of them are looking at application virtualization to keep costs in the data center versus on user desktops. Perhaps I have heard the words “thin client” more times in the past six months from these folks than I have since the 1990′s. For Windows Home Server users, there is a really practical, and important thing that they can do to increase security at home, and that is use a dedicated, disposable, virtual machine for things such as banking (and for the more conservative online shopping). Continue Reading

Posted in Hyper-V Virtualization6 Comments

Vail Preview Hyper-V Ready to Go

Windows Home Server (WHS) V2 VAIL – Installed in Hyper-V – Early Release Clue

If one browses this site they will quickly see that I am a fan of Hyper-V virtualization and also Windows Home Server. On April 26, 2010, Microsoft released the public preview of the long awaited Windows Home Server V2 codenamed VAIL. Of course, I did have a test system lying around, but the WHS V2 code base is supposed to be Windows Server 2008 R2 which is why it requires a 64-bit CPU. Now, I could have installed the VAIL preview onto a physical machine, but there are probably editors at 30 sites doing that right now. So how about something interesting, and more appropriate for software labeled beta and preview, a Hyper-V installation!

Continue Reading

Posted in Hyper-V Virtualization, Operating Systems5 Comments

FreeNAS Hyper-V LAN Finish and Exit Config

Install FreeNAS in Hyper-V: Part 2 Installing FreeNAS to a vhd

In previous articles we have shown how to set up a basic Hyper-V virtual machine that works with FreeBSD and FreeNAS as well as how to configure the Hyper-V VM and boot FreeNAS in it. The next step of course is to install FreeNAS to a vhd, so it no longer needs to run off of the LiveCD. This is primarily important so you can configure FreeNAS and save that configuration through reboots. Also, as FreeNAS seems to only work with drives attached to the IDE controllers, installing FreeNAS to a vhd allows one to free up one IDE channel for another drive (by removing the default DVD drive).

Continue Reading

Posted in Hyper-V Virtualization2 Comments

FreeNAS (64-bit) running in a Hyper-V VM off of a LiveCD image

Install FreeNAS in Hyper-V: Part 1 Basic Configuration

To install FreeNAS in a Hyper-V virtual machine one needs to do some configuration of the virtual machine, just as one would with a physical machine. Allocating hardware resources is much easier in Hyper-V versus physical machines because you can do it remotely through screens instead of physically taking a box offline and installing hardware. This guide will show the basic Hyper-V virtual machine setup for installing FreeNAS, an open source NAS appliance based on FreeBSD.

Continue Reading

Posted in Hyper-V Virtualization2 Comments

Hyper-V - Create Network

Create a Hyper-V VM for FreeNAS, Openfiler, Linux, FreeBSD, OpenSolaris, and more

As many have read, I have been trying different NAS solutions on the Big Windows Home Server. This guide will show the base procedures for installing open-source NAS/ SAN appliances such as FreeNAS, OpenFiler, Ubuntu (and other Linux distros), OpenSolaris (and variants such as CentOS) into a Hyper-V VM. 

For this guide, I will be using screenshots from the Hyper-V manager in Microsoft Windows Server 2008 R2. Microsoft offers a free Hyper-V Server R2 product for those that want to try and do not have access to a Server 2008 R2 testbed. Later I will detail installing the OS’es onto the Hyper-V platforms, but I wanted a base article that showed the basics so I can link rather than duplicate later (think of this as WordPress Dedupe). It should be noted up-front this guide is for a non-Windows Hyper-V installation. Also, everything below can be changed as necessary for your environment/ installation. 

Continue Reading

Posted in Hyper-V Virtualization6 Comments

Server Parts by Amazon.com

Image of 4GB 1333MHZ DDR3 Ecc CL9 Dimm Kingston ECC DDR3 UDIMMs
Image of Intel Core i7-2600K Processor 3.4GHz 8 MB Cache Socket LGA1155 Intel Core i7-2600K
Image of 3WARE Cable, 1 Unit Of 1 Meter Multi-lane Internal (SFF-8087) Serial Ata Breakou SAS/SATA Cables