Moving Hyper-V guest VM to another host

Discussions specific to Microsoft Hyper-V hypervisor

Moving Hyper-V guest VM to another host

Veeam Logoby Caillin » Fri 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: Tue Jul 16, 2013 1:33 am
Full Name: Caillin Peacock

Re: Moving Hyper-V guest VM to another host

Veeam Logoby Caillin » Fri 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.
Caillin
Novice
 
Posts: 5
Liked: never
Joined: Tue Jul 16, 2013 1:33 am
Full Name: Caillin Peacock

Re: Moving Hyper-V guest VM to another host

Veeam Logoby nefes » Fri 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.
nefes
Veeam Software
 
Posts: 580
Liked: 136 times
Joined: Mon Dec 10, 2012 8:44 am
Full Name: Nikita Efes

Re: Moving Hyper-V guest VM to another host

Veeam Logoby Caillin » Sun 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?
Caillin
Novice
 
Posts: 5
Liked: never
Joined: Tue Jul 16, 2013 1:33 am
Full Name: Caillin Peacock

Re: Moving Hyper-V guest VM to another host

Veeam Logoby foggy » Mon 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.
foggy
Veeam Software
 
Posts: 16277
Liked: 1302 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Moving Hyper-V guest VM to another host

Veeam Logoby Vitaliy S. » Mon 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.
Vitaliy S.
Veeam Software
 
Posts: 21147
Liked: 1259 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

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

Veeam Logoby jetjaguar » Mon 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
jetjaguar
Influencer
 
Posts: 11
Liked: 1 time
Joined: Mon Nov 06, 2017 3:51 pm

Re: Moving Hyper-V guest VM to another host

Veeam Logoby PTide » Mon Nov 20, 2017 3:06 pm

Hi,

Please review this thread for possible resolutions.

Thanks
PTide
Veeam Software
 
Posts: 4005
Liked: 336 times
Joined: Tue May 19, 2015 1:46 pm

Re: Moving Hyper-V guest VM to another host

Veeam Logoby jetjaguar » Tue 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: Mon Nov 06, 2017 3:51 pm

Re: Moving Hyper-V guest VM to another host

Veeam Logoby jetjaguar » Tue 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.
jetjaguar
Influencer
 
Posts: 11
Liked: 1 time
Joined: Mon Nov 06, 2017 3:51 pm

Re: Moving Hyper-V guest VM to another host

Veeam Logoby PTide » Tue 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
PTide
Veeam Software
 
Posts: 4005
Liked: 336 times
Joined: Tue May 19, 2015 1:46 pm

Re: Moving Hyper-V guest VM to another host

Veeam Logoby mkaec » Wed 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).
mkaec
Expert
 
Posts: 242
Liked: 54 times
Joined: Thu Jul 16, 2015 1:31 pm
Full Name: Marc K

Re: Moving Hyper-V guest VM to another host

Veeam Logoby PTide » Fri 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.
PTide
Veeam Software
 
Posts: 4005
Liked: 336 times
Joined: Tue May 19, 2015 1:46 pm

Re: Moving Hyper-V guest VM to another host

Veeam Logoby mkaec » Mon 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.
mkaec
Expert
 
Posts: 242
Liked: 54 times
Joined: Thu Jul 16, 2015 1:31 pm
Full Name: Marc K

Re: Moving Hyper-V guest VM to another host

Veeam Logoby spgsit5upport » Sun 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!
spgsit5upport
Expert
 
Posts: 188
Liked: 14 times
Joined: Fri May 28, 2010 10:25 am
Full Name: Seb


Return to Microsoft Hyper-V



Who is online

Users browsing this forum: No registered users and 8 guests