OpenVZ Forum


Home » General » Support » *SOLVED* Compression while migrating?
*SOLVED* Compression while migrating? [message #14742] Mon, 09 July 2007 12:43 Go to next message
draga is currently offline  draga
Messages: 20
Registered: July 2007
Junior Member
Hello everybody. I'd like to migrate machines remotely. The matter is that I haven't a so fast connection. While it should be enough for a migration, it would be nice if datas could go compressed. I use rsync with compression enabled but I don't think that vzmigrate does it. Is there any way to do it?
I've tried to pass "-C" to ssh but I don't think it gets used.

[Updated on: Wed, 11 July 2007 09:05] by Moderator

Report message to a moderator

Re: Compression while migrating? [message #14747 is a reply to message #14742] Mon, 09 July 2007 13:49 Go to previous messageGo to next message
n00b_admin is currently offline  n00b_admin
Messages: 77
Registered: July 2006
Location: Romania
Member
Well the vzmigrate program it's actually a bash script and you could modify the rsync command it uses to enable compression.
Wink
Re: Compression while migrating? [message #14754 is a reply to message #14747] Mon, 09 July 2007 16:54 Go to previous messageGo to next message
draga is currently offline  draga
Messages: 20
Registered: July 2007
Junior Member
Oh! I didn't notice it. It's great! Smile

Thank you!
Re: Compression while migrating? [message #14812 is a reply to message #14754] Wed, 11 July 2007 09:05 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
It is a good idea vzmigrate to support '-z' option. So, I filled the bug report: http://bugzilla.openvz.org/show_bug.cgi?id=640

Thank you,
Vasily.
Re: Compression while migrating? [message #14853 is a reply to message #14754] Wed, 11 July 2007 21:41 Go to previous message
mh720 is currently offline  mh720
Messages: 7
Registered: August 2006
Junior Member
You might also investigate the HPN patch-set to openssh, might improve your transfer speed a bit on a high-latency link if that is important to you. I happen to use it for my openvz servers on an internal gig-E network to reduce CPU load while transferring large VEs, as the patch also includes the capability to do null encryption after authentication (probably only useful inside a protected network).


http://www.psc.edu/networking/projects/hpn-ssh/


-mike
Previous Topic: *SOLVED* -bash: vzctl: command not found
Next Topic: *BUG+PATCH REPORTED* 2.6.20.12-ovz007.1 on AMD X2 AM2: cpufreq does not change freq
Goto Forum:
  


Current Time: Sun Jul 14 04:48:47 GMT 2024

Total time taken to generate the page: 0.02295 seconds