SlideShare a Scribd company logo
Hyper-V Replication on Windows Server 2016
Step by Step (V1.1)
Ahmed Abdelwahed
Microsoft Certified Trainer
Ahmed_abdulwahed@outlook.com
Hyper-V Replication on Windows Server 2016
2 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Contents
Lab Scenario ..............................................................................................................................................................................3
Existing Environment.................................................................................................................................................................3
Working with Hyper-V...............................................................................................................................................................4
add Hyper-V role through PowerShell ..................................................................................................................................4
add Virtual Switch to Hyper-V...............................................................................................................................................4
Install Server Core 2016 on Hyper-V.........................................................................................................................................5
Manage server 2016 Core locally............................................................................................................................................14
Windows Server 2016 Initial Configuration ........................................................................................................................14
add IIS Role..........................................................................................................................................................................15
Configure Hyper-V Replica Server...........................................................................................................................................16
add Hyper-V role through PowerShell ................................................................................................................................16
add Virtual Switch to Hyper-V.............................................................................................................................................16
Hyper-V Replication Process ...................................................................................................................................................17
Enable Hyper-V Replication settings...................................................................................................................................17
Replication Process .............................................................................................................................................................19
Replication Status................................................................................................................................................................23
Test replicated VM ..............................................................................................................................................................25
Hyper-V Replication on Windows Server 2016
3 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Lab Scenario
This lab provides basic information about:
1- Install and configure Hyper-V 2016 Server role.
2- Install Windows Server 2016 Core VM on Hyper-V.
3- Enable and configure Hyper-V 2016 Replica Server.
4- Replicate Server Core 2016 VM from Hyper-V server to another through Hyper-V.
Existing Environment
we have Active Directory and DNS in Windows Server 2016 named ITPROLABS.XYZ, for this lab
we join another 2 Windows Server 2016 machine named Hyper-V01 & Hyper-V02 to our domain,
one of these servers will play Hyper-V server Role which host Windows Server core 2016, while
second one will act as Hyper-V replica server to receive replicated VM from first Hyper-V server.
Domain: ITPROLABS.XYZ
DC IP: 192.168.153.10
DNS: 192.168.153.10
Hyper-V01: 192.168.153.50
Hyper-V02 replica server: 192.168.153.51
Server Core VM: 192.168.153.52
For full Windows Server 2016 active directory lab check the following link:
https://gallery.technet.microsoft.com/Install-Windows-Server-f37e3c6d?redir=0
For full Hyper-V and Windows Server 2016 Core lab check the following link:
https://gallery.technet.microsoft.com/Install-and-Configure-b70f4cc2?redir=0
Hyper-V Replication on Windows Server 2016
4 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Working with Hyper-V
Login to server that will play Hyper-V role.
Server name: Hyper-V01
IP address: 192.168.153.50
Domain: ITProLab.xyz
add Hyper-V role through PowerShell
Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart
add Virtual Switch to Hyper-V
Add external virtual switch so we can connect VMs that hosted in Hyper-V with other VMs
Hyper-V Replication on Windows Server 2016
5 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Install Server Core 2016 on Hyper-V
from Hyper-V01 server manager access Hyper-V management console and follow the below figures to install
Server Core 2016 VM.
Hyper-V Replication on Windows Server 2016
6 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Hyper-V Replication on Windows Server 2016
7 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Browse and select Windows Server 2016 ISO image to use it as installation source
Hyper-V Replication on Windows Server 2016
8 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Connect to Server Core VM and start installation process
Hyper-V Replication on Windows Server 2016
9 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Hyper-V Replication on Windows Server 2016
10 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Hyper-V Replication on Windows Server 2016
11 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Select Windows Server 2016 Standard Core
Hyper-V Replication on Windows Server 2016
12 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Hyper-V Replication on Windows Server 2016
13 | P a g e
http://www.mycertprofile.com/Profile/3992184764
After installation is done, change local administrator password (we need it to access our server for first time)
Hyper-V Replication on Windows Server 2016
14 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Manage server 2016 Core locally
Windows Server 2016 Initial Configuration
Login to server core using local administrator account, then use Sconfig to change server Initial Configuration like Server
name and network configuration, so we can join our server to ITPROLABS.XYZ domain.
Server Name: WebServer
IP address: 192.168.153.52
SM:255.255.255.0
DNS: 192.168.153.10
DG: 192.168.153.2
Hyper-V Replication on Windows Server 2016
15 | P a g e
http://www.mycertprofile.com/Profile/3992184764
add IIS Role
Type 15 to exit sconfig to command line mode then type PowerShell to access PowerShell mode. Through
PowerShell use the following command to install IIS server role
Install-WindowsFeature -name Web-Server -IncludeManagementTools -verbose
After IIS installation is done, you can access WebServer through web as shown down
Hyper-V Replication on Windows Server 2016
16 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Configure Hyper-V Replica Server
add Hyper-V role through PowerShell
add Virtual Switch to Hyper-V
Hyper-V Replication on Windows Server 2016
17 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Hyper-V Replication Process
Enable Hyper-V Replication settings
To allow WebServer VM to replicate from Hyper-V01 server to another Hyper-V server (Hyper-V02),
enable Hyper-V replication settings on both Hyper-V servers
Hyper-V Replication on Windows Server 2016
18 | P a g e
http://www.mycertprofile.com/Profile/3992184764
also, enable same settings on Hyper-V02 server
Hyper-V Replication on Windows Server 2016
19 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Replication Process
From Hyper-V01 server enable WebServer VM replication to Hyper-V02 server
Hyper-V Replication on Windows Server 2016
20 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Browse and select Hyper-V server which will host the replicated VM, in our scenario replica server will be Hyper-
V02 server.
Hyper-V Replication on Windows Server 2016
21 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Hyper-V Replication on Windows Server 2016
22 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Hyper-V Replication on Windows Server 2016
23 | P a g e
http://www.mycertprofile.com/Profile/3992184764
From task manager check network traffic, you will notice that there is no traffic before replication
Replication Status
When replication start, notice send traffic increase because the replication go through network as we
configured.
Hyper-V Replication on Windows Server 2016
24 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Go to another Hyper-V server which receive replicated VM, will notice increment in receive traffic
Hyper-V Replication on Windows Server 2016
25 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Test replicated VM
- Shutdown the main webserver VM then try to access IIS which hosted on this server
Hyper-V Replication on Windows Server 2016
26 | P a g e
http://www.mycertprofile.com/Profile/3992184764
Now, IIS services is down.
- Go to replicated VM and follow the figures below to operate the replicated VM
Hyper-V Replication on Windows Server 2016
27 | P a g e
http://www.mycertprofile.com/Profile/3992184764
try again to access IIS on WebServer VM, Now is working through replicated VM.
Ad

More Related Content

What's hot (20)

File server resource manager (fsrm) in windows server 2016
File server resource manager (fsrm) in windows server 2016File server resource manager (fsrm) in windows server 2016
File server resource manager (fsrm) in windows server 2016
Ahmed Abdelwahed
 
Installing windows server 2016 TP 4
Installing windows server 2016 TP 4Installing windows server 2016 TP 4
Installing windows server 2016 TP 4
Ayman Sheta
 
How to publish your NAS on the Internet?
How to publish your NAS on the Internet?How to publish your NAS on the Internet?
How to publish your NAS on the Internet?
Thecus Technology Corp.,
 
Inmagic Content Server Enterprise/Standard v1.3 Install Notes
Inmagic Content Server Enterprise/Standard v1.3 Install NotesInmagic Content Server Enterprise/Standard v1.3 Install Notes
Inmagic Content Server Enterprise/Standard v1.3 Install Notes
webhostingguy
 
Installing and Setup Web Server
Installing and Setup Web ServerInstalling and Setup Web Server
Installing and Setup Web Server
Thecus Technology Corp.,
 
Pandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modules
Pandora FMS
 
Pandora FMS: Raven DB Plugin
Pandora FMS: Raven DB PluginPandora FMS: Raven DB Plugin
Pandora FMS: Raven DB Plugin
Pandora FMS
 
Oracle vm
Oracle vmOracle vm
Oracle vm
Ravi Kumar Lanke
 
Weblogic installation in linux
Weblogic installation in linuxWeblogic installation in linux
Weblogic installation in linux
Ravi Kumar Lanke
 
harjotverma_assign3
harjotverma_assign3harjotverma_assign3
harjotverma_assign3
Harjot Verma
 
O C S Inventory N G Installation And Administration Guide 1
O C S  Inventory  N G  Installation And  Administration  Guide 1O C S  Inventory  N G  Installation And  Administration  Guide 1
O C S Inventory N G Installation And Administration Guide 1
rossodavide
 
Team lab install_en
Team lab install_enTeam lab install_en
Team lab install_en
patriotaguate
 
System Engineer: OpenLDAP and Samba Server
System Engineer: OpenLDAP and Samba ServerSystem Engineer: OpenLDAP and Samba Server
System Engineer: OpenLDAP and Samba Server
Tola LENG
 
Changes
ChangesChanges
Changes
Johan Hessels
 
Free ERP 2BizBox Quick Start Tutorial
Free ERP 2BizBox Quick Start TutorialFree ERP 2BizBox Quick Start Tutorial
Free ERP 2BizBox Quick Start Tutorial
253725291
 
KB Article 1-FINAL
KB Article 1-FINALKB Article 1-FINAL
KB Article 1-FINAL
John McKnight
 
WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation
K Kumar Guduru
 
Oracle virtual server-2-t0-3-upgrade
Oracle virtual server-2-t0-3-upgradeOracle virtual server-2-t0-3-upgrade
Oracle virtual server-2-t0-3-upgrade
Ravi Kumar Lanke
 
Microsoft Certifications 70-410 dumps
Microsoft Certifications 70-410 dumps Microsoft Certifications 70-410 dumps
Microsoft Certifications 70-410 dumps
lilylucy
 
Microsoft exchange-server-2013-installation
Microsoft exchange-server-2013-installationMicrosoft exchange-server-2013-installation
Microsoft exchange-server-2013-installation
takdirlovely09
 
File server resource manager (fsrm) in windows server 2016
File server resource manager (fsrm) in windows server 2016File server resource manager (fsrm) in windows server 2016
File server resource manager (fsrm) in windows server 2016
Ahmed Abdelwahed
 
Installing windows server 2016 TP 4
Installing windows server 2016 TP 4Installing windows server 2016 TP 4
Installing windows server 2016 TP 4
Ayman Sheta
 
Inmagic Content Server Enterprise/Standard v1.3 Install Notes
Inmagic Content Server Enterprise/Standard v1.3 Install NotesInmagic Content Server Enterprise/Standard v1.3 Install Notes
Inmagic Content Server Enterprise/Standard v1.3 Install Notes
webhostingguy
 
Pandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modulesPandora FMS: Cisco Remote inventory modules
Pandora FMS: Cisco Remote inventory modules
Pandora FMS
 
Pandora FMS: Raven DB Plugin
Pandora FMS: Raven DB PluginPandora FMS: Raven DB Plugin
Pandora FMS: Raven DB Plugin
Pandora FMS
 
Weblogic installation in linux
Weblogic installation in linuxWeblogic installation in linux
Weblogic installation in linux
Ravi Kumar Lanke
 
harjotverma_assign3
harjotverma_assign3harjotverma_assign3
harjotverma_assign3
Harjot Verma
 
O C S Inventory N G Installation And Administration Guide 1
O C S  Inventory  N G  Installation And  Administration  Guide 1O C S  Inventory  N G  Installation And  Administration  Guide 1
O C S Inventory N G Installation And Administration Guide 1
rossodavide
 
System Engineer: OpenLDAP and Samba Server
System Engineer: OpenLDAP and Samba ServerSystem Engineer: OpenLDAP and Samba Server
System Engineer: OpenLDAP and Samba Server
Tola LENG
 
Free ERP 2BizBox Quick Start Tutorial
Free ERP 2BizBox Quick Start TutorialFree ERP 2BizBox Quick Start Tutorial
Free ERP 2BizBox Quick Start Tutorial
253725291
 
WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation
K Kumar Guduru
 
Oracle virtual server-2-t0-3-upgrade
Oracle virtual server-2-t0-3-upgradeOracle virtual server-2-t0-3-upgrade
Oracle virtual server-2-t0-3-upgrade
Ravi Kumar Lanke
 
Microsoft Certifications 70-410 dumps
Microsoft Certifications 70-410 dumps Microsoft Certifications 70-410 dumps
Microsoft Certifications 70-410 dumps
lilylucy
 
Microsoft exchange-server-2013-installation
Microsoft exchange-server-2013-installationMicrosoft exchange-server-2013-installation
Microsoft exchange-server-2013-installation
takdirlovely09
 

Similar to Hyper v replication on windows server 2016 step by step (20)

Download ebooks file Practical mod_perl 1st Edition Stas Bekman all chapters
Download ebooks file Practical mod_perl 1st Edition Stas Bekman all chaptersDownload ebooks file Practical mod_perl 1st Edition Stas Bekman all chapters
Download ebooks file Practical mod_perl 1st Edition Stas Bekman all chapters
cevadkulah
 
Practical mod_perl 1st Edition Stas Bekman
Practical mod_perl 1st Edition Stas BekmanPractical mod_perl 1st Edition Stas Bekman
Practical mod_perl 1st Edition Stas Bekman
khuphejavadi
 
How to upgrade to MongoDB 4.0 - Percona Europe 2018
How to upgrade to MongoDB 4.0 - Percona Europe 2018How to upgrade to MongoDB 4.0 - Percona Europe 2018
How to upgrade to MongoDB 4.0 - Percona Europe 2018
Antonios Giannopoulos
 
WP-CLI - Super Admin Tips and Tricks
WP-CLI - Super Admin Tips and TricksWP-CLI - Super Admin Tips and Tricks
WP-CLI - Super Admin Tips and Tricks
Jonathan Perlman
 
CodeShip
CodeShipCodeShip
CodeShip
Bryan Reinbolt
 
Exchange 2016v1.3.pdf
Exchange 2016v1.3.pdfExchange 2016v1.3.pdf
Exchange 2016v1.3.pdf
Rao vặt Đồng Nai
 
Ws08 R2 Itpro Session 3 New Server Deployment And Migration
Ws08 R2 Itpro Session 3 New Server Deployment And MigrationWs08 R2 Itpro Session 3 New Server Deployment And Migration
Ws08 R2 Itpro Session 3 New Server Deployment And Migration
chenley
 
SAP SQL Anywhere High Availability Tutorial for Business Objects
SAP SQL Anywhere High Availability Tutorial for Business ObjectsSAP SQL Anywhere High Availability Tutorial for Business Objects
SAP SQL Anywhere High Availability Tutorial for Business Objects
Sitesh Patel
 
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
barbuhalahdl
 
VMware Cookbook A Real World Guide to Effective VMware Use Second Edition Rya...
VMware Cookbook A Real World Guide to Effective VMware Use Second Edition Rya...VMware Cookbook A Real World Guide to Effective VMware Use Second Edition Rya...
VMware Cookbook A Real World Guide to Effective VMware Use Second Edition Rya...
lhkbossic
 
Chef compliance - Intermediate Training
Chef compliance - Intermediate TrainingChef compliance - Intermediate Training
Chef compliance - Intermediate Training
Sarah Hynes Cheney
 
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the ProxyCloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
Maki Toshio
 
WebWork in Action In Action First Edition Patrick Lightbody
WebWork in Action In Action First Edition Patrick LightbodyWebWork in Action In Action First Edition Patrick Lightbody
WebWork in Action In Action First Edition Patrick Lightbody
sminkasimian
 
CloudStack - Top 5 Technical Issues and Troubleshooting
CloudStack - Top 5 Technical Issues and TroubleshootingCloudStack - Top 5 Technical Issues and Troubleshooting
CloudStack - Top 5 Technical Issues and Troubleshooting
ShapeBlue
 
Hyper-v Replica
Hyper-v ReplicaHyper-v Replica
Hyper-v Replica
Paulo Freitas
 
Workstation pro-12 guía
Workstation pro-12 guíaWorkstation pro-12 guía
Workstation pro-12 guía
fhsjyjtyjit
 
Windows Server 2016 First Look (Part 1)
Windows Server 2016 First Look (Part 1)Windows Server 2016 First Look (Part 1)
Windows Server 2016 First Look (Part 1)
Tuan Yang
 
Swift configurator installation-manual
Swift configurator installation-manualSwift configurator installation-manual
Swift configurator installation-manual
Pramod Sharma
 
Performance testing using hp load runner
Performance testing using hp load runnerPerformance testing using hp load runner
Performance testing using hp load runner
Return on Intelligence
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installation
parallelminder
 
Download ebooks file Practical mod_perl 1st Edition Stas Bekman all chapters
Download ebooks file Practical mod_perl 1st Edition Stas Bekman all chaptersDownload ebooks file Practical mod_perl 1st Edition Stas Bekman all chapters
Download ebooks file Practical mod_perl 1st Edition Stas Bekman all chapters
cevadkulah
 
Practical mod_perl 1st Edition Stas Bekman
Practical mod_perl 1st Edition Stas BekmanPractical mod_perl 1st Edition Stas Bekman
Practical mod_perl 1st Edition Stas Bekman
khuphejavadi
 
How to upgrade to MongoDB 4.0 - Percona Europe 2018
How to upgrade to MongoDB 4.0 - Percona Europe 2018How to upgrade to MongoDB 4.0 - Percona Europe 2018
How to upgrade to MongoDB 4.0 - Percona Europe 2018
Antonios Giannopoulos
 
WP-CLI - Super Admin Tips and Tricks
WP-CLI - Super Admin Tips and TricksWP-CLI - Super Admin Tips and Tricks
WP-CLI - Super Admin Tips and Tricks
Jonathan Perlman
 
Ws08 R2 Itpro Session 3 New Server Deployment And Migration
Ws08 R2 Itpro Session 3 New Server Deployment And MigrationWs08 R2 Itpro Session 3 New Server Deployment And Migration
Ws08 R2 Itpro Session 3 New Server Deployment And Migration
chenley
 
SAP SQL Anywhere High Availability Tutorial for Business Objects
SAP SQL Anywhere High Availability Tutorial for Business ObjectsSAP SQL Anywhere High Availability Tutorial for Business Objects
SAP SQL Anywhere High Availability Tutorial for Business Objects
Sitesh Patel
 
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
Programming ASP NET MVC 4 Developing Real World Web Applications with ASP NET...
barbuhalahdl
 
VMware Cookbook A Real World Guide to Effective VMware Use Second Edition Rya...
VMware Cookbook A Real World Guide to Effective VMware Use Second Edition Rya...VMware Cookbook A Real World Guide to Effective VMware Use Second Edition Rya...
VMware Cookbook A Real World Guide to Effective VMware Use Second Edition Rya...
lhkbossic
 
Chef compliance - Intermediate Training
Chef compliance - Intermediate TrainingChef compliance - Intermediate Training
Chef compliance - Intermediate Training
Sarah Hynes Cheney
 
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the ProxyCloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
Cloud Foundry Day in Tokyo Lightning Talk - Cloud Foundry over the Proxy
Maki Toshio
 
WebWork in Action In Action First Edition Patrick Lightbody
WebWork in Action In Action First Edition Patrick LightbodyWebWork in Action In Action First Edition Patrick Lightbody
WebWork in Action In Action First Edition Patrick Lightbody
sminkasimian
 
CloudStack - Top 5 Technical Issues and Troubleshooting
CloudStack - Top 5 Technical Issues and TroubleshootingCloudStack - Top 5 Technical Issues and Troubleshooting
CloudStack - Top 5 Technical Issues and Troubleshooting
ShapeBlue
 
Workstation pro-12 guía
Workstation pro-12 guíaWorkstation pro-12 guía
Workstation pro-12 guía
fhsjyjtyjit
 
Windows Server 2016 First Look (Part 1)
Windows Server 2016 First Look (Part 1)Windows Server 2016 First Look (Part 1)
Windows Server 2016 First Look (Part 1)
Tuan Yang
 
Swift configurator installation-manual
Swift configurator installation-manualSwift configurator installation-manual
Swift configurator installation-manual
Pramod Sharma
 
Performance testing using hp load runner
Performance testing using hp load runnerPerformance testing using hp load runner
Performance testing using hp load runner
Return on Intelligence
 
Share point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installationShare point 2010 enterprise single server farm installation
Share point 2010 enterprise single server farm installation
parallelminder
 
Ad

Recently uploaded (20)

Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Datastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptxDatastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptx
kaleeswaric3
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
 
Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Datastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptxDatastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptx
kaleeswaric3
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Asthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdfAsthma presentación en inglés abril 2025 pdf
Asthma presentación en inglés abril 2025 pdf
VanessaRaudez
 
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your UsersAutomation Dreamin' 2022: Sharing Some Gratitude with Your Users
Automation Dreamin' 2022: Sharing Some Gratitude with Your Users
Lynda Kane
 
Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Ad

Hyper v replication on windows server 2016 step by step

  • 1. Hyper-V Replication on Windows Server 2016 Step by Step (V1.1) Ahmed Abdelwahed Microsoft Certified Trainer [email protected]
  • 2. Hyper-V Replication on Windows Server 2016 2 | P a g e http://www.mycertprofile.com/Profile/3992184764 Contents Lab Scenario ..............................................................................................................................................................................3 Existing Environment.................................................................................................................................................................3 Working with Hyper-V...............................................................................................................................................................4 add Hyper-V role through PowerShell ..................................................................................................................................4 add Virtual Switch to Hyper-V...............................................................................................................................................4 Install Server Core 2016 on Hyper-V.........................................................................................................................................5 Manage server 2016 Core locally............................................................................................................................................14 Windows Server 2016 Initial Configuration ........................................................................................................................14 add IIS Role..........................................................................................................................................................................15 Configure Hyper-V Replica Server...........................................................................................................................................16 add Hyper-V role through PowerShell ................................................................................................................................16 add Virtual Switch to Hyper-V.............................................................................................................................................16 Hyper-V Replication Process ...................................................................................................................................................17 Enable Hyper-V Replication settings...................................................................................................................................17 Replication Process .............................................................................................................................................................19 Replication Status................................................................................................................................................................23 Test replicated VM ..............................................................................................................................................................25
  • 3. Hyper-V Replication on Windows Server 2016 3 | P a g e http://www.mycertprofile.com/Profile/3992184764 Lab Scenario This lab provides basic information about: 1- Install and configure Hyper-V 2016 Server role. 2- Install Windows Server 2016 Core VM on Hyper-V. 3- Enable and configure Hyper-V 2016 Replica Server. 4- Replicate Server Core 2016 VM from Hyper-V server to another through Hyper-V. Existing Environment we have Active Directory and DNS in Windows Server 2016 named ITPROLABS.XYZ, for this lab we join another 2 Windows Server 2016 machine named Hyper-V01 & Hyper-V02 to our domain, one of these servers will play Hyper-V server Role which host Windows Server core 2016, while second one will act as Hyper-V replica server to receive replicated VM from first Hyper-V server. Domain: ITPROLABS.XYZ DC IP: 192.168.153.10 DNS: 192.168.153.10 Hyper-V01: 192.168.153.50 Hyper-V02 replica server: 192.168.153.51 Server Core VM: 192.168.153.52 For full Windows Server 2016 active directory lab check the following link: https://gallery.technet.microsoft.com/Install-Windows-Server-f37e3c6d?redir=0 For full Hyper-V and Windows Server 2016 Core lab check the following link: https://gallery.technet.microsoft.com/Install-and-Configure-b70f4cc2?redir=0
  • 4. Hyper-V Replication on Windows Server 2016 4 | P a g e http://www.mycertprofile.com/Profile/3992184764 Working with Hyper-V Login to server that will play Hyper-V role. Server name: Hyper-V01 IP address: 192.168.153.50 Domain: ITProLab.xyz add Hyper-V role through PowerShell Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart add Virtual Switch to Hyper-V Add external virtual switch so we can connect VMs that hosted in Hyper-V with other VMs
  • 5. Hyper-V Replication on Windows Server 2016 5 | P a g e http://www.mycertprofile.com/Profile/3992184764 Install Server Core 2016 on Hyper-V from Hyper-V01 server manager access Hyper-V management console and follow the below figures to install Server Core 2016 VM.
  • 6. Hyper-V Replication on Windows Server 2016 6 | P a g e http://www.mycertprofile.com/Profile/3992184764
  • 7. Hyper-V Replication on Windows Server 2016 7 | P a g e http://www.mycertprofile.com/Profile/3992184764 Browse and select Windows Server 2016 ISO image to use it as installation source
  • 8. Hyper-V Replication on Windows Server 2016 8 | P a g e http://www.mycertprofile.com/Profile/3992184764 Connect to Server Core VM and start installation process
  • 9. Hyper-V Replication on Windows Server 2016 9 | P a g e http://www.mycertprofile.com/Profile/3992184764
  • 10. Hyper-V Replication on Windows Server 2016 10 | P a g e http://www.mycertprofile.com/Profile/3992184764
  • 11. Hyper-V Replication on Windows Server 2016 11 | P a g e http://www.mycertprofile.com/Profile/3992184764 Select Windows Server 2016 Standard Core
  • 12. Hyper-V Replication on Windows Server 2016 12 | P a g e http://www.mycertprofile.com/Profile/3992184764
  • 13. Hyper-V Replication on Windows Server 2016 13 | P a g e http://www.mycertprofile.com/Profile/3992184764 After installation is done, change local administrator password (we need it to access our server for first time)
  • 14. Hyper-V Replication on Windows Server 2016 14 | P a g e http://www.mycertprofile.com/Profile/3992184764 Manage server 2016 Core locally Windows Server 2016 Initial Configuration Login to server core using local administrator account, then use Sconfig to change server Initial Configuration like Server name and network configuration, so we can join our server to ITPROLABS.XYZ domain. Server Name: WebServer IP address: 192.168.153.52 SM:255.255.255.0 DNS: 192.168.153.10 DG: 192.168.153.2
  • 15. Hyper-V Replication on Windows Server 2016 15 | P a g e http://www.mycertprofile.com/Profile/3992184764 add IIS Role Type 15 to exit sconfig to command line mode then type PowerShell to access PowerShell mode. Through PowerShell use the following command to install IIS server role Install-WindowsFeature -name Web-Server -IncludeManagementTools -verbose After IIS installation is done, you can access WebServer through web as shown down
  • 16. Hyper-V Replication on Windows Server 2016 16 | P a g e http://www.mycertprofile.com/Profile/3992184764 Configure Hyper-V Replica Server add Hyper-V role through PowerShell add Virtual Switch to Hyper-V
  • 17. Hyper-V Replication on Windows Server 2016 17 | P a g e http://www.mycertprofile.com/Profile/3992184764 Hyper-V Replication Process Enable Hyper-V Replication settings To allow WebServer VM to replicate from Hyper-V01 server to another Hyper-V server (Hyper-V02), enable Hyper-V replication settings on both Hyper-V servers
  • 18. Hyper-V Replication on Windows Server 2016 18 | P a g e http://www.mycertprofile.com/Profile/3992184764 also, enable same settings on Hyper-V02 server
  • 19. Hyper-V Replication on Windows Server 2016 19 | P a g e http://www.mycertprofile.com/Profile/3992184764 Replication Process From Hyper-V01 server enable WebServer VM replication to Hyper-V02 server
  • 20. Hyper-V Replication on Windows Server 2016 20 | P a g e http://www.mycertprofile.com/Profile/3992184764 Browse and select Hyper-V server which will host the replicated VM, in our scenario replica server will be Hyper- V02 server.
  • 21. Hyper-V Replication on Windows Server 2016 21 | P a g e http://www.mycertprofile.com/Profile/3992184764
  • 22. Hyper-V Replication on Windows Server 2016 22 | P a g e http://www.mycertprofile.com/Profile/3992184764
  • 23. Hyper-V Replication on Windows Server 2016 23 | P a g e http://www.mycertprofile.com/Profile/3992184764 From task manager check network traffic, you will notice that there is no traffic before replication Replication Status When replication start, notice send traffic increase because the replication go through network as we configured.
  • 24. Hyper-V Replication on Windows Server 2016 24 | P a g e http://www.mycertprofile.com/Profile/3992184764 Go to another Hyper-V server which receive replicated VM, will notice increment in receive traffic
  • 25. Hyper-V Replication on Windows Server 2016 25 | P a g e http://www.mycertprofile.com/Profile/3992184764 Test replicated VM - Shutdown the main webserver VM then try to access IIS which hosted on this server
  • 26. Hyper-V Replication on Windows Server 2016 26 | P a g e http://www.mycertprofile.com/Profile/3992184764 Now, IIS services is down. - Go to replicated VM and follow the figures below to operate the replicated VM
  • 27. Hyper-V Replication on Windows Server 2016 27 | P a g e http://www.mycertprofile.com/Profile/3992184764 try again to access IIS on WebServer VM, Now is working through replicated VM.