In today’s demo, we will show you another new feature in Windows Server Hyper-V called Production Checkpoints.
Table of Contents
Introduction
A little bit of overview about checkpoints (a.k.a snapshot):
A checkpoint is a point-in-time capture of a virtual machine’s storage and memory state, which can then be reverted to at some later point in time.
When Microsoft first designed checkpoints back in Windows Server 2008, they were designed specifically for Dev and Test environment and not for production use, because the virtual machine is unaware of the checkpoint capture and therefore the state could be inconsistent. If you think about this scenario, if you have an exchange server, SQL server, or a file server, when you roll the server back with all the memory state, it thinks that has all the clients are still connected to it, it thinks it still has the I/O operations of that you don’t want a server to have at this point in time.
However, people are using checkpoints in production, so Microsoft in Windows Server 2016 introduced Production Checkpoints, which gives you the exact same user experience that you get with checkpoints today, but instead of capturing the memory state, they use VSS (Volume Shadow Copy) infrastructure to get a data consistent snapshot inside the (Guest) Windows virtual machine. However, for Linux virtual machines, the file system buffers are flushed out, which makes the OS an application-consistent state and therefore usable in a production environment.
WARNING! That this still doesn’t eliminate the need for regular backups. Please keep taking backup!
One important point to mention is that you can still use the old-style (standard) checkpoints if you prefer, as well as configure the standard checkpoints to be used if the production checkpoint is not possible (e.g. If the backup integration service isn’t available).
A question that you might ask is, so what is the difference then between Production Checkpoints and Standard Checkpoints?
The following table shows when production and standard checkpoint is applicable, depending on the state of the virtual machine:
Please note that there is no difference between a production checkpoint and a standard checkpoint that was taken when the virtual machines are in an Offline state.
There are only two types of checkpoints that can be created:
1) One with a Saved State.
2) One without a Saved State.
Regardless of how a checkpoint was created – they are all treated equally after creation.
Production Checkpoints demo
Let’s look together at the Production Checkpoints in action!
I hope you enjoyed this short demo and I would like to thank you for viewing it.
Make sure to check my recent Windows Server Hyper-V Cookbook for in-depth details about Hyper-V!
Cheers,
/Charbel