[solved] Checkpointing does not work ? [message #33968] |
Fri, 21 November 2008 21:23 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
ronnidk
Messages: 7 Registered: November 2008 Location: Denmark
|
Junior Member |
|
|
Hi,
I want to substitue one of my virtual servers, so the new one get the old ones information; container id, hostname, ip etc.
I read in this thread: http://forum.openvz.org/index.php?t=msg&goto=29069&
That I should do this:
host# vzctl chkpnt 101 --dumpfile /tmp/Dump.101
host# mv /etc/vz/conf/101.conf /etc/vz/conf/102.conf
host# mv /vz/private/101 /vz/private/102
host# mv /vz/root/101 /vz/root/102
host# vzctl restore 102 --dumpfile /tmp/Dump.101
But when I do:
vzctl chkpnt 101 --dumpfile /tmp/Dump.101
I get thsi error:
Setting up checkpoint...
suspend...
dump...
Can not dump container: Invalid argument
Error: iptables-save exited with 255
Checkpointing failed
The /var/log/vzctl.log also just tells me that it can't dump the container, but not why?
Any help?
- Ronni
[Updated on: Tue, 25 November 2008 13:26] by Moderator Report message to a moderator
|
|
|
|
|
|
Re: Checkpointing does not work ? [message #34001 is a reply to message #33992] |
Tue, 25 November 2008 07:10 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
ronnidk
Messages: 7 Registered: November 2008 Location: Denmark
|
Junior Member |
|
|
I've run /sbin/iptables-save on my server (Ubuntu 8.10) which seem to work.
I get the following output:
# Generated by iptables-save v1.4.0 on Tue Nov 25 08:06:33 2008
*filter
:INPUT ACCEPT [125:13040]
:FORWARD ACCEPT [58:4673]
:OUTPUT ACCEPT [96:12110]
COMMIT
# Completed on Tue Nov 25 08:06:33 2008
I ran the iptables-save on my workstation @ work (Ubuntu 8.10), which gave me this output:
# Generated by iptables-save v1.4.0 on Tue Nov 25 08:06:03 2008
*filter
:INPUT ACCEPT [1017917:1038266678]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [721641:134562042]
COMMIT
# Completed on Tue Nov 25 08:06:03 2008
So it seems to work? Unless theres a bug in Ubuntu ?
- Ronni
[Updated on: Tue, 25 November 2008 07:12] Report message to a moderator
|
|
|
|
|