SMCC Logo and link to www.smccm.edu

Installing Hyper-v

 

Howard Burpee, Professor, Information Technology, 207.956.0850, howardburpee@ctech.smccme.edu

Courses Open Lab Schedule Contact Free Software
 

Home
CLonezilla Server
Installing Hyper-v
Create a Windows 7 VM
Student How-tos

Up

  How to Install and Configure the Hyper-v Role in Server 2012
  • What is Hyper-v?

    The Hyper-v service is a Type II hypervisor that is included with Server 2012The Hyper-v service is also included with Server 2008 and Windows 8.X Pro and Enterprise versions.
    The Hyper-v service allows you to create virtual machines on your systems.
     
  • When and why would you want to use Hyper-v?

    In a business environment you would use Hyper-v to create and manage virtual machines for use within your infrastructure.  A Hyper-v host system could could have several guest virtual machines configured as domain controllers.
     
  • In the classroom:

    Various exercises in IT courses require a student to have two systems running. There are not always a sufficient amount of physical systems for each student to have access to two.  Using the Hyper-v service allows a student to use one physical system and run more than one OS, one being the host system installed on the physical system, and one being a virtual machine.
     
  • Minimum requirements:
     
    • Installation media for Server 2012 Standard
       
    • The Hyper-v service requires a CPU with hardware assisted virtualization capabilities (HAV).  This capability may have to be enabled in the BIOS.
      Microsoft refers to HAV as SLAT, second level address translation.
       
  • Preliminary steps:
     
    • Install the full (GUI) version of Server 2012
       
    • Install any missing device drivers
       
    • Install all WIndows updates for the OS (not required in the classroom)
       
    • Configure the TCP / IP V4 protocol for full network connectivity
      In the classroom: TCP / IP V6 should be disabled as it is not part of the classroom network infrastructure

Step-by-step guide on adding the Hyper-v role in Server 2012 R2 Standard (full GUI version)

 

  1. Open the Server Manager Console and select number 2, Add roles and features


    Figure 1

     
  2. Verify that the recommended tasks have been completed - Next



    Figure 2

     
  3. Select the installation type - Next. 
    For this process leave at the default - Role-based or feature- based installation



    Figure 3

     
  4. Select the destination server - Next

    In this environment, an AD DS domain name HBTest.local, there is only one DC.  In a larger AD DS domain you would see other DCs in the domain on this screen.


    Figure 4

     
  5. Check the box by Hyper-v


    Figure 5

     
  6. When you select the box by Hyper-v shown in the previous image, an additional option box will pop-up.  Leave at the default settings and select Add Features. 

    As this is your first instance of the Hyper-v service, you will want the management tools.



    Figure 6

     
  7. Selecting Add Features will bring you back to this screen where you can see Hyper-v selectted - Next


    Figure 7

     
  8. Now that you have selected the Hyper-v Role, you will be presented with additional options to add Features.  No additional features are required for Hyper-v - Next


    Figure 8

     
  9. Read about Things to note - Next


    Figure 9

     
  10. A virtual switch is required in Hyper-v, make sure the checkbox beside the installed network adapter is selected - Next

    Many server system units have more than one NIC, you could select multiple network adapters at this time, or even select none, and add the virtual switch later in the Hyper-v management console.



    Figure 10

     
  11. A new feature of Hyper-v in Server 2012 is live migration.  This is an automated process of moving virtual machines from one host to another automatically based upon load.

    Live migration is not required, leave at default (unchecked) - Next



    Figure 11

     
  12. Confirm the location where the virtual machine configuration and virtual hard disks will be stored - Next

    You may want to modify these default locations, as shown in the next image.




    Figure 12

     
  13. Optional: If you choose to modify the default locations for storing the Hyper-v virtual machine file - select browse.

    A window will then open that will allow you to choose a different location for your files.



    Figure 13

     
  14. You will then be able to create a new folder for storing the files on any available volume.


    Figure 14

     
  15. Here is an example of creating a new folder in the root of the %systemdrive% named Virtual Machines.


    Figure 15

     
  16. This image shows the modifications made to the locations where the Hyper-v configuration and virtual hard disks are stored.


    Figure 16

     
  17. Continuing on from step 12 where you accepted the default file storage locations, or from the previous step after modifications.

    Choose to Restart automatically after the Hyper-v service is installed by checking the box, or not.  A restart of the system is required after the Hyper-v role is installed.



    Figure 17

     
  18. If you select the Restart automatically check box on the previous screen, you will see this pop-up window - Yes.


    Figure 18

     
  19. Installation progress.


    Figure 19

     
  20. The system now restarts, automatically if selected.


    Figure 20

     
  21. After the system has restarted, and you have logged back in, a window will pop-up showing the end of the installation process.


    Figure 21

     
  22. Installation succeeded.


    Figure 22


     
  23. Now that the Hyper-v role has been installed, when you go back to the Server Manager console, you will see the Hyper-v Manger listed under the tools menu.


    Figure 23

     
  24. This image shows the Hyper-v Manager console which you will use to create and manage virtual machines.


     


Next steps:

 

  • How to create a Windows 7 Professional Hyper-v virtual machine
     
    • Please note, this process is specific to the SMCC Computer Tech classroom environment in CESC Room 04.

 

  

 

Acceptable Use Policy               Privacy Policy

 

Copyright 1999 - 2017, Howard Burpee, All rights Reserved.  
For problems or questions regarding this web contact the Webmaster.
Various pages on this website were last updated on  September 06, 2017

Southern Maine Community College is an equal opportunity/affirmative action
institution and employer. For more information, please call 207.741.5798.