• 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

Hyper-V Replica – Optimize Replication Process – Windows Server 2012 R2

AnonyViet by AnonyViet
January 28, 2023
in Network
0

A) Introduce

Join the channel Telegram of the AnonyViet 👉 Link 👈

First, you need to learn what Paging File is and they are explained in detail in this article: Link

In Hyper-V, virtual machines (Virtual Machines) with Windows operating system will also create these Page Files. They often have a 1:1 ratio to RAM, which is unnecessary and wastes the VHD space of the virtual machine. Because the virtual machines have been provided by Hyper-V with a sufficient amount of RAM to serve, depending on the needs that the administrator configures.

As I explained about Hyper-V Replica in the previous post, I mentioned Replication Tracker (RT). RT is responsible for tracking changes to the VHD of the virtual machine, so that they know and perform the replication through the Replica Site. However, there are a few files you won’t want to replicate to, commonly seen here is the Paging File (C:pagefile.sys). They are not needed for replication and are often very large files, removing them from the replication process will reduce VHD capacity and reduce WAN/LAN bandwidth for replication.

Here I will guide you to configure and setup Page File to be stored in another VHD, and perform Replication to Replica Site only the required VHD drives (System, Database).

B) Lab “Optimize Hyper-V Replica with excluding paging file”

You should preview the labs on “Hyper-V Replica in Windows Server 2012/2012 R2“

Model :

112

  • Hyper-V1 machine (172.1.1.2/24) : Primary Site
  • Hyper-V2 machine (172.1.1.3/24) : is Replica Site
  • Domain Controller (File Server): contains virtual machine VM1 (VHD Virtual Machine) and creates a VHD containing Paging File.
  1. Create a virtual machine on Hyper-V1, but the virtual machine’s Storage will be stored in File Server
  • On File-Server, create a folder “Windows 8.1” and Properties -> Share full permissions for 2 physical machines “Hyper-V1 – Hyper-V2”

Hyper-V Replica – Optimize Replication Process - Windows Server 2012 R2 5

  • Next go to Hyper-V1, proceed to create a new virtual machine

0 1

  • Save the virtual machine configuration file in the folder just created on File-Server

0 2

  • Set RAM for virtual machine

0 3

  • Set up the network for the virtual machine

0 4

  • Save the VHD (Storage) file of the virtual machine to the folder you just created

0 5

  • Specify the Windows installation .ISO file

0 6

0 7

2. Proceed to create VHD Paging File on File-Server and attach them to the virtual machine

  • Go to the virtual machine –> “Windows + I” to open the Charm bar –> “PC Info” –> Select “Advanced System Settings -> Advanced -> Settings in Performance” -> Select “Advanced -> Change” we will see Paging The file is located on drive C.

first

  • Go to File-Server -> Go to Run -> Diskmgmt.msc

2

  • Select Action -> Create VHD

3

  • Click Browse and select the folder path just created in step 1 -> Name it VHDX as Paging File

4

  • After creating it -> Right-click on the newly created VHD Disk, select “Initialize Disk” to activate using Disk

7

8

  • Proceed to create a Volume for this Disk

9

ten

11

  • Name the Volume and proceed to Format

twelfth

13

  • After the format is complete -> Proceed to Detach VHD, because VHD is being used in File-Server, we need Detach to serve the virtual machine

16

  • Turn off the virtual machine, right-click Settings

5

  • Select Hard Drive –> click Add to create a new SCSI Controller Hard Drive

6

  • Select to the newly created VHD Paging File in the folder

14

  • Click OK, then Start the virtual machine and go inside to check if the VHD Paging File is displayed

18

  • Proceed to configure Paging File: Go to the virtual machine –> “Windows + I” to open the Charm bar –> “PC Info” –> Select “Advanced System Settings -> Advanced -> Settings in Performance” -> Next select “Advanced – > Change”, uncheck “Automatically manage paging file” and then select drive D to store Paging file -> Stick select System Managed Size.

20

  • The system will ask to reboot to complete the configuration process, message OK and reboot.

21

3. Proceed to configure Replication and check the Replication process

  • Right-click on the virtual machine -> Select “Enable Replication…”

23

  • Select Replica Server (Hyper-V2)

24

  • Use HTTP to communicate + compress data before transmission

25

  • This step is important, we select the VHD Virtual Machine file, do not select Paging File (they will not replicate the VHD Paging File)

26

  • Configure default replication time (5 minutes)

27

  • Configuring Recovery Points

28

  • Configuration allows instant replication

29

30

  • After Replication -> Right-click the virtual machine -> Replication -> View Replication Health, to check whether the virtual machine has replicated successfully or not

thirty first

  • Now we go to Hyper-V2 side virtual machine storage path and see that only VHD Virtual Machine is replicated (no VHD Paging File) -> Lab successful.

32

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

Tags: HyperVOptimizeprocessReplicaReplicationServerWindows
Previous Post

5 best CPU overclocking software to increase computer performance

Next Post

TeraBox: 1TB Free Cloud Storage Service

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
TeraBox: 1TB Free Cloud Storage Service

TeraBox: 1TB Free Cloud Storage Service

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