DELL Compellent Hardware VSS Provider & Commvault on Windows Server 2012 Hyper-V nodes – Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied.

As you know by now I’ve been building a high throughput, large volume Disk2Disk backup solution and that has been rather successful. At optimal speed we get 2TB/Hour per backup media server. As we currently have two, we can get to 4TB/hour at maximum throughput Smile. Currently that is, we’ll see if more is possible. The solution, which I’ll blog about later, is based on the Dell Compellent hardware VSS provider (Dell Compellent Replay Manager 6.2.0.9), Windows Server 2012, CommVault 9.0 R2 and PowerVault storage a the target disks and as it’s working now is saving us many hundred of thousands of Euros compared to dedicated D2D backup appliances or solutions.

The entire process has been a fairly smooth one, which was a relief as decent hardware VSS providers are not easy to come by, based on our experience and that of many colleagues. So, once again the DELL Compellent choice is turning out to be a good one. We did have to fix one small issue along the way.

Whilst using the DELL Compellent Hardware VSS Provider with Commvault Simpana 9.0 R2  to do host level back of the virtual machines on Windows Server 2012 Hyper-V cluster nodes. We ran into a small issue. The backup run fine but we saw this error being logged:

Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface.  hr = 0x80070005, Access is denied.
. This is often caused by incorrect security settings in either the writer or requestor process.

Operation:
   Gathering Writer Data

Context:
   Writer Class Id: {e8132975-6f93-4464-a53e-1050253ae220}
   Writer Name: System Writer
   Writer Instance ID: {3f4965d8-10ac-411b-bf6d-6a607f237775}

image

The description found here was not helpful in resolving this. This error is found all over the internet with just about any backup product. The possible causes and solutions that are suggested are as follows:

Change the Language for non-Unicode programs to English (United States)

This is not a solution in our case, which would have surprised me if it had been.

image

Eliminate the error condition by adding the access permissions for the domain account that the Compellent Replay Manager Service for Microsoft Servers (VSS) runs under to COM Security of the affected server

As the domain account used for this service is a member of the local administrators group that already has the permissions this would also have surprised me but we tested it anyway. It turns out this is not the cause either.

image

But for your information this is how it’s done:

You can eliminate the error condition by adding the access permissions for the Network Service account to the COM Security of the affected server. To add the access permissions for the Network Service account, do the following:

  • From the Start Menu, select Run
    The Run dialog opens.In the Open field, input dcomcnfg and click OK.
    The Component Services dialog opens.
  • Expand Component Services, Computers, and My Computer.
    Right-click My Computer and click Properties on the pop-up menu.
  • The My Computer Properties dialog opens.
  • Click the COM Security tab.
    Under Access Permission click Edit Default.
  • The Access Permissions dialog opens.
  • From the Access Permissions dialog, add the DOMAINcompellentreplayservice account with Local Access & Remote access allowed (cluser => not just a local host).
  • Close all open dialogs.
  • Restart the computer.

The real cause & solution

According to Microsoft support this issue occurs when using a 3rd party backup program that utilizes Windows VSS (Volume Shadow Service) and has its own requestor. This is indeed the case here. “It looks like the requestor (the backup application) does not allow system writer to call back into their process and hence generates the error in the application log.” This sounds very plausible Winking smile

The fix:

  1. The following example grants access to the "DOMAINcompellentreplayservice" account.
  2. Click on Start, type regedit in the search box.
  3. On the Registry Editor window, navigate to: KEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Services>VSS>VssAccessControl
  4. Add a DWORD value with the name: "DOMAINcompellentreplayservice" and set the value to “1”.

image

image

image

And voila: the error has gone when running backups Open-mouthed smile

image

I assume no responsibility if you do this in your environment but I can say that all this works perfectly in our CommVault Simpana 9.0 R2 setup whist backing up the virtual machines on our Hyper-V cluster nodes at the host level using the DELL Compellent hardware VSS provider. And yes this is Windows Server 2012, careful testing, planning helps when being an early adaptor.

Altaro Hyper-V Backup 3.5 Supports Windows 2012

Altaro is one of the first backup vendors to support Windows Server 2012 with release of Hyper-V Backup v3.5. It has few that can match that speed to market and then we’re talking the likes of CommVault who Altaro can teach some lessons left and right (I should know, I’m a long time CommVault customer and whilst a great product they should really address some issues, hire a GUI developer is one, get decent information and accessible support is another, we won’t even mention pricing Winking smile).

With Altaro Hyper-V Backup v3.5. we get full support Windows Server 2012. That is CSV 2.0, VSS backups of SMB 3.0  etc. As an early adaptor I can appreciate the speed and time to market of a backup product. I do not like 3rd party vendors keeping me back of getting the most of Volume License software assurance so these things matter to me when selecting products.

Check out htttp://www.altaro.com/hyper-v-backup/ for more information. Some of their customers are enough to make you look at their solution. At least it made me do so => Harvard University, Max-Planck Institute, Los Alamos National Laboratory, Princeton University, US Geological Survey, … etc. (I’m a scientist by training so yes these customers appeal to me Smile) .

Disclaimer: No I did not ever accept any offer for sponsorship from any vendor, even if asked, just because I wanted to make sure you know who’s story I’m telling.

Windows Server 2012 Is Launched

It’s 17:00 hours here in Belgium (GMT+1, summer time) and Windows Server 2012 has been officially launched today world wide! The world wide launch event can be followed on line here so join in.

This is huge. Anyone who has been watching the virtualization & private cloud area of endeavor knows what this release means. I’m an early adopter and spent the day bringing another 2 Hyper-V cluster on line for our transition to Windows Server 2012 (UEFI boot).

image

We are running it it production with great success.

This version is a game changer and it means a lot to us all en our customers. This is a very capable Operating System that puts to rest any doubts whether Windows will work in any environment imaginable. Sure, the competition will mark it as insignificant but that’s FUD. From this year on with Windows Server 2012 Hyper-V the tables have turned. As of this year vLimited is stopped in it’s tracks, this is the year where they will loose ground and Hyper-V will lead. If nothing else customers tied in to them will benefit from this competition, but I hope they do more than just that Winking smile

Get ready for your future and invest in skills and knowledge. Start your learning journey here with events the Belgian community is contributing towards.It’s impressive what the community does to share knowledge and I’m proud to be part of that. I’m also honored to have had to opportunity to talk to so many Microsoft employees at many occasions, including the MVP Summit.

Intel X520 Series NIC on Windows 2012 With Hyper-V Enabled Port Flapping Issue

When you install Windows Server 2012 RTM to a server with X520 series NIC cards you’ll notice that there is a native driver available and the performance of that driver is fantastic. It’s really impressive to see.

image

That’s great news but I’ve noticed an issue in RTM that I already dealt with in the release candidate.

The moment you install Hyper- V some of the X520 NIC ports can start flapping (connected/disconnected).  You’ll see the sequence below endlessly on one port, sometimes more.

image

image

image

As you can imagine this ruins the party in Hyper-V networking an bit too much for comfort Confused smile But it can be fixed. The root cause for this I do not know but it is driver related. The same thing happened in the release candidate. But now things are easier to fix. Navigate to the Intel Site to download their freshly released driver for the X520 series on Windows Server 2012 and install it (you don’t need to install the extra software with Advanced Network Services => native Windows NIC teaming has arrived). After that the flapping will be gone.

image

Hope this helps some folks out!