Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Windows Server 2012 : Installing and Managing Hyper-V in Full or Server Core Mode - Enabling the Hyper-V role

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
6/16/2013 5:06:42 PM

By default, Windows Server does not come with Hyper-V installed. In order to start using the virtual environment, Hyper-V needs to be enabled. Even with its straightforward steps, it is important to understand how it works after the setup and what has changed in Windows architecture.

Getting ready

There are different methods to install Hyper-V. The most common one is through the graphical interface.

To get ready to enable Hyper-V you must be logged on with administrative privileges.

How to do it...

The following steps will demonstrate how to enable the Hyper-V Role for Windows Server and what is changed in the Windows architecture after its installation.

  1. On the Start Screen select Server Manager.
  2. In the Server Manager Dashboard, click on Add roles and features.
  3. In the Add Roles and Feature Wizard, click on Next three times.
  4. On the next screen, Server Roles page, select Hyper-V, as shown in the next screenshot, and click on Next three times.
    How to do it...
  5. In the Virtual Switches window, select the network adapter you want to use on Hyper-V. You can add, remove, and modify the virtual switches after the Hyper-V installation through Hyper-V Manager.
  6. On the Virtual Machine Migration page, check the Allow this server to send and receive live migration of virtual machines option if you want to enable live migration requests, then click on Next.
  7. In the last Hyper-V installation page called Default Stores, specify the default location for virtual disks and virtual machine configuration files, click on Next and then Install to start the installation process.
  8. Reboot the server after the installation.

How it works...

The process that you have performed to install Hyper-V is quite simple, but it changes the processor architecture by creating a new privileged layer called ring -1 that runs under the normal layers. The setup process, completed in the previous task, installs the Microsoft Hypervisor on this layer to make sure that Hyper-V has more privilege than Windows itself. Basically, the host operating system runs above the Hypervisor together and at the same level as the virtual machines. The host turns into a special virtual machine containing the virtualization stack, responsible to manage all the virtual machines from it. The following diagram illustrates Hyper-V being installed in the ring -1 and all the partitions running under it.

How it works...

After the first reboot, the Windows boot (winload.exe) loads the driver (hvboot.sys) responsible to verify the processor that is running and if it supports virtualization. Then the Hypervisor image file is loaded. The host OS and the virtual machines are called partitions. Because they run at the same privileged access above the Hypervisor, the host OS is known as parent partition and the virtual machines are known as child partitions.

There's more...

For automation and fast installation, you can also enable Hyper-V using command lines. You can do that by using the command line ocsetup, Servermanagercmd, or Windows PowerShell.

Installing Hyper-V using Windows PowerShell

For a PowerShell installation, open Windows PowerShell and run the following command:

Add-WindowsFeature Hyper-V
Other -----------------
- Windows Server 2012 : Installing and Managing Hyper-V in Full or Server Core Mode - Verifying Hyper-V requirements
- Windows Server 2012 Requirements and Installation : Customizing the Interface with Features on Demand
- Windows Server 2012 Requirements and Installation : Deploying Minimal Server Interface
- Windows Server 2012 Requirements and Installation : Switching Between Install Modes
- Windows Server 2012 Requirements and Installation : Installing Server 2012 (part 2) - Server with a GUI Install
- Windows Server 2012 Requirements and Installation : Installing Server 2012 (part 1) - Server Core Install
- Windows Server 2012 Requirements and Installation : Server 2012 Editions, Server 2012 Requirements
- SharePoint 2010 : Farm Governance - Restricting web part access in the farm
- SharePoint 2010 : Farm Governance - Installing a feature and activating it
- Microsoft Lync Server 2010 : Planning for Voice Deployment - Voice Resilience
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server