OpenVZ Forum


Home » General » Support » Failed to suspend VE
Failed to suspend VE [message #12695] Mon, 07 May 2007 13:24 Go to next message
goeldi
Messages: 92
Registered: June 2006
Member
I try to migrate a VE from one HN to another one with the exact same kernel (2.6.9-023stab043.2-smp). On both machines, Quota is disabled in /etc/vz/vz.conf (DISK_QUOTA=no).

This is what I get:

/usr/sbin/vzmigrate -r no --online -v 195.141.118.235 134
OPT:-r
OPT:--online
OPT:-v
OPT:195.141.118.235
Starting online migration of VE 134 on 195.141.118.235
OpenVZ is running...
    Loading /etc/vz/vz.conf and /etc/vz/conf/134.conf files
    Check IPs on destination node: 195.141.118.134
Preparing remote node
    Copying config file
134.conf                                                                                    100% 1392     1.4KB/s   00:00
Saved parameters for VE 134
    Creating remote VE root dir
    Creating remote VE private dir
Initializing remote quota
    Quota init
    Turning remote quota on
Syncing private
Live migrating VE
    Suspending VE
Setting up checkpoint...
Error: No checkpointing support, unable to open /proc/cpt: No such file or directory
Error:  Failed to suspend VE
vzquota : (error) Quota is not running for id 134


source HN vz.conf:
## Global parameters
VIRTUOZZO=yes
LOCKDIR=/vz/lock
DUMPDIR=/vz/dump
VE0CPUUNITS=1000

## Logging parameters
LOGGING=yes
LOGFILE=/var/log/vzctl.log
LOG_LEVEL=0

## Disk quota parameters
DISK_QUOTA=no
VZFASTBOOT=no

# The name of the device whose ip address will be used as source ip for VE.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"

## Template parameters
TEMPLATE=/vz/template

## Defaults for VEs
VE_ROOT=/vz/root/$VEID
#VE_PRIVATE=/vz/private/$VEID
VE_PRIVATE=/home/$VEID
CONFIGFILE="vps.10stueck"
DEF_OSTEMPLATE="fedora-core-4"

## Load vzwdog module
VZWDOG="no"

IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"


target HN vz.conf:
## Global parameters
VIRTUOZZO=yes
LOCKDIR=/vz/lock
DUMPDIR=/vz/dump
VE0CPUUNITS=1000

## Logging parameters
LOGGING=yes
LOGFILE=/var/log/vzctl.log
LOG_LEVEL=0
VERBOSE=0

## Disk quota parameters
DISK_QUOTA=no
VZFASTBOOT=no

# The name of the device whose ip address will be used as source ip for VE.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"

## Template parameters
TEMPLATE=/vz/template

## Defaults for VEs
VE_ROOT=/vz/root/$VEID
VE_PRIVATE=/vz/private/$VEID
CONFIGFILE="vps.basic"
DEF_OSTEMPLATE="fedora-core-4"

## Load vzwdog module
VZWDOG="no"
IPV6="no"

IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"


134.conf:
# Configuration file generated by vzsplit for 10 VPS
# on HN with total amount of physical mem 2022 Mb
# low memory 808 Mb, swap size 1019 Mb, Max treads 8000
# Resourse commit level 0:
# Free resource distribution. Any parameters may be increased
# Primary parameters
NUMPROC="800:800"
AVNUMPROC="206:206"
NUMTCPSOCK="800:800"
NUMOTHERSOCK="800:800"
VMGUARPAGES="310636:2147483647"

# Secondary parameters
KMEMSIZE="16949002:18643902"
TCPSNDBUF="2372867:5649667"
TCPRCVBUF="2372867:5649667"
OTHERSOCKBUF="1186433:4463233"
DGRAMRCVBUF="1186433:1186433"
OOMGUARPAGES="310636:2147483647"
PRIVVMPAGES="310636:341699"

# Auxiliary parameters
LOCKEDPAGES="827:827"
SHMPAGES="31063:31063"
PHYSPAGES="0:2147483647"
NUMFILE="6592:6592"
NUMFLOCK="659:724"
NUMPTY="80:80"
NUMSIGINFO="1024:1024"
DCACHESIZE="3686400:3796992"
NUMIPTENT="200:200"
DISKSPACE="204799:225280"
DISKINODES="80000:88000"
CPUUNITS="13440"
IP_ADDRESS="195.141.118.134"
HOSTNAME="web"
VE_ROOT="/var/vz/root/134"
VE_PRIVATE="/var/vz/private/134"
OSTEMPLATE="centos-4-i386-default"
ORIGIN_SAMPLE="vps.10stueck"
NAMESERVER="195.141.56.5 212.40.0.10"
ONBOOT="yes"
IPTABLES="iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_L
OG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_
irc ipt_REDIRECT"
Re: Failed to suspend VE [message #12696 is a reply to message #12695] Mon, 07 May 2007 13:28 Go to previous messageGo to next message
scythe is currently offline  scythe
Messages: 22
Registered: December 2005
Location: Hungary
Junior Member
Quote:

Error: No checkpointing support, unable to open /proc/cpt: No such file or directory


Seems like You dont have the checkpointing (cpt) module compiled/loaded?
Im not sure if it is built in 2.6.9, it isnt in 2.6.20 for sure.
Re: Failed to suspend VE [message #12698 is a reply to message #12696] Mon, 07 May 2007 13:32 Go to previous messageGo to next message
goeldi
Messages: 92
Registered: June 2006
Member
I saw here ( http://forum.openvz.org/index.php?t=tree&th=885&mid= 4794&&rev=&reveal=) that test kernel are needed, but this was almost 1 year ago. Is checkpointing now not in the stable kernel?

And: is it needed on both sides or only on the source node?
Re: Failed to suspend VE [message #12699 is a reply to message #12695] Mon, 07 May 2007 13:44 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
Quote:

Error: No checkpointing support



You need to use a 2.6.18 kernel. 2.6.9 openvz does not support checkpointing, which is using for live migration.


-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
Re: Failed to suspend VE [message #12700 is a reply to message #12699] Mon, 07 May 2007 13:46 Go to previous messageGo to next message
goeldi
Messages: 92
Registered: June 2006
Member
do both nodes need the 2.6.18 kernel?
Re: Failed to suspend VE [message #12701 is a reply to message #12700] Mon, 07 May 2007 13:51 Go to previous messageGo to next message
rickb is currently offline  rickb
Messages: 368
Registered: October 2006
Senior Member
yes, both nodes need to be 2.6.18 w/ openvz

-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions

UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
icon4.gif  Re: Failed to suspend VE [message #12709 is a reply to message #12699] Mon, 07 May 2007 16:24 Go to previous messageGo to next message
rookie is currently offline  rookie
Messages: 12
Registered: October 2006
Location: CH
Junior Member
rickb wrote on Mon, 07 May 2007 15:44

Quote:

Error: No checkpointing support



You need to use a 2.6.18 kernel. 2.6.9 openvz does not support checkpointing, which is using for live migration.



Are you sure? ...sorry but my vzmigrate works fine with 2.6.9stab kernel (Between CentOS4-Nodes). I migrate Slackware- and CentOS-VPS online with vzmigrate. So i think it's possible to migrate online with kernel 2.6.9stab. (My english maybe very bad but my online-migration with 2.6.9stab kernel works very good Wink)
Re: Failed to suspend VE [message #12739 is a reply to message #12695] Tue, 08 May 2007 13:17 Go to previous message
Andrey Mirkin is currently offline  Andrey Mirkin
Messages: 193
Registered: May 2006
Senior Member
Please load CPT modules on both nodes:
modprobe vzcpt
modprobe vzrst


What kernel version do you use?


Andrey Mirkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: Problem to install package in a VPS with Centos
Next Topic: Mounts--bind, issue or limitation?
Goto Forum:
  


Current Time: Tue Nov 19 18:37:47 GMT 2024

Total time taken to generate the page: 0.04035 seconds