Solved

Hyper-V snapshots

Posted on 2015-02-18
3
167 Views
Last Modified: 2015-02-27
Before doing some work on a Hyper-V VM, I want to make sure I can reverse the change should something happens. I know this can be done with snapshot but I wonder if they are really worth it. The .AVHD file can occupy a significant amount of space and it won't give it back until the VM is restarted. Also, the merging process makes me nervous.  Sometimes I find it easier to just shutdown the machine, copy the .VHD file, restart the VM, do the work on it and if nothing bad happens, I simply delete the copy after a few days. Am I causing an unnecessary headache by proceeding like this? The Hyper-V host runs on W2k8 R2.


Thank you!
0
Comment
Question by:Alan Dala
  • 2
3 Comments
 
LVL 56

Accepted Solution

by:
Cliff Galiher earned 500 total points
ID: 40617939
It really depends on the workload. Taking a checkpoint *or* putting an old VHD back in place for a DC, as an example, would have equally bad consequences.

Checkpoints tend to be faster, and if you have large AVHDs, that's usually a good sign that you are letting them linger too long. Having a checkpoint around for weeks is terrible for performance, but replacing a VHD with a two-week old copy would be equally as bad for *most* workloads.

In short, checkpoints are not intended to replace real backups, but do make a nice supplemental tool for quick low-risk maintenance tasks and *don't* require taking the VM offline for an extended period, unlike copying a VHD. I use them regularly and safely for things like monthly patches, minor app changes, or other things that a quick rollback would be nicer than a full BMR should the task go sideways. But they don't linger beyond 48 hours. Ever.
0
 

Author Comment

by:Alan Dala
ID: 40636593
Hi and thank you for your answer.

Patches are the reasons why I'm looking into using 'snapshots'. The problem is that my VMs run on W2k8 R2  so there is no 'live' option to  consolidate snapshots. The idea of turning off the servers in order for the snapshots to consolidate, it's a real concern. It doesn't seem to work when you 'shut down'. It needs a hard shutdown which is not ideal to say the least. It looks like 2012 has the ability to consolidate snapshots while live but I'm still not sure of what's going on in the background. Is the performance affected in any way? Is this transparent to the users?


Thank you!
0
 
LVL 56

Expert Comment

by:Cliff Galiher
ID: 40636606
Yes, you need yo shut down the VM to merge in 2008 R2. That would be the reason I said you don't need to shut down "for an extended period" as copying a VHD requires. I didn't say the maintenance window was zero.

You should not have to "hard" turn off a VM though. Shutting down works. If it isn't, you have some other problem.

Yes, 2012 supports live merges.

Yes, there is a performance penalty during the merge.

So yes, that means end users may notice the performance slowdown during the merge.

As I said, this isn't a replacement for backups, nor does it replace proper maintenance planning in regards to staff communications, maintenance windows, and finding times of least impact.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now