VM Manager 101: Create a disk clone before patching VMs | C2C Community

VM Manager 101: Create a disk clone before patching VMs

  • 22 March 2021
  • 0 replies
  • 12 views

Userlevel 7
Badge +65

“A request that comes up often when talking to customers that plan on using this service or are already using it, is how to create a backup of the state of a virtual machine before patches are applied in order to be able to roll back in case something goes wrong with patching or with the patches themselves. Unfortunately this feature is not supported by VM Manager out of the box. 

One of the capabilities the service supports however is the ability to run pre-patch and post-patch scripts on each VM that is targeted for patching. Scripts running pre-patching or post-patching run on the instance and in the context of the service account that is associated with it (either the Compute Engine default service account or the one that was used during creation).”

In this article, Christoph Petersen is explaining how pre-patch scripts can be leveraged to create a crash consistent disk clone of the attached persistent disks of a VM before patches are applied.


0 replies

Be the first to reply!

Reply