摘要 |
Techniques are provided for preserving state—both machine state and user state—in a virtual machine (VM) in a server deployment. User state may be preserved among a plurality of VMs in a server deployment by storing data specific to the user in a virtual hard drive (VHD). When a user logs into a particular VM, the VM remaps portions of a guest OS file system that correspond to user state to the VHD and mounts the VHD. Machine state may be preserved by storing information particular to a VM apart from that VM. When a VM is to be recreated, a diff disk containing the information particular to the VM is determined based on the current VM, the information particular to the VM, and a gold image that the VM is to be created with. Then, the VM is created with the gold image and the diff disk.
|