Friday, May 7, 2010

Virtualization: Saving & Restoring VM

Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi

Saving a Virtual Machine

You can use virsh to save the current state of a virtual machine to a file:

virsh save [domain-name][domain-id | domain-uuid][filename]

This stops the virtual machine you specify and saves the data to a file, which may take some time given the amount of memory in use by your virtual machine. You can restore the state of the virtual machine with the restore option .

Restoring a Virtual Machine

You can use virsh to restore a virtual machine that you previously saved with the virsh save option :


virsh restore [filename]

This restarts the saved virtual machine, which may take some time. The virtual machine's name and UUID are preserved but are allocated for a new id.

Thursday, May 6, 2010

Vitualization: Suspending & Resuming VM

Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi

Suspending a Virtual Machine

You can use virsh to suspend a domain:


virsh suspend [domain-id | domain-name |domain-uuid]

When a domain is in a suspended state, it still consumes system RAM. There will also be no disk or network I/O when suspended. This operation is immediate and the virtual machine must be restarted with the resume option .

Resuming a Virtual Machine

You can use virsh to restore a suspended virtual machine:


virsh resume [domain-id | domain-name | domain-uuid]

This operation is immediate and the virtual machine parameters are preserved in a suspend and resume cycle.