Backing up a Windows Failover Cluster with Shared vhdx?

Hyper-V specific discussions

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby Andreas Neufert » Thu Apr 07, 2016 11:18 am

great... thanks again
Andreas Neufert
Veeam Software
 
Posts: 2249
Liked: 374 times
Joined: Wed May 04, 2011 8:36 am
Location: Germany
Full Name: @AndyandtheVMs Veeam PM

[MERGED] Backup job for guest failover cluster - WS2012R2

Veeam Logoby DaveZ » Wed Oct 05, 2016 1:09 pm

I have guest type failover cluster based on 2 VMs working on Windows Server 2012 R2 with shared VHDX as a cluster storage.
I wonder how to correctly create Veeam B&R backup job for this cluster?
Should I create two separated jobs, one for NODE1 and another backup job for NODE2?
When I created one backup job for both nodes, then it is throwing error each time for second server:

Failed to create snapshot (Microsoft CSV Shadow Copy Provider) (mode: Veeam application-aware processing) Details: Unknown status of async operation
The shadow copy provider had an error. Check the System and Application event logs for more information.

After fail, job is reiterated, and finish with success on second node.

What is the best practice for that case?

I'm using Veeam B&R 9.0.0.1715
DaveZ
Novice
 
Posts: 4
Liked: never
Joined: Fri Feb 05, 2016 3:35 pm
Full Name: Dave

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby foggy » Thu Oct 06, 2016 5:21 pm

Hi Dave, please review this thread for information on backing up Windows failover clusters with shared VHDX. Basically, these disks can be backed up in a crash-consistent state only.
foggy
Veeam Software
 
Posts: 15083
Liked: 1110 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby response3 » Tue Nov 01, 2016 8:48 pm

Foggy - We're late to the conversation, but what does "crash-consistent" state mean exactly?

We've got a customer with a SQL 2012R2 failover cluster that we're trying to figure out a solution for. My hope was to use Veeam to backup the VM and application, but if that won't work then just use Veeam for the OS and something else for the application-aware backups. Thoughts?
response3
Service Provider
 
Posts: 15
Liked: 3 times
Joined: Sun Feb 28, 2016 6:22 am
Full Name: BG

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby Andreas Neufert » Tue Nov 01, 2016 8:59 pm

Crash consistent means that the filesystem on the shared disk is not in consistent mode. Like you pulling the powerplug from the server.
It is better than nothing but not ideal.

The main problem is that Microsoft do not give us a chance to bring the shared disk in a consistent state.
Andreas Neufert
Veeam Software
 
Posts: 2249
Liked: 374 times
Joined: Wed May 04, 2011 8:36 am
Location: Germany
Full Name: @AndyandtheVMs Veeam PM

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby bjackson@agi.com » Tue Dec 06, 2016 4:45 pm

I know this is an old post, but I'm having a problem with taking a crash-consistent backup with Veeam. I'm still learning and evaluating Veeam(using Free v9.5 B&R) against a Server 2016 Hyper-V cluster and a Server 2012 R2 VM with a shared VHDX.

From reading through this form, it sounds like I only need to check the box to Disable guest quiescence in the VeeamZip window. Is that correct, or do I have something wrong on how to take the crash-consistent backup?

Lines from the Veeam log.
[06.12.2016 16:39:24] <01> Error Processing VMs with shared VHDX is not supported (System.Exception)
[06.12.2016 16:39:24] <01> Error at Veeam.Backup.Core.CHvTasksFactory.CreateTasksForVmEntry(CVmTaskBlank6 taskSpec, CGuestProcessingOptions effectVssOptions, Guid oijId, CHvDbHost currOwnerHost, CHvSharedSnapshotContextHolder snapshotContextHolder)
[06.12.2016 16:39:24] <01> Error at Veeam.Backup.Core.CHvTasksFactory.TryBuildTask(CVmTaskBlank6 taskBlank, CHvDbHost currOwnerHost, CHvSharedSnapshotContextHolder snapshotContextHolder, List`1 tasks, Object lockObj)
bjackson@agi.com
Novice
 
Posts: 9
Liked: 1 time
Joined: Wed Nov 23, 2016 7:41 pm
Full Name: Brad Jackson

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby Vitaliy S. » Thu Dec 08, 2016 11:58 am 1 person likes this post

Hi Brad,

The behavior you see is expected, as Windows Server 2016 has introduced a new framework for doing backups, thus old VHDX files cannot be processed any longer. To resolve this issue you need to follow one of the solutions:

1. You need to start using VHD set disks. See these two posts for more info: Shared VHDX In Windows 2016: VHDS and the backing storage file and What are VHD Sets in 2016?
2. Downgrade to Windows Server 2012 to continue using VHDX files in the backup job.

Thanks!
Vitaliy S.
Veeam Software
 
Posts: 19770
Liked: 1120 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby bjackson@agi.com » Tue Dec 13, 2016 1:54 am

Hi Vitality,

Thank you for the notes about VHD Set disks. I setup a test set of servers with the same config(Hyper-V Hosts on Server 2016 and VM Guest on Server 2012). However, it still throws an error when I have the shared disk using VHD Set. It's different this time. Maybe I can only use the VHD Set option if both Hyper-V and the guest are Server 2016?

Code: Select all
[13.12.2016 01:43:04] <10> Warning  [server01]  Failed to create VM recovery checkpoint (mode: Hyper-V child partition snapshot)
[13.12.2016 01:43:04] <10> Error    Job with id "5cd555df-a417-483b-b406-8026e9321f4f" was not found (System.Exception)
[13.12.2016 01:43:04] <10> Error       at Veeam.Backup.Core.CBackupJob.Get(Guid jobId)
[13.12.2016 01:43:04] <10> Error       at Veeam.Backup.Core.ResourceScheduler.CHvRecoveryCheckpointHelper.GetSnapshotConsistencyLevel(IList`1 snapDatas, Boolean& failoverOnCrashConsistent)
[13.12.2016 01:43:04] <10> Error       at Veeam.Backup.Core.ResourceScheduler.CHvRecoveryCheckpointHelper.CreateRecoveryCheckpointCollectionSnapshot(IList`1 snapDatas, Exception& exception)
[13.12.2016 01:43:04] <10> Error       at Veeam.Backup.Core.ResourceScheduler.CHvRecoveryCheckpointHelper.CreateRecoveryCheckpoint(Exception& exception)
[13.12.2016 01:43:04] <10> Error       at Veeam.Backup.Core.ResourceScheduler.CHvRecoveryCheckpointSnapshot.CreatingSnapshot()
[13.12.2016 01:43:04] <10> Error       at Veeam.Backup.Core.ResourceScheduler.CHvRecoveryCheckpointSnapshot..ctor(CHvSnapshotAttemptCtx snapGroup, CHvVssConnectionCreatorSet vssConnCreators, CBackup backup)
[13.12.2016 01:43:04] <10> Error    Job with id "5cd555df-a417-483b-b406-8026e9321f4f" was not found (System.Exception)
[13.12.2016 01:43:04] <10> Error       at Veeam.Backup.Core.CBackupJob.Get(Guid jobId)
[13.12.2016 01:43:04] <10> Error       at Veeam.Backup.Core.ResourceScheduler.CHvRecoveryCheckpointHelper.GetSnapshotConsistencyLevel(IList`1 snapDatas, Boolean& failoverOnCrashConsistent)
[13.12.2016 01:43:04] <10> Error       at Veeam.Backup.Core.ResourceScheduler.CHvRecoveryCheckpointHelper.CreateRecoveryCheckpointCollectionSnapshot(IList`1 snapDatas, Exception& exception)
[13.12.2016 01:43:04] <10> Error       at Veeam.Backup.Core.ResourceScheduler.CHvRecoveryCheckpointHelper.CreateRecoveryCheckpoint(Exception& exception)
[13.12.2016 01:43:04] <10> Error       at Veeam.Backup.Core.ResourceScheduler.CHvRecoveryCheckpointSnapshot.CreatingSnapshot()
[13.12.2016 01:43:04] <10> Error       at Veeam.Backup.Core.ResourceScheduler.CHvRecoveryCheckpointSnapshot..ctor(CHvSnapshotAttemptCtx snapGroup, CHvVssConnectionCreatorSet vssConnCreators, CBackup backup)
bjackson@agi.com
Novice
 
Posts: 9
Liked: 1 time
Joined: Wed Nov 23, 2016 7:41 pm
Full Name: Brad Jackson

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby CarstenT » Wed Dec 14, 2016 8:25 am

Hello Brad,

as far as I know the backup feature if VHD Sets only works if the guest is Server 2016, too.
Do you have the resources to install a 2016 Guest Cluster and rerun the backup test?

I am very interested in this topic. At the moment we have 10 physical SQL Clusters which are backed up by Backup Exec. We would like to virtualize them and use the backup feature of Hyper-V 2016 VHD Sets with Veeam 9.5.
VEEAM VMCE v8 & VMCE v9
CarstenT
Lurker
 
Posts: 2
Liked: never
Joined: Fri Dec 09, 2016 10:58 pm

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby Vitaliy S. » Wed Dec 14, 2016 4:08 pm

Brad,

Yes, guest OS of the VM you're trying to back up has to be Windows Server 2016 too, however the issue you observe could be unrelated, as I see a completely different error message. I have forward this info to our QA team for confirmation.

Thanks!
Vitaliy S.
Veeam Software
 
Posts: 19770
Liked: 1120 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby Vitaliy S. » Wed Dec 14, 2016 5:16 pm

Yes, it has been confirmed that there is a bug for VeeamZIP functionality when using VHD Set disks. We are planning to address this in our next updates. Thanks for your help!
Vitaliy S.
Veeam Software
 
Posts: 19770
Liked: 1120 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby bjackson@agi.com » Wed Dec 14, 2016 7:44 pm

Vitality, thank you for your comments! Do you know if the fix will allow for 2012 R2 Guest VM's to be backed up by 2016 Hyper-V hosts that use either the "VHD Set" or the traditional shared VHDs?

Carsten, I do and will probably try it sometime in the next week or two. If I get around to testing it I'll be sure to post. However, all of my VMs that use clustering are running Server 2012 R2, which is what I'm concerned about. Server 2016 is not a support OS at the moment for the apps that I have vitualized and clustered.

Thanks,
Brad
bjackson@agi.com
Novice
 
Posts: 9
Liked: 1 time
Joined: Wed Nov 23, 2016 7:41 pm
Full Name: Brad Jackson

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby Vitaliy S. » Wed Dec 14, 2016 8:02 pm

bjackson@agi.com wrote:Vitaliy, thank you for your comments! Do you know if the fix will allow for 2012 R2 Guest VM's to be backed up by 2016 Hyper-V hosts that use either the "VHD Set" or the traditional shared VHDs?

Unfortunately, no, as this issue is unrelated to VHD Sets. The condition you're talking about is controlled by Microsoft APIs, which we cannot override or make edits to. Our QA team confirmed that VeeamZIP has an issue of backing up VHD sets when using Windows Server 2016 as a guest OS. Regular backup jobs are not affected by this.
Vitaliy S.
Veeam Software
 
Posts: 19770
Liked: 1120 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby spgsit5upport » Mon Dec 26, 2016 7:31 pm

So to use the backup feature of vhds(ets), BOTH host/guest must be ONLY Server 2016, right?

Does that also mean Veeam REPLICATION?

I am sure I have at least one application on file server 2012 R2 that would need to be upgraded for 2016 (if/and when)

sebus
spgsit5upport
Expert
 
Posts: 182
Liked: 14 times
Joined: Fri May 28, 2010 10:25 am
Full Name: Seb

Re: Backing up a Windows Failover Cluster with Shared vhdx?

Veeam Logoby Vitaliy S. » Tue Dec 27, 2016 10:26 am

Yes, both in-guest OS and Hyper-V should be running Windows Server 2016 in order to back up VHD sets. Replication of these VMs is still not supported, as it is not possible to create checkpoints as restore points for these VMs.
Vitaliy S.
Veeam Software
 
Posts: 19770
Liked: 1120 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

PreviousNext

Return to Microsoft Hyper-V



Who is online

Users browsing this forum: No registered users and 8 guests