I will show you a simple (and low cost) manual method for back and recovery
of virtual machines running on Hyper-V. When I ran through the process
in my lab, I purposely used two different types of virtual machines:
For that other class of VMs, those that do not support VSS or do not have the “Backup” Integration Service enabled, Windows Server 2008 R2 and Hyper-V still can create a consistent backup, but the process is a little bit different. If the VM (for whatever reason) cannot itself consume the coordinate VSS request, Hyper-V will save the state of the VM (hibernate it) copying the contents of memory to disk and then generate a snapshot of the disk housing the VM. Here’s how the process looks to a running VM in this category:
The key thing to note is that you can improve the backup and recovery of even unsupported operating systems running on Hyper-V.
- one Windows VM with a VSS-aware OS and enabled integration services (Windows Server 2003)
- VM without VSS or integration services and absolutely no support from Microsoft (Hannah Montana Linux)
For that other class of VMs, those that do not support VSS or do not have the “Backup” Integration Service enabled, Windows Server 2008 R2 and Hyper-V still can create a consistent backup, but the process is a little bit different. If the VM (for whatever reason) cannot itself consume the coordinate VSS request, Hyper-V will save the state of the VM (hibernate it) copying the contents of memory to disk and then generate a snapshot of the disk housing the VM. Here’s how the process looks to a running VM in this category:
- Backup is requested, and a running VM is found on the host – say,
like Hannah Montana Linux (or Windows 2000), which does not have VSS
- Hyper-V and VSS figure out that Hannah Montana can’t consume the
VSS request, so the state of running VM is saved to disk into the
directory which contains the VMs configuration file – this usually takes
only a few seconds, but depends on the amount of memory used by the VM
and the speed of the attached disk storage
- Once the VM is completely stopped and the configuration saved, the VSS snapshot on the host can be created
- After the snapshot is generated, the VM is restarted
- The VM starts right back where it was, with only a brief “freeze” and “thaw’
The key thing to note is that you can improve the backup and recovery of even unsupported operating systems running on Hyper-V.
No comments:
Post a Comment