thanx all for you submissions to this thread
I'm not very familiar with compiling unsupported utilities on a ESX server (and sometimes you just have to use only what's available on a machine), so I think the original hack (with the blowfish cypher) is indeed the easiest use method.
I hope next ESX version will include more tools.
i need to copy a very large vmdk located on a SAN on one ESX Host to local storage on an ESX Host in another building (which does not "see" the SAN at all). i thought "lzop" might help me. could you please direct me to the location where you downloaded "lzop"?
thanks in advance !
google says -> www.lzop.org
I got this when trying the above..
gunzip: stdin: unexpected end of file
what does this mean?
AFAIK one much simpler way to do it is simply to enable compression using scp...
-C (uppercase) enables compression, and and optional CompressionLevel option can be set.
scp -C -o CompressionLevel=6 [\[user@]host1:]file1 [\[user@]host2:]file2
all this sounds great when your dealing with small files. How about when your copying 54 Gig + size files going from ESX 2,5,x to VI3. whats the best solution for that?
scp -C -o CompressionLevel=6 [\[user@]host1:]file1
And this will be even faster if you also specify blowfish. Usage:
scp -C -o CompressionLevel=6 -c blowfish-cbc [\[user@]host1:]sourcefile [\[user@]host2:]targetpath/
I personally use SCP for my transfers from ESX to ESX, even for large files. Haven't found a better solution yet...
Just bringing this thread back. I used scp with compression and I get 6mb/s. I used FastSCP and I get 60mb/s. These are large files, on a Gig network, 10K SAS HD, & ESX 3.5.
Since FastSCP is using ftpcompression instead of scpcompression that probably makes sense since you don't get the encryption overhead.
Veeam FastSCP is one of the most easiest and quickest ways to transfer files between hosts.
Somewhat of an older thread, but I recently completed a HOWTO for my department and thought I'd post as it seemed relevant.
The following provides instruction on how to create an encrypted, compressed streaming tunnel between two ESX systems.
1. Enable root login to SSH on the destination server. You can use the Veeam RootAccess GUI tool or you can make a quick edit to /etc/ssh/sshd_config and restart sshd.
2. Create the directory for the template / VM on the destination server:
sudo mkdir /vmfs/volumes/DestDS/templates/VPOM07242008
3. Login to the source server with your normal user credentials.
4. Issue a “su –“ command to take on the root credentials.
5. Enter the template/VM directory you want to transfer:
6. Issue the following command (entered as a single line):
tar cvzf - * | ssh root@XXX.XXX.XXX.XXX "(cd /vmfs/volumes/DestDS/templates/VPOM07242008; tar xzf -)"
XXX.XXX.XXX.XXX is the IP / FQDN of the destination server
/vmfs/volumes/ftwprod002/templates/VPOM07242008 is the path on the destination server you want the files copied to
7. Switch back to the destination server’s SSH session and “ls” or “du –h” to watch the files transfer in. The source server’s SSH will simply return you to a prompt when it completes.
8. Disable root login to SSH on the destination server once the process completes.
Sent: Mon, 6 Oct 2008 11:03:24 -0400
did not reach the following recipient(s):