Hyper-V Server 2012

Hyper-V provides infrastructure so you can virtualize applications and workloads to support a variety of business goals aimed at improving efficiency and reducing costs, such as:

  • Establish or expand a private cloud environment. Hyper-V can help you move to or expand use of shared resources and adjust utilization as demand changes, to provide more flexible, on-demand IT services.
  • Increase hardware utilization. By consolidating servers and workloads onto fewer, more powerful physical computers, you can reduce consumption of resources such as power and physical space.
  • Improve business continuity. Hyper-V can help you minimize the impact of both scheduled and unscheduled downtime of your workloads.
  • Establish or expand a virtual desktop infrastructure (VDI). A centralized desktop strategy with VDI can help you increase business agility and data security, as well as simplify regulatory compliance and management of the desktop operating system and applications. Deploy Hyper-V and Remote Desktop Virtualization Host (RD Virtualization Host) on the same physical computer to make personal virtual desktops or virtual desktop pools available to your users.
  • Increase efficiency in development and test activities. You can use virtual machines to reproduce different computing environments without the need for acquiring or maintaining all the hardware you would otherwise need.

    Install Hyper-V and Configure a Virtual Machine

    Before you attempt to install Hyper-V, make sure that you have the following:

    • A user account with administrator permissions for the computer.
    • Enough memory to run all the virtual machines that you plan to run at the same time.
    • Software for the virtual machine. For example, to test a particular workload, you will need installation media for the operating system and the workload. If you want to test certain features of Windows Server 2012, you can use the same installation media in the virtual machine that you used to install Windows Server 2012 on the physical computer.
    1. In Server Manager, on the Manage menu, click Add Roles and Features.
    2. On the Before you begin page, verify that your destination server and network environment are prepared for the role and feature you want to install. Click Next.
    3. On the Select installation type page, select Role-based or feature-based installation and then clickNext.
    4. On the Select destination server page, select a server from the server pool and then click Next.
    5. On the Select server roles page, select Hyper-V.
    6. To add the tools that you use to create and manage virtual machines, click Add Features. On the Features page, click Next.
    7. On the Create Virtual Switches page, Virtual Machine Migration page, and Default Stores page, select the appropriate options.
    8. On the Confirm installation selections page, select Restart the destination server automatically if required, and then click Install.
    9. When installation is finished, verify the installation by opening the All Servers page in Server Manager, selecting a server on which you installed Hyper-V, and viewing the Roles and Features tile on the page for the selected server.

    To enable Client Hyper-V

  1. In the Control Panel, click Programs, and then click Programs and Features.
  2. Click Turn Windows features on or off.
  3. Click Hyper-V, click OK, and then click Close.
  1. Do one of the following to open a Windows PowerShell session with elevated user rights.
    • On the Windows desktop, right-click Windows PowerShell on the taskbar, and then click Run as Administrator.
    • On the Windows Start page, type any part of the name Windows PowerShell. Right-click the shortcut for Windows PowerShell when it is displayed on the Start page in the Apps results, clickAdvanced, and then click Run as Administrator. To pin the Windows PowerShell shortcut to theStart page, right-click the shortcut, and then click Pin to Start.
  2. Type the following, and then press Enter, where computer_name represents a remote computer on which you want to install Hyper-V. To install Hyper-V directly from a console session, do not include -ComputerName <computer_name> in the command.
    Install-WindowsFeature –Name Hyper-V -ComputerName <computer_name> -IncludeManagementTools -Restart
    
  3. To view a list of available and installed roles and features on the local server, type Get-WindowsFeatureand then press Enter. The results of the cmdlet contain the command names of roles and features that have been added to this computer.
  4. When the installation is finished, verify installation by running the Get-WindowsFeature. If you installed Hyper-V remotely, include the ComputerName parameter (Get-WindowsFeature -ComputerName <computer_name>) to view a list of roles and features that are installed on the server.

 To install Client Hyper-V using the Get-WindowsOptionalFeature cmdlet

  1. Do one of the following to open a Windows PowerShell session with elevated user rights.
    • On the Windows desktop, right-click Windows PowerShell on the taskbar, and then click Run as Administrator.
    • On the Windows Start page, type any part of the name Windows PowerShell. Right-click the shortcut for Windows PowerShell when it is displayed on the Start page in the Apps results, clickAdvanced, and then click Run as Administrator. To pin the Windows PowerShell shortcut to theStart page, right-click the shortcut, and then click Pin to Start.
  2. Type the following, and then press Enter.
    enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All 
    
  3. When the installation is finished, reboot the computer.
  1. Open Hyper-V Manager.
  2. From the navigation pane of Hyper-V Manager, select the computer running Hyper-V.
  3. From the Actions pane, click New and then click Virtual Machine.
  4. The New Virtual Machine wizard opens. Click Next.
  5. On the Specify Name and Location page, type an appropriate name.
  6. On the Assign Memory page, specify enough memory to start the guest operating system.
  7. On the Configure Networking page, connect the virtual machine to the switch you created when you installed Hyper-V.
  8. On the Connect Virtual Hard Disk and Installation Options pages, choose the option that is appropriate for how you plan to install the guest operating system:
    • If you will install the guest operating system from a DVD or an image file (an .ISO file), chooseCreate a virtual hard disk. Click Next, and then click the option that describes the type of media you will use. For example, to use an .iso file, click Install an operating system from a boot CD/DVD and then specify the path to the .iso file.
    • If the guest operating system is already installed in a virtual hard disk, choose Use an existing virtual hard disk and click Next. Then, choose Install an operating system later.
  9. On the Summary page, verify your selections and then click Finish.
  1. From Hyper-V Manager, in the Virtual Machines section of the results pane, right-click the name of the virtual machine and click Connect.
  2. The Virtual Machine Connection tool opens.
  3. From the Action menu in the Virtual Machine Connection window, click Start.
  4. The virtual machine starts, searches the startup devices, and loads the installation package.
  5. Proceed through the installation.
  1. Open Hyper-V Manager. From the Server Manager Tools menu, click Hyper-V Manager.
  2. Connect to the virtual machine. From the Virtual Machines section of the results pane, using one of the following methods:
    • Right-click the name of the virtual machine and click Connect.
    • Select the name of the virtual machine. In the Action pane, click Connect.
  3. The Virtual Machine Connection tool opens. From the Action menu of Virtual Machine Connection, clickInsert Integration Services Setup Disk. This action loads the setup disk in the virtual DVD drive.
  4. Depending on the operating system being installed, you may need to start the installation manually. Click anywhere in the guest operating system window and navigate to the CD drive. Use the method that is appropriate for the guest operating system to start the installation package from the CD drive.
  5. After the installation finishes, all integration services are available for use.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s