OpenVZ Forum


Home » General » Support » *SOLVED* migration problem, right version now
*SOLVED* migration problem, right version now [message #4818] Thu, 27 July 2006 08:39 Go to next message
atomico80 is currently offline  atomico80
Messages: 14
Registered: July 2006
Location: Belgium
Junior Member

Hi,

Again trying to migrate.
my kernel is 2.6.16-026test015
after setting up both machines and 2nd level quota on vps 76
i type the command:
vzmigrate --online 10.10.7.4 76

and the is the output:
OPT:--online
OPT:10.10.7.4
Starting online migration of VPS 76 on 10.10.7.4
Preparing remote node
Initializing remote quota
Syncing private
Live migrating VPS
Syncing 2nd level quota
Failed to undump VPS
vzquota : (error) Quota is not running for id 76

note: DISK_QUOTA=yes in /etc/sysconfig/vz

can u please help me?
is there some more info i should add?

Thanks
A.M.

[Updated on: Thu, 27 July 2006 13:43] by Moderator

Report message to a moderator

Re: migration problem, right version now [message #4819 is a reply to message #4818] Thu, 27 July 2006 10:41 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Please, do this command with -v (verbose) option:
# vzmigrate --online 10.10.7.4 76
Re: migration problem, right version now [message #4825 is a reply to message #4819] Thu, 27 July 2006 11:31 Go to previous messageGo to next message
atomico80 is currently offline  atomico80
Messages: 14
Registered: July 2006
Location: Belgium
Junior Member

here is the output

OPT:-v
OPT:--online
OPT:10.10.7.4
Starting online migration of VPS 76 on 10.10.7.4
    Loading /etc/vz/vz.conf and /etc/vz/conf/76.conf files
    Check IPs on destination node: 10.10.7.6
Preparing remote node
    Copying config file
76.conf                                               100% 1777     1.7KB/s   00:00
    Creating remote VPS root dir
    Creating remote VPS private dir
Initializing remote quota
    Quota init
    Turning remote quota on
Syncing private
Live migrating VPS
    Suspending VPS
Setup checkpoint...
        suspend...
        get context...
Checkpointing completed succesfully
    Dumping VPS
Setup checkpoint...
        join context..
        dump...
Checkpointing completed succesfully
    Copying dumpfile
dump.76                                                                                    100%  515KB 514.8KB/s   00:00
    Syncing private (2nd pass)
Syncing 2nd level quota
    Dumping 2nd level quota
    Copying 2nd level quota
quotadump.76                                                                               100%  402     0.4KB/s   00:00
    Load 2nd level quota
    Undumping VPS
Restoring VPS ...
Starting VPS ...
vzquota : (warning) Quota is running for id 76 already
VPS is mounted
        undump...
Error: undump failed: Invalid argument
Restoring failed:
HZ mismatch: 1000 != 250
VPS start failed
VPS is unmounted
Failed to undump VPS
Resuming...
vzquota : (error) Quota is not running for id 76

Thanks
Re: migration problem, right version now [message #4826 is a reply to message #4825] Thu, 27 July 2006 11:53 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
What kernels are working on both mashines? (uname -a)
Have you compiled kernels on the nodes yourself?
If so, can you attach both .config files here, thanks =)
Re: migration problem, right version now [message #4830 is a reply to message #4826] Thu, 27 July 2006 12:47 Go to previous messageGo to next message
atomico80 is currently offline  atomico80
Messages: 14
Registered: July 2006
Location: Belgium
Junior Member

Linux epaperweb93 2.6.16-026test015 #1 Wed Jul 26 16:30:20 CEST 2006 i686 GNU/Linux
sender

Linux hebe4 2.6.16-026test015 #1 Wed Jul 26 17:26:42 CEST 2006 i686 GNU/Linux
receiver

yes kernels compiled by me using the patch from the developenment section

.config attached.

something else?
  • Attachment: config_RX
    (Size: 28.54KB, Downloaded 245 times)
  • Attachment: config_TX
    (Size: 35.83KB, Downloaded 213 times)
Re: migration problem, right version now [message #4831 is a reply to message #4830] Thu, 27 July 2006 12:54 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
The problem is that one of your kernels is compiled with
CONFIG_HZ_1000=y
CONFIG_HZ=1000

and other
CONFIG_HZ_250=y
CONFIG_HZ=250

Both kernel must have this parameter equal.
After that online-migration must work.
Re: migration problem, right version now [message #4833 is a reply to message #4831] Thu, 27 July 2006 13:26 Go to previous message
atomico80 is currently offline  atomico80
Messages: 14
Registered: July 2006
Location: Belgium
Junior Member

migration successful
i used another machine with the same hardware and so that same settings.

Thank u very much!
Previous Topic: *SOLVED* error: "kernel.sysrq" is an unknown key
Next Topic: connectivity again
Goto Forum:
  


Current Time: Sat Nov 16 23:19:38 GMT 2024

Total time taken to generate the page: 0.03003 seconds