Comments on: Excluding Paging File from Hyper-V Replication https://www.altaro.com/hyper-v/excluding-paging-file-from-hyper-v-replication/ Hyper-V guides, how-tos, tips, and expert advice for system admins and IT professionals Wed, 31 Mar 2021 06:28:50 +0000 hourly 1 By: Symon Perriman https://www.altaro.com/hyper-v/excluding-paging-file-from-hyper-v-replication/#comment-3552 Thu, 05 Mar 2020 07:49:00 +0000 http://hub.altaro.com/hyper-v/?p=3665#comment-3552 In reply to Rohan Sawant.

Hi Rohan,
This is possible through a workaround which involves using a storage migration. Here’s a summary of the steps:
1) Configure Hyper-V Replica and replicate to “Storage 1”. Do not start the replication yet. The configuration files will be copied, but the (large) data file will not be copied.
2) Through Hyper-V Manager, run a storage migration of the configuration files from “Storage 1” to “Storage 2”
3) Now the drive with the OS will be replicated to “Storage 2” and the data drive to “Storage 1”

Thanks,
Symon Perriman
Altaro Editor

]]>
By: Symon Perriman https://www.altaro.com/hyper-v/excluding-paging-file-from-hyper-v-replication/#comment-3551 Thu, 05 Mar 2020 07:30:00 +0000 http://hub.altaro.com/hyper-v/?p=3665#comment-3551 In reply to Drew Griffin.

Hi Drew,
– In step 9, you do this on the primary (source) server.
– Regarding the DR VM, when a recovery is needed, it will take some time to start the VM and load the memory to the most recent state. When you replicate a VM, the Hyper-V configuration file is also copied, which defines the settings for the new VM. The VM will create the page file when it is started on the new hardware. The page file is not supported for replication because it represents the memory on one particular server, so copying it to a different server (even with identical hardware) will likely not function correctly.

Thanks,
Symon Perriman
Altaro Editor

]]>
By: Drew Griffin https://www.altaro.com/hyper-v/excluding-paging-file-from-hyper-v-replication/#comment-1685 Thu, 06 Feb 2020 21:33:00 +0000 http://hub.altaro.com/hyper-v/?p=3665#comment-1685 Thanks for the steps Nirmal. Two questions. In step 9 are you removing replication on the primary or replica server? Also I have concerns about Andrew Hunters comments on spinning up the DR VM. Would you explain what happens when you test failover or actually failover to the replica that is no longer getting the page file pushed on a separate drive? Does the OS just generate page files on the OS C: drive automatically? Appreciate your time,
Drew

]]>
By: Rohan Sawant https://www.altaro.com/hyper-v/excluding-paging-file-from-hyper-v-replication/#comment-1684 Wed, 05 Feb 2020 13:05:00 +0000 http://hub.altaro.com/hyper-v/?p=3665#comment-1684 Hi,
I have host in which OS is from SSD data store and Data file is on SCSI data store both are shared drives. we also have Hyper-v replication configured like our primary hyper-v server which has ssd and scsi.
Problem is when we replicate host machine it stores both OS and Data disk on one drive only, whereas we want to replicate OS on SSD drive and Data on SCSI drive after replication.Is there any setting available.
Please reply

]]>
By: Drew Griffin https://www.altaro.com/hyper-v/excluding-paging-file-from-hyper-v-replication/#comment-1686 Thu, 18 May 2017 18:21:00 +0000 http://hub.altaro.com/hyper-v/?p=3665#comment-1686 I would add a small note to step 9. You must Remove Replication from both the Host and Replica servers. I removed it from the host only then spent a good deal of time trying to figure out why the re-enable was failing.

]]>
By: Buddhika https://www.altaro.com/hyper-v/excluding-paging-file-from-hyper-v-replication/#comment-1683 Sat, 17 May 2014 09:40:00 +0000 http://hub.altaro.com/hyper-v/?p=3665#comment-1683 Hi Nirmal,

I have two VMS ; VHDXs belong to those VMs are saved in 2 different disks (VM1; RD server saved on D: which is a SAS drive and vm2, SQL server and application is saved on F: which is an SSD.) I have the exact same physical server to do Hyper-v replication. My problem is in Hyper-v replication, I only can save in one location of the replica server. but I need tO have 2 vms replicated to D: and E: of the replica server. How can I achieve this?

Thanks

]]>
By: Nirmal Sharma https://www.altaro.com/hyper-v/excluding-paging-file-from-hyper-v-replication/#comment-1682 Mon, 05 May 2014 07:33:00 +0000 http://hub.altaro.com/hyper-v/?p=3665#comment-1682 Hi Peter,

This is because A and B drive letters are reserved by Operating System.

Thanks for reading the articles!
Nirmal

]]>
By: Nirmal Sharma https://www.altaro.com/hyper-v/excluding-paging-file-from-hyper-v-replication/#comment-1681 Mon, 05 May 2014 07:25:00 +0000 http://hub.altaro.com/hyper-v/?p=3665#comment-1681 In reply to Eric Brody.

Hi Eric,

It is not supported by the Hypervisor.

Thanks for reading!
Nirmal

]]>
By: Eric Brody https://www.altaro.com/hyper-v/excluding-paging-file-from-hyper-v-replication/#comment-1680 Tue, 08 Apr 2014 16:03:00 +0000 http://hub.altaro.com/hyper-v/?p=3665#comment-1680 “Note: Please make sure to attach new VHD to an IDE Controller. Relocating the paging file to a VHD connected SCSI controller is not supported.”

That’s odd. Why you can’t connect to SCSI controller? I don’t have IDE drive.

]]>
By: Hair Rau https://www.altaro.com/hyper-v/excluding-paging-file-from-hyper-v-replication/#comment-1679 Tue, 08 Apr 2014 15:53:00 +0000 http://hub.altaro.com/hyper-v/?p=3665#comment-1679 Hi Nirmal,

Thanks for the great Hyper-V articles. In regards to the excluding paging file from Hyper-V replication, is it true that it does not apply with W2012/W2012R2 hosts as the new OS can do a good job to avoid it?

Thanks

]]>