Backup of Hyper-V servers

Hyper-V specific discussions

Backup of Hyper-V servers

Veeam Logoby MarcelB » Thu May 19, 2011 12:22 pm

This might be the first technical question on the upcoming feature of B&R for Hyper-V backups.

When System Center Data Protection Manager 2010 (DPM) is protecting Hyper-V guests using the Microsoft Software Shadow Copy provider (the VSS provider), DPM will be using software snapshots when backing up guests located on Cluster Shared Volume (CSV) disks. While the backup is in progress, the CSV will remain in re-directed access mode for the duration of the guest backup. This means all disk I/O for Guests located on that CSV will be in redirected mode and be going over the network instead of direct access to the CSV and performance may be affected.
Microsoft recommends to use of hardware snapshots. http://support.microsoft.com/kb/2473194

Will this be the same for backups made by Veeam B&R?

regards,
Marcel
MarcelB
Influencer
 
Posts: 10
Liked: never
Joined: Thu Feb 04, 2010 10:32 am
Full Name: Marcel van den Berg

Re: Backup of Hyper-V servers

Veeam Logoby Gostev » Tue May 24, 2011 12:18 pm

Hi Marcel, you are correct that software VSS provider requires redirected I/O for the duration of backup, no matter of backup solution used. However, there is really no point of using software VSS provider when backing up VMs from Cluster Shared Volumes. CSV requires using shared storage, but all major shared storage vendors implement hardware VSS providers. In fact, even the now free Microsoft iSCSI Target ships with hardware VSS provider. So, I do not really see why would anyone want to use software VSS provider with CSV?
Gostev
Veeam Software
 
Posts: 21390
Liked: 2349 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Re: Backup of Hyper-V servers

Veeam Logoby KOOLER » Mon Jul 18, 2011 2:54 pm

Microsoft hardware VSS is a fake one. It's not enough to do CSV snapshot in the proper way. Read this:

http://social.technet.microsoft.com/For ... 7e73c55ad/

and this:

http://blogs.technet.com/b/dpm/archive/ ... table.aspx

P.S. Datacore and Falconstor also have hardware VSS providers. Also fake ones :)
KOOLER
Novice
 
Posts: 4
Liked: never
Joined: Mon Jul 18, 2011 2:49 pm

Re: Backup of Hyper-V servers

Veeam Logoby Gostev » Wed Jul 27, 2011 3:15 pm

Hardware VSS provider that comes with Microsoft Storage Server is fine, although it does require some know-hows when working with. This is actually one of the platforms we test our v6 with, and we are not seeing any issues leveraging hardware VSS with the current v6 code.
Gostev
Veeam Software
 
Posts: 21390
Liked: 2349 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Re: Backup of Hyper-V servers

Veeam Logoby KOOLER » Thu Jul 28, 2011 12:36 am

The whole idea of having VSS provider is keeping everything isolated inside VSS provider + SAN link. Modifying backup app (calling extra VSS things to prepare a snapshot) to explore functionality expected to work out of box mean "DOES NOT WORK". What you do we call a "workaround" and not a solution. Good you've managed to have everthing running but you did something I beleive is MS job...
KOOLER
Novice
 
Posts: 4
Liked: never
Joined: Mon Jul 18, 2011 2:49 pm

Microsoft Hardware VSS + Offhost Processing

Veeam Logoby tux- » Sat Jun 30, 2012 9:46 am

[merged]

Hi,

According to this thread: Backup of Hyper-V servers
Microsoft iSCSI target VSS hardware provider (connecting to iSCSI target on Windows Storage Server 2008R2) is supported as an hardware VSS provider for Offhost backup processing.

WIth Microsoft DPM; it isn't (even though, it's their own product). Microsoft Hardware VSS for iSCSI target does not support auto-recovery snapshots, and therefore is not suitable for use with DPM 2010 (it bails out with a transcient VSS error).
In fact, it does support transportable snapshots so therefore chances are it might work with Veeam.

Could anyone confirm this is in fact working and/or supported? If so, Veaam will have a new and happy user :)
tux-
Novice
 
Posts: 7
Liked: 2 times
Joined: Sat Jun 30, 2012 9:34 am

Re: Backup of Hyper-V servers

Veeam Logoby Gostev » Sat Jun 30, 2012 10:51 am

I have already confirmed in my previous post :D
Gostev
Veeam Software
 
Posts: 21390
Liked: 2349 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Re: Backup of Hyper-V servers

Veeam Logoby tux- » Mon Jul 02, 2012 3:44 pm

Thanks for the confirmation. Today, I grabbed a bunch of hardware and tried it myself. Pretty impressive, as it seems to work (even though, auto recovery snapshots are not supported according to Microsoft). The only thing is, the snapshot is not deleted after the job completes. Is there a way to accomplish this?
tux-
Novice
 
Posts: 7
Liked: 2 times
Joined: Sat Jun 30, 2012 9:34 am

Re: Backup of Hyper-V servers

Veeam Logoby foggy » Mon Jul 02, 2012 4:29 pm

I would first check vssadmin list writers on the proxy server for errors (whether writers are stable, etc.).
foggy
Veeam Software
 
Posts: 14742
Liked: 1080 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Backup of Hyper-V servers

Veeam Logoby tux- » Wed Jul 04, 2012 1:25 pm

The Microsoft Hardware VSS provider seems not to work with Veeam offhost backup processing. It fails in the snapshot auto-recovery phase, with errors 10110 and 10111 on the Hyper-V host. This is exactly the same as with Microsoft DPM. As long as the auto-recovery VSS technology is used; the Microsoft Hardware VSS provider will not work in the Off-host Hyper-V backup scenario. With on-host processing, it seems to work however snapshots are not being cleaned up after the backup finishes, and in fact it is not sure whether the backups are valid in VSS terms.

The only option is, to use the Software VSS provider; which is basically not an option in terms of performance.
tux-
Novice
 
Posts: 7
Liked: 2 times
Joined: Sat Jun 30, 2012 9:34 am

Re: Backup of Hyper-V servers

Veeam Logoby tux- » Wed Jul 04, 2012 2:03 pm

@ Anton Gostev: Are you sure this specific scenario has been succesfully tested? Hyper-V backup on Cluster Shared Volume, using Microsoft Hardware VSS provider (for MS iSCSI target) and offhost processing?
tux-
Novice
 
Posts: 7
Liked: 2 times
Joined: Sat Jun 30, 2012 9:34 am

Re: Backup of Hyper-V servers

Veeam Logoby tux- » Wed Jul 04, 2012 8:25 pm

Okay, after some fiddling; I've got the setup working. However, two things are still bothering me:

[*] Snapshots are still not being deleted after the backup completes.

I would like the snapshots to be auto-deleted to avoid performance impact and clutter on the storage boxes.

[*] Hyper-V VSS writer is still logging 10110 and 10111 (could not find virtual hard disk, and no snapshot to revert)

I see snapshots being exposed read-only to the offhost proxy, and the backup continues as normal. However, the hyper-V VSS writer is logging those errors what seems to me is the auto-recovery phase of the snapshot failing in which the external snapshot is reverted to the state of the internal snapshot.
This seems plausible, as auto recovery snapshots are not supported in Microsoft iSCSI hardware VSS (in fact the reason why DPM doesn't support it). Could anyone at Veeam confirm this, or am I missing something?

Thanks
tux-
Novice
 
Posts: 7
Liked: 2 times
Joined: Sat Jun 30, 2012 9:34 am

Re: Backup of Hyper-V servers

Veeam Logoby foggy » Thu Jul 05, 2012 11:23 am

tux- wrote:[*] Snapshots are still not being deleted after the backup completes.
I would like the snapshots to be auto-deleted to avoid performance impact and clutter on the storage boxes.

This is just how the Microsoft iSCSI Software Target works. It stores snapshots while it has space available and then starts to delete the oldest ones.

tux- wrote:[*] Hyper-V VSS writer is still logging 10110 and 10111 (could not find virtual hard disk, and no snapshot to revert)

I see snapshots being exposed read-only to the offhost proxy, and the backup continues as normal. However, the hyper-V VSS writer is logging those errors what seems to me is the auto-recovery phase of the snapshot failing in which the external snapshot is reverted to the state of the internal snapshot.
This seems plausible, as auto recovery snapshots are not supported in Microsoft iSCSI hardware VSS (in fact the reason why DPM doesn't support it). Could anyone at Veeam confirm this, or am I missing something?

Yes, Hyper-V backup is not supported and this is covered in iSCSI Software Target release notes:

Hyper-V host backup is not supported.

You may encounter an error if you run Hyper-V host backup, as this is not supported with the current released version of the VSS hardware provider. For application consistent backup, take a snapshot within the VM guest.


However, snapshots auto-recovery is not required when the VM is turned off or in case of crash-consistent backup.
foggy
Veeam Software
 
Posts: 14742
Liked: 1080 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson


Return to Microsoft Hyper-V



Who is online

Users browsing this forum: schedlbauerm and 20 guests