• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Live Migration in Windows Server 2012 R2

AnonyViet by AnonyViet
January 28, 2023
in Network
0

A) Introduction

Join the channel Telegram of the AnonyViet 👉 Link 👈

first

Live Migration in Hyper-V is a function used to migrate a virtual machine from one physical Hyper-V host to another. In order to reduce the hardware burden (CPU, RAM, HDD) on the running Hyper-V host, migrate virtual machines to other physical Hyper-V. Serve in the case of server maintenance, server upgrade, increase availability and flexibility.

In Windows Server 2012 R2 there are the following types of Live migrations:

  • Live Miration with RDMA-enable Network Adapters (New)
  • Live Migration with Multi-Channel Network Adapters (New)
  • Live Migration between 2 Hyper-V Host: move a virtual machine to another physical Hyper-V machine to run.
  • Storage Migration: only convert the storage of the virtual machine from one Hyper-V host to another Hyper-V host or to the SAN system (including: Current Configuration, Snapshot, Smat Paging), while the virtual machine still runs directly on the Hyper-V host. old.
  • Live Migration with iSCSI SAN: all virtual machine storage is stored on iSCSI SAN, and we just move virtual machines from one physical Hyper-V machine to another physical Hyper-V machine to run.
  • Live migration with SMB 3.0 (Non-cluster and Non-CSV): Using the SMB 3.0 protocol (a network sharing protocol) to make a public folder and store the Storage of the virtual machine, this mechanism is to move the running virtual machine to another physical Hyper-V and the storage of the virtual machine is still located. on the shared folder.
  • Live Migration with CSV/SAN: support virtual machine migration in SAN environments.

first

  • Improved Live Migration: It is possible to move one or more running virtual machines at the same time. Live migration is faster thanks to Compression (memory), Remote Direct Access Memory, Multichannel Network Adapter. Substantial support in a Private Cloud environment
  • Faster Live Migration: Because before the conversion, Hyper-V performs memory compression (Compression) so it significantly reduces CPU resources for processing and Network load. At least 10GB off if you use Compression or more than 10GB if you use RDMA and Multichannel Network Adapter
  • Live Migration with RDMA-enabled Network Adapters: when you do a live migration. RDMA allows direct relocation of the data in Memory running on Hyper-V Source to the Hyper-V Destination host, and at the same time redirects the memory processing of the virtual machine on Hyper-V Source to Hyper-V Destination. At this time, the virtual machine on the Hyper-V Source side will use the CPU and Cache right at its machine for processing, and the memory will be accessed directly on the Hyper-V Destination side thanks to the network connection.
  • Live Migration with Multi-Channel Network Adapters : Allows the use of multiple Network Adapter Cards to perform Live Migration. Very useful and greatly reduces Live Migration time if you are moving a large virtual machine.

There are 3 migration mechanisms:

  • TCP/IP: keep the content from source to destination intact on the transmission line.
  • Compression: compress the content and then transmit it on the transmission line
  • SMB: supports SMB Direct combined with RDMA (Remote Direct Memory Access) and SMB Multichannel features.

B) Lab Live Migration Without Shared Storage

Live migration without shared storage allows the complete migration (including : Virtual Machine, Storage) of a running virtual machine from one physical Hyper-V host to another physical Hyper-V host in a domain environment without deployment. a Shared storage system (SAN, iSCSI SAN, or SMB 3.0). Downtime is very low.

first

  • Still using Kerberos protocol for Live Migration (2 services: Cifs and Microsoft Virtual System Migration Service)
  • If there is an error or problem during the live migration, the virtual machine will still be maintained and working properly.
  • Supports migration in cluster and non-cluster environments.
  • Support conversion with PowerShell.

Working principle:

  1. Virtual machines still work (read/write) normally on physical Hyper-V machines (users still use them normally).
  2. While the read / write process is still going normally, the system starts copying the VHD to the destination server you declared.
  3. After the copy process is completed, now the data on both sides has been mapped (mirror) and is completely the same. At this point, the system continues to replicate the changes that the user is using. (from the time of copy until now, for example, the user has saved a file or configured something on the virtual machine).
  4. After the source and destination have been fully synchronized, this is when the Live migration is set up.
  5. After the Live Migration takes place successfully, the Hyper-V Source server will redirect the user to use the virtual machine in the Hyper-V Destination Server.

222

The deployment model is as follows:

Live migration in Windows Server 2012 R2

There are 2 physical machines running the Hyper-V feature in the domain: Huypd.com. In which Hyper-V1 machine creates a virtual machine VM1.

1) Configure 2 Hyper-V physical machines running Live Migration with Kerberos protocol.

  • Enter AD machine –> ADUC (Active Directory User and Computer) –> Select Computer –> Select Hyper-V1 virtual machine –> Properties –> Delegation.

0 1

  • Add Computer of Hyper-V Destination machine (Hyper-V2) and select 2 services “Cifs and Microsoft Virtual System Migration”.

0 2

0 3

0 4

  • Do the same for the Hyper-V2 machine.

0 5

0 6

0 7

2) Enable Live Migration for 2 Hyper-V machines -> Select “Enable incoming and outgoing live migrations”

  • Simultaneous live migrations are number of virtual machines that can be converted at the same time. Select Use any available network for live migration.

first

2

3) Move the virtual machine from Hyper-V1 to Hyper-V2 -> Right-click the virtual machine and select move

3

  • Select “Move the virtual machine”, to move a virtual machine from one Hyper-V to another

4

  • Declare the destination server (Hyper-V2)

5

6

  • Choose a location to save the virtual machine on the Destination server (including: Configuration file, Snapshot, Smart paging).

7

  • This step is to select Network in Virtual Switches for the virtual machines to run when they move to the Hyper-V Destination machine

8

9

  • Result: The virtual machine from Hyper-V1 has been moved to the Hyper-V2 machine

ten

  • Can move virtual machines while they are running live

11

twelfth

The article achieved: 5/5 – (100 votes)

Tags: liveMigrationServerWindows
Previous Post

How to fix Chrome lag, freeze when accessing Facebook

Next Post

How Hackers Use BadUSB to Attack Big Companies

AnonyViet

AnonyViet

Related Posts

Guide to self -creation socket5 on Ubuntu
Network

Guide to self -creation socket5 on Ubuntu

May 28, 2025
How to create a separate mtproto proxy to use Telegram when blocked
Network

How to create a separate mtproto proxy to use Telegram when blocked

May 25, 2025
Script backup database and website on telegram
Network

Script backup database and website on telegram

May 2, 2025
Create 64GB RAM 16 core for free on Google IDX
Network

Create 64GB RAM 16 core for free on Google IDX

April 13, 2025
What is VPS running Vietnamese software? What is the reason for installing Vietnamese software on VPS?
Network

What is VPS running Vietnamese software? What is the reason for installing Vietnamese software on VPS?

February 17, 2025
Create Ronin wallet to play pixels on VPS Windows
Network

Create Ronin wallet to play pixels on VPS Windows

February 17, 2025
Next Post
How Hackers Use BadUSB to Attack Big Companies

How Hackers Use BadUSB to Attack Big Companies

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
Discover the glowing effect next to the iPhone ios 18 screen

Discover the glowing effect next to the iPhone ios 18 screen

June 8, 2025
[Godot Shooter] #2: Creating characters & shooting bullets

[Godot Shooter] #2: Creating characters & shooting bullets

June 7, 2025
Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
Discover the glowing effect next to the iPhone ios 18 screen

Discover the glowing effect next to the iPhone ios 18 screen

June 8, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET https://kubet88.yoga/ bj88

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET https://kubet88.yoga/ bj88

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply