Hyper-V Replica – Installation Process

Share this:
Hyper-V Replica is installed as part of the Hyper-V Role.
Installation UI/Wizard

To add the Hyper-V Role to a server installation, use the Add Role and Feature Wizard (ARFW), which is part of Server Manager or use the Deployment Image and Servicing Management (DISM) command line tool. A reboot is required. This can occur automatically if the installation is being executed in the Server Manager interface by checking a box (Restart each target machine automatically if needed) in the wizard (Confirmation screen). This allows the server to reboot, if needed.

clip_image002

Installation Command Line Interface (CLI)

The Hyper-V Role can also be installed from the command line interface by using the Deployment Image and Service Management (DISM) command line tool. At a command prompt, type: dism /online /enable-feature /featurename: Microsoft-Hyper-V. A reboot is required to complete the installation. The Server Manager PowerShell cmdlet Install-WindowsFeature can also be used.

Install-WindowsFeature -Name Hyper-V -IncludeManagementTools

When adding the Hyper-V Role using the ARFW, there is an opportunity to create Virtual Switches in Hyper-V. This step can be accomplished in the wizard when installing the Role or it can be done afterwards using the Hyper-V Manager interface.

clip_image004

You can allow the Hyper-V server to receive Live Migrations

clip_image006

You can also specify the default location for virtual hard disks and virtual machine configuration files

clip_image008

A reboot is required to complete the configuration of the Hyper-V role.

clip_image010

Verifying Installation

Once the installation is completed (following a reboot of the server), the Hyper-V role will show as installed in Server Manager and the Hyper-V Manager will be listed under Administrative tools. To verify proper functioning of Hyper-V, run the Hyper-V Best Practices Analyzer (BPA) and then create a new virtual machine and verify it starts correctly.

Uninstalling/Disabling

To remove the Hyper-V Role, use the Remove Roles and Features Wizard (RRFW) in Server Manager, use the Deployment Image and Servicing Management (DISM) command line tool, or use the Server Manager PowerShell Cmdlet Uninstall-WindowsFeature. A reboot is required to complete the process.

Written by Marcos Nogueira

With more than 19 years’ experience in Datacenter Architectures, Marcos Nogueira is currently working as a Senior Cloud Solution Architect. He is an expert in Private and Hybrid Cloud, with a focus on Microsoft Azure, Virtualization and System Center. He has worked in several industries, including Aerospace, Transportation, Energy, Manufacturing, Financial Services, Government, Health Care, Telecoms, IT Services, and Gas & Oil in different countries and continents.

Marcos was an MVP in System Center Cloud & Datacenter Managenment and he has +14 years as Microsoft Certified, with more than 100+ certifications (MCT, MCSE, and MCITP, among others). Marcos is also certified in VMware, CompTIA and ITIL v3. He assisted Microsoft in the development of workshops and special events on Private & Hybrid Cloud, Azure, System Center, Windows Server, Hyper-V and as a speaker at several Microsoft TechEd/Ignite and communities events around the world.

Related Post

How to disconnect media on all VMs in SCVMM 2008 R... Hello folks, Today I had a requirement to disable configure all VMs of a SCVMM 2008 R2 to  No Media and I could’ve gone to each one of the VMs, ask P...
Integration between Hyper-V Network Virtualization... One of features on Windows Server 2012 R2 that was improved since the last version is network virtualization. Virtual networks are created by using Hy...
Installing and running Hyper-V 2012 R2 from a USB ... Hyper-V 2012 R2 Server is the free version of Hyper-V and it offers all the components and features that are available in Windows Server 2012 R2 with ...
Virtualizing Your Data Center with Hyper-V and Sys... Free online event with live Q&A: http://aka.ms/virtDC Wednesday, February 19th from 9am – 5pm PST If you're new to virtualization, or if you hav...