Discussions specific to the Microsoft Hyper-V hypervisor
Caillin
Novice
Posts: 5
Liked: never
Joined: Jul 16, 2013 1:33 am
Full Name: Caillin Peacock
Contact:

Moving Hyper-V guest VM to another host

Post by Caillin » Sep 13, 2013 7:03 am

I'm currently evaluating Veeam to backup our 3 hyper-v host nodes. If I create a backup job protecting a VM on Node 1, and then live migrate that VM to Node 2, it looks like the Veeam job needs to be modified with the original VM removed and the same VM on the second Node added and the job re-run. At this point, it copies all the data again from scratch, and creates a second set of backup files on disk with none of the original recovery points.

Is there some way to be able to tell Veeam that it's the same VM, just on a new Host and re-attach the backup file and recovery points?

I'm just worried about in the future when we want to load balance and move some VMs around between the hosts via Live Migration, that we'll lose all our hierarchical GFS recovery points for the moved VM.

Caillin
Novice
Posts: 5
Liked: never
Joined: Jul 16, 2013 1:33 am
Full Name: Caillin Peacock
Contact:

Re: Moving Hyper-V guest VM to another host

Post by Caillin » Sep 13, 2013 7:04 am

Might also add as it's not clear in my OP, this is not in a clustered environment. This is just 3 separate Hyper-V hosts with local storage.

nefes
Veeam Software
Posts: 596
Liked: 144 times
Joined: Dec 10, 2012 8:44 am
Full Name: Nikita Efes
Contact:

Re: Moving Hyper-V guest VM to another host

Post by nefes » Sep 13, 2013 7:23 am

You can either join that hosts to the cluster or to SCVMM and add it (cluster/SCVMM) to Veeam instead of standalone hosts. In that case VM will be tracked after Live Migration.

Caillin
Novice
Posts: 5
Liked: never
Joined: Jul 16, 2013 1:33 am
Full Name: Caillin Peacock
Contact:

Re: Moving Hyper-V guest VM to another host

Post by Caillin » Sep 15, 2013 11:28 pm

We have a SAN and clustered environment now, but the environment we are migrating too, we will be using local storage and non-clustered Hyper-V nodes.

So if Veeam can only track virtual machine moves on a cluster (it doesn't support live migration between non-clustered hosts), is there any way to manually point the Veeam backup job to the newly moved VM and have it recognize it as the same VM, without treating it as a completely new VM and losing all the recovery points?

foggy
Veeam Software
Posts: 16950
Liked: 1380 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Moving Hyper-V guest VM to another host

Post by foggy » Sep 16, 2013 8:37 am

VMs are tracked by their unique IDs and migrating VMs within a cluster allows to preserve those ID's. However registering a VM on a standalone host assigns a new ID to it. You could run a query against Veeam database to replace the old VM ID with the new one after migration, however this is generally unsupported as could lead to undesired consequences.

Vitaliy S.
Veeam Software
Posts: 21629
Liked: 1296 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Moving Hyper-V guest VM to another host

Post by Vitaliy S. » Sep 16, 2013 9:41 am

Caillin, you can use backup job mapping functionality (on the "storage" step of the wizard) to continue running incremental passes for your existing VMs.

jetjaguar
Influencer
Posts: 11
Liked: 1 time
Joined: Nov 06, 2017 3:51 pm
Contact:

[MERGED] Cannot find VM "Name" on host "Hostname"

Post by jetjaguar » Nov 20, 2017 1:30 pm

Hi forum,

i was wondering - how do i setup my backup of VMs if they reside on a different HV-Host (because i moved them). Is there a way to handle this?

I have 4 Hyper-V-Servers, every server with different VMs. Everytime i move them i get the error in the backuplog. How can i avoid this behavior? I have no Hyper-V-Cluster. I don´t want to manually edit each backupjob everytime the VMs are moved.

Thanks for insight.

Greetings

PTide
Veeam Software
Posts: 4423
Liked: 364 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Moving Hyper-V guest VM to another host

Post by PTide » Nov 20, 2017 3:06 pm

Hi,

Please review this thread for possible resolutions.

Thanks

jetjaguar
Influencer
Posts: 11
Liked: 1 time
Joined: Nov 06, 2017 3:51 pm
Contact:

Re: Moving Hyper-V guest VM to another host

Post by jetjaguar » Nov 21, 2017 9:37 am

Thanks for the push.

To clarify things for me: The only way to track a VM is in a clustered environment? Because i don´t have a Hyper-V-Cluster nor am i planning to set one up.

jetjaguar
Influencer
Posts: 11
Liked: 1 time
Joined: Nov 06, 2017 3:51 pm
Contact:

Re: Moving Hyper-V guest VM to another host

Post by jetjaguar » Nov 21, 2017 10:00 am

Couldn´t i just back the VMs up as standalone windows servers? What are the benefits of backing up machines via Hyper-V (standalone) when i can´t track the VMs over several standalone Servers?

Thanks again.

PTide
Veeam Software
Posts: 4423
Liked: 364 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Moving Hyper-V guest VM to another host

Post by PTide » Nov 21, 2017 12:12 pm

The only way to track a VM is in a clustered environment?
You can also use SCVMM as a central point of control, that will allow you to track VMs too.
Couldn´t i just back the VMs up as standalone windows servers?
Sure you could - just use Veeam Agent for Windows to backup VMs on the guest level.
What are the benefits of backing up machines via Hyper-V (standalone) when i can´t track the VMs over several standalone Servers?
Well, actually I can't come up with any, too.

Thanks

mkaec
Expert
Posts: 269
Liked: 56 times
Joined: Jul 16, 2015 1:31 pm
Full Name: Marc K
Contact:

Re: Moving Hyper-V guest VM to another host

Post by mkaec » Nov 22, 2017 4:22 pm

If you're not clustering and you're not using SCVMM, then when you move a VM, Veeam doesn't see that and instead thinks the old VM has been deleted and a new one created. I'd really like for our use case to be supported better (standalone Hyper-V hosts without SCVMM).

PTide
Veeam Software
Posts: 4423
Liked: 364 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Moving Hyper-V guest VM to another host

Post by PTide » Nov 24, 2017 1:44 pm

Veeam tracks VMs based on VMs ID, which changes when you move a VM to another standalone host, that's a 100% normal Hyper-V behaviour.

mkaec
Expert
Posts: 269
Liked: 56 times
Joined: Jul 16, 2015 1:31 pm
Full Name: Marc K
Contact:

Re: Moving Hyper-V guest VM to another host

Post by mkaec » Nov 27, 2017 3:16 pm

PTide wrote:Veeam tracks VMs based on VMs ID, which changes when you move a VM to another standalone host, that's a 100% normal Hyper-V behaviour.
I don't think that's correct. I tested it two years ago and a live migration did not change the VM ID.
post159538.html#p159538

According to foggy, Veeam is also tracking the host ID and that is what breaks things after a move.
post159819.html#p159819

I actually did some maintenance recently in which I had to reformat the volume holding the VHDX files. I moved the VMs out, formatted the disk, moved them back in and Veeam was none the wiser.

I get why this design decision was made. But that's what it was...a design decision. I think it would be possible to better support VM moves for the standalone host scenario if the desire existed to do it.

spgsit5upport
Expert
Posts: 188
Liked: 14 times
Joined: May 28, 2010 10:25 am
Full Name: Seb
Contact:

Re: Moving Hyper-V guest VM to another host

Post by spgsit5upport » Jan 21, 2018 2:51 pm

jetjaguar wrote:Because i don´t have a Hyper-V-Cluster nor am i planning to set one up
Then you really OUGHT to re-think your design!

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests