Skip to contentSkip to conversation

how to make checkpoint for a PV vm , while maintain it running ?

DISCUSSION tgh 2 participants 3 messages Nov 21, 2007 – Nov 22, 2007 1 message not in the archive

lore
Share & tools
lore

tgh

author
#1 lore raw
In reply to a message not in the archive

hi
I have tried to make checkpoint for a PV vm with"xm save -c dom1
/tmp/dom1 "in xen-3.1.0,the ckeckpoint file could be used to restore the vm, but the vm do not continue to run ,after "xm save -c dom1 /tmp/dom1",the vm could not be accessed through console ,could not be shutdown using"xm shutdown dom1" and could not be pinged from dom0, but "xm destroy dom1" could work,
should some configures be set before "xm save -c ",or what should i
do to make a vm checkpoint, while maintain the checkpointed vm running?

Thanks in advance

#2 lore raw
Quoted 9 lines · tgh

hi
I have tried to make checkpoint for a PV vm with"xm save -c dom1
/tmp/dom1 "in xen-3.1.0,the ckeckpoint file could be used to restore the vm, but the vm do not continue to run ,after "xm save -c dom1 /tmp/dom1",the vm could not be accessed through console ,could not be shutdown using"xm shutdown dom1" and could not be pinged from dom0, but "xm destroy dom1" could work,
should some configures be set before "xm save -c ",or what should i
do to make a vm checkpoint, while maintain the checkpointed vm running?

I've just tried this on Xen 3.1.2 and it seems to work fine. So I'd suggest first upgrading Xen, and then if you still have problems, build xen with debug=y verbose=y and see if anything turns up in xend.log or /var/log/daemon or the guest console.

author
#3 lore raw

hi
Thank your for your advise
that is to say , xen-3.1.0 does not support checkpoint while maintaining PV vm running ,is it ?or maybe ,there are something I have missed beforing checkpointing on xen-3.1.0, for the node is shared by some fellows at present, i guess I will try xen-3.1.1 later, but how to deal with it on xen-3.1.0 anyway ? or it could not on xen-3.1.0?

Thanks

Quoted 15 lines · Brendan Cully
Quoted 6 lines · tgh

hi
I have tried to make checkpoint for a PV vm with"xm save -c dom1
/tmp/dom1 "in xen-3.1.0,the ckeckpoint file could be used to restore the vm, but the vm do not continue to run ,after "xm save -c dom1 /tmp/dom1",the vm could not be accessed through console ,could not be shutdown using"xm shutdown dom1" and could not be pinged from dom0, but "xm destroy dom1" could work,
should some configures be set before "xm save -c ",or what should i
do to make a vm checkpoint, while maintain the checkpointed vm running?

I've just tried this on Xen 3.1.2 and it seems to work fine. So I'd suggest first upgrading Xen, and then if you still have problems, build xen with debug=y verbose=y and see if anything turns up in xend.log or /var/log/daemon or the guest console.