Microsoft Hyper-V technology- An alternative to autoscale tools

Microsoft Hyper-V technology- An alternative to autoscale tools

Microsoft Hyper-V technology- An alternative to autoscale tools

In this article, I’m going to give a detailed explanation on what virtualization is. I will take a look at Microsoft Hyper-V technology and examine it by performing the initial steps of configuration: Installation and virtual machine deployment.

What is Microsoft Hyper-V?

Microsoft could not ignore the virtualization trend. Microsoft introduced Hyper-V as a virtualization platform in 2008, and it continued to release new Hyper-V versions with new Windows server versions. So far, there is a total of four versions, including Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2 and Windows Server 2008.


Since Hyper-V’s debut, it has always been a Windows Server feature, which could be installed whenever a server administrator decided to do so. It’s also available as a separate product called Microsoft Hyper-V Server. Basically, Microsoft Hyper-V Server is a standalone and shortened version of Windows Server where Microsoft cut out everything irrelevant to virtualization, services and Graphical User Interface (GUI) to make the server as small as possible. Plus, without the bells and whistles, the server requires less maintenance time and it is less vulnerable, because, for example, fewer components mean less patching.

Architecture an overview

Hyper-V is a hybrid hypervisor, which is installed from OS (via Windows wizard of adding roles). However, during installation, it redesigns the OS architecture and becomes just like a next layer on the physical hardware (refer to pic.1)


How to install Hyper-V

It’s simple and the same as any typical program installation. First of all, check and see which Windows version you have. If it’s Windows Server OS and newer than 2008, you should activate the Hyper-V role through the Server Manager, and then perform the installation by following the wizard. For Windows 8/8.1, check Windows 8 versions comparison, to make sure your current OS license allows you to deploy Hyper-V.

Note: If you are running a Windows version older than 2008, you will need to upgrade to a newer version before you can proceed.

Once the installation is complete, the computer will reboot. After it has rebooted, you will notice additional services have been installed, including Hyper-V Manager.

Installing Hyper-V on a server establishes the server as a virtualization server. Each virtual machine you install on the server must be assigned resources to use and then be configured. The number of virtual machines you can run on any individual server depends on the server’s hardware configuration and workload. 

During setup, you specify the amount of memory available to a virtual machine. Although you can change that memory allocation, the amount of memory actively allocated to a virtual machine cannot be used in other ways. 

To install and configure a virtual machine, complete the following steps: 

·         Start Hyper-V Manager by clicking Start, Administrative Tools, Hyper-V Manager. 

·         In Hyper-V Manager, right-click the server node in the left pane, point to New, and then select Virtual Machine. This starts the New Virtual Machine Wizard. Click Next. 

·          In the Name text box, enter a name for the virtual machine, such as AppServer02. 

·         By default, the virtual machine data is stored on the system disk. To select a different location, select the Store The Virtual Machine In A Different Location check box, click Browse, and then use the Select Folder dialog box to select a save location. Click Next. 

·         On the Assign Memory page, specify the amount of memory to allocate to the virtual machine. In most cases, you should reserve at least the minimum amount of memory recommended for the operating system you plan to install. Click Next. 

·         On the Configure Networking page, use the Connection list to select a network adapter to use. Each new virtual machine includes a network adapter, and you can configure the adapter to use an available virtual network for communicating with other computers. Click Next. 

·         On the Connect Virtual Hard Disk page, use the options provided to name and create a virtual hard disk for the virtual machine. Each virtual machine requires a virtual hard disk so that you can install an operating system and required applications. Click Next. 

·          On the Installation Options page, select Install An Operating System From A Boot CD/DVD-ROM. If you have physical distribution media, insert the distribution media, and then specify the CD/DVD drive to use. If you want to install from a .iso image, select Image File, click Browse, and then use the Open dialog box to select the image file to use.

·         Click Next, and then click Finish. 

·          In Hyper-V Manager, right-click the name of the virtual machine and then click Connect. 

·         In the Virtual Machine Connection window, click Start. After the virtual machine is initialized, the operating system installation should start automatically. Continue with the operating system installation as you normally would.


 Licensing in Hyper-V

Windows Server allows you to install one physical instance of an OS, plus some virtual machines, depends on the OS version and edition.

From the other side, the standalone edition of Hyper-V does not need any operating system license, but you will need to buy licenses for any instances of Windows when you install them on VMs. For example, if you have Windows Server 2012 Datacenter, you can install an unlimited number of VMs right away. To find out more information, please refer to the article about Windows Server 2012 R2 licensing.