cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus <>
Subject Re: Getting Memory Dump of a running VM on CloudStack
Date Thu, 05 Feb 2015 18:55:31 GMT
It's not taken as a dump file. It uses the standard libvirt migration
where it connects to the libvirt daemon on the destination and streams
the state.

You should be able to take state snapshots of the vm manually like
you'd normally do with libvirt on the hypervisor (I'm sure there's a
virsh command), but restoring it in a way that CloudStack will like
would be a bit tricky. If you save off the XML and memory state, then
do a 'virsh create' to start the vm again, CloudStack should notice
the vm is up and sync up, but it requires that you really know what
you're doing.

On Thu, Feb 5, 2015 at 7:22 AM, Deepal Jayasekara
<> wrote:
> Can anyone explain or point me to some resources on how CloudStack performs
> live migration of VMs with KVM? I need to know how the memory is taken as a
> dump file and restored on another machine during migration. Can we
> intercept and take the memory dump to store wherever we want? So that we
> can restore the machine state later?. I need a similar solution because
> CloudStack does not provide taking memory snapshots with KVM. Any resources
> or explaination would be highly appreciated.
> Thank you.
> *Deepal Jayasekara*
> Undergraduate, Department Of Computer Science And Engineering
> University of Moratuwa, Sri Lanka
> | mobile: +94712070097  | blog: *
> <>*
> <>
> <>
> <>

View raw message