Using Quick Storage Migration for VHDs with DFSR data

As shown in my last post, I recently added some storage to our SAN, and will be moving existing VHD files from our Hyper-V cluster to this new storage.

The unique thing about this is that these VHD’s contain data that is being served with Microsoft DFS and replicated with DFSR. Hopefully word is spreading about DFSR data stores requirements for backup, which include some specific requirements for backup, especially when it comes to snapshots due to the multi-master database DFSR uses. Because of this information, I was a little concerned about the Quick Storage Migration (QSM) and so I started digging.

I eventually came across this blog post that went into detail about how the QSM works; It mentions that it does a snapshot of the VM and creates differencing disks, and eventually the snapshot is merged and VM restarted from that saved state. At this point I was concerned about my DFS data and so I sent an email to the wonderful and always helpful AskDS blog seeking clarification.

 

Here’s the response from Ned Pyle:

My presumption is that this is safe because – from what I can glean – this feature never appears to roll back time to an earlier state as part of its differencing process.

He then went the extra mile and contacted internal Microsoft peers closely related to the QSM feature, who responded:

That’s correct, we don’t revert the machine state to an earlier time. A differencing disk is created to keep track of the changes while the parent vhd is being copied. Once the VHD is copied, the differencing disk is merged into the parent.

 

Based on that I performed a QSM of my 1.6 TB VHD yesterday. It took 12.5 hours to complete, but in the end it was fully successful, with no negative repercussions.

Something interesting to note, is that I had to manually move a different 350GB vhd file to my new storage first, instead of a QSM since I was out of space on the original storage to create the avhd differencing disk. I shut down the VM, transferred the VHD (took about an hour), and then re-pathed it within the VM settings and turned the VM back on.

Following this I received a DFSR error # 2212 that “The DFS Replication service has detected an unexpected shutdown on volume F:”. I’m not sure why this occurred, and I only did the one transfer so I can’t verify that it wasn’t related to some other operation or bad shutdown.

 

Does your vendor treat you well?

There’s a few projects I’m managing lately related to storage expansion and conversion to backup-to-disk (which I’ll hopefully post on in the future). Part of this process has been the acquisition of equipment and software.
The order was split between two vendors, and was quite large by our standards. Something unexpected happened that surprised me, and made me think about the client/vendor relationship my company has with others.

Part of the purchase was with CDW Canada, and our account rep added a not-insignificant gift item to the order. It was a really nice touch, and something that while not immediately practical, really puts CDW in a good light.

I spend much more money with other vendors over CDW for a variety of reasons, and yet none treat me as good as they do. None of my other vendors have such a consistent quality online ordering system, or stock checks, or shipping speed. None of my other vendors send me a big tin of Christmas cookies every year, like CDW does.

This isn’t to say I don’t appreciate my other vendors; I wouldn’t put money their way if that was the case. But it’s the little things like what CDW has or does that make it worthwhile for us to keep using them.

 

I could be off base here, and some may think that a vendor shouldn’t be required to woo with gifts and tokens. I disagree with that though; it’s a competitive marketplace, and those things (along with great customer service and support) go a long way in making the decision of where to spend my money easier.

How well does your vendor treat you? If they’re a primary one and you spend lots of money there, perhaps its time to talk to your account rep about what they can do for you; what advantages they provide over others.

Future Technology can’t come soon enough

As I’ve been reviewing my Hyper-V and storage infrastructure at work, I can’t help but wish that future technology was available right now.

Primarily, I wish I had production ready releases of:

  • Windows Server 8 (For Hyper-V 3.0)
  • 802.11ac devices

Within my environment, running on our Dell MD3220i SAN I’ve got a file server VM with multiple VHDs attached. Most of these VHDs correspond to a DFS folder target that is being replicated using DFSR. The problem is that the folder target storing the majority of files is projected to grow beyond 2TB before the end of 2012.

My short term plan is to use a passthrough disk to a new LUN on an MD1220 attached to our SAN, but I’d really like to keep it contained within a VHDX file from Windows Server 8.

The reason for that is BACKUPS. The plan I’m thinking about right now is to use Hyper-V Replica to an offsite server for disaster recovery, with file-level backups of the contents of our VMs to an offsite NAS using some method of dedupe and compression. Again, waiting on Windows Server 8 for that.

The issue with this backup plan is connectivity to our offsite location which is a building across the parking lot from our head office that we lease.

Right now it’s connected by an 802.11a connection at 54Mbps. That’s really too slow to be able to do backups across, especially when we’re looking at just 500GB of Exchange data.

I’d really love to be able to set up an 802.11ac device that provides up to gigabit throughput. While I have read manufacturers such as Broadcom are working on these chips, they’re not commercially available yet.

 

The implementation of just these two things would make me much happier with my infrastructure and give me better scalability for the future.

 

Growing Family

Baby feet with Daddy feetI haven’t had a post in a while, because on February 4th I welcomed my new daughter into the world. This is my second child (I have a 3 year old boy too), and I don’t know how I thought a newborn was difficult the first time around, this girl is easy! And that’s the last time I ever describe my daughter as ‘easy’.

I had two weeks off from work, and thought that I would be able to catch up on some lower priority projects while I was away, as well as keep up with a few blog posts and other business. Turns out that when kids equal the number of adults, you lose even more time and energy, so I didn’t get much of anything done. Still, it was a nice break and I really didn’t want to return to regular work hours.

Something that I am very thankful for is how nice it is to have a child in Canada. The constant attention during pregnancy by a regular doctor, the dedicated room and attentive staff at the hospital during, and the fact that there is no financial stress to worry about since it is all covered. It blows my mind that people in the U.S. have to consider things like, “can I afford the thousands of dollars the birth of my child is going to cost me?”

 

I still think it’s going to take me a little while to adjust to the dynamics of two kids while maintaining my own likes and interests. Not to mention ensuring my 3 year old doesn’t maim the newborn in some way.

So here’s to healthy kids and a new normal!

Hyper-V Cluster and Windows Server licensing

Thanks to Aidan Finn and this blog post, I’ve recently discovered that how I planned the licensing for my Hyper-V cluster is incorrect.

With two Dell R410’s in a Hyper-V cluster, I purchased two licenses of Windows Server 2008 R2 Enterprise. I figured that as long as I didn’t run more than 4 VMs per host, I’d be good. In the case of a Live Migration or fail over, the VMs weren’t permanently assigned to the other host so it’d be alright. For future VMs, one off purchases of Server Standard would be made to allow for their use.

I really don’t understand why Microsoft doesn’t make it more obvious that Datacenter really is what’s necessary to run a Hyper-V cluster. Unless you’re running 4 VM’s or less across two hosts, Datacenter is the only way to go. Any more than that, and you’ll be doubling up on Enterprise licenses for each host, which by that point you might as well buy Datacenter. For a two host Hyper-V cluster this will cost between $12,000-15,000.

I’m assuming this is just as much of a problem for ESXi clusters too; apply a Windows license to each host even though it isn’t running Windows, so that during failover, the licensing is legal.

 

At least now I know that this is incorrect, so for 2012 fiscal two Windows Server Datacenter licenses will be purchased. Of course with Windows 8 around the corner, I’ll be getting these licenses with Software Assurance (assuming Windows 8 isn’t out yet).

Thinking about Datacenter has got me really excited actually, because of the additional Hyper-V features, future improvements to DFS and DFSR (which I’m anxiously awaiting news of) and updated OS for WDS, RDS and a bunch of other services.