[virt-tools-list] recovery of virtual machine

Tapas Mishra mightydreams at gmail.com
Thu Feb 10 11:52:59 UTC 2011


On Thu, Feb 10, 2011 at 12:42 AM, Cole Robinson <crobinso at redhat.com> wrote:
> On 02/09/2011 01:04 PM, Tapas Mishra wrote:
>> On Wed, Feb 9, 2011 at 11:08 PM, Cole Robinson <crobinso at redhat.com> wrote:
>>> On 02/09/2011 08:16 AM, Tapas Mishra wrote:
>>>> I want to know if for some reason the host OS has crashed and I need
>>>> to restore in such a situations how do I recover the Virtual Machines.
>>>> All these VMs are on separate LVM partition on same hard disk.
>>>
>>> If you still have the disk image, all you'd really need to do is recreate the
>>> VM configuration using a tool like virt-install or virt-manager. For example
>>>
>>> virt-install --import --disk /path/to/original/disk/image <options>
>>>
>>> - Cole
>> All those are LVM images so in this situation what do I need to do let me know.
>> I have the backup of xml files.
>
> Hmm, maybe I'm not clear on what you are asking. If you are trying to recreate
> your virtual machines, and you have the LVM volumes in place, just do
>
> virsh define <xmlfile>
>
> If you mean that you're host crashed while your guests were running, there
> isn't much you can do except try to restart your VMs and see what happens.
>
Yes the host had crashed.When I copied the xml files to /etc/libvirt/qemu
all my VMs are back without any problem other than the SSH problem I
mentioned in a different thread.


-- 
http://mightydreams.blogspot.com




More information about the virt-tools-list mailing list