VMware Cloud Community
TaKeN3
Enthusiast
Enthusiast

Copy VM between 2 free version of ESXi

Hello Guys,

I got now 2 free ESXi hosts one is 5.0 version and new one is 6.0.

I try copy VM between 2 free version of ESXi and i got amazing big problem.

When i try copy via: scp -r VM-NAME root@newesxi

max transfer is 3-5MB/s but link between machines is 1Gbit/s so something is wrong...

I read ppl use free version of Veeam backup and replication, but when i try create job to copy files between free esxi i get error:

11.04.2018 20:03:56 :: Make datastore directory failed, datacenter ref = ha-datacenter, directory name = "[SATA] VM-NAME1"

Current vSphere license or ESXi version prohibits execution of the requested operation. 

So i read ppl use old version of Veeam Backup and FastSCP got a little problem with error about 64bit system but i run and working but when i give copy files between datastores i get error about connection error.... i disable firewalls on both ESXi but same effect...

There is any way to FAST copy files between 2 free ESXi?

Best Regards

TaKeN

7 Replies
SureshKumarMuth
Commander
Commander

how the ESXi are connected each other ? Direct cross over cable ?

Regards,
Suresh
https://vconnectit.wordpress.com/
Reply
0 Kudos
TaKeN3
Enthusiast
Enthusiast

Both are connected via 1Gbit/s to switch and i check via iperf between 2 VMs and get 900Mbit/s so connection is OK.

Reply
0 Kudos
IT_pilot
Expert
Expert

Veeam is your way. And the problem with licenses is solved by obtaining a 60 day trial ESXi.

You need to perform a backup of the VM, and then restore it to a new host.

http://it-pilot.ru
aleex42
Enthusiast
Enthusiast

Do you have any storage that can host NFS shares?

Then you can temporary remove the host licenses (even if they are free version), then you have two hosts in evaluation mode and can use Storage vMotion there.

Otherwise, using "mv" on the ESX host's shell is also much faster than scp. But you need NFS, too.

-- Alex (VMware VCAP-DCV, NetApp NCIE, LPIC 2)
Reply
0 Kudos
cyberpaul
Enthusiast
Enthusiast

Hi, you might try statically compiled rsync for ESXi. The binary is available for download here:

ESXi 5.1 and rsync - damiendebin.net.

It might perform better than scp which is annoyingly slow.

Regards, Pavel

Reply
0 Kudos
a_p_
Leadership
Leadership

Copying files on VMFS datastore with native Linux commands/tools is not a good idea.

Some options are to Export/Import the VMs as OVF/OVA, or to use VMware's OVF Tool (see https://www.virtuallyghetto.com/2012/06/how-to-copy-vms-directly-between-esxi.html)

André

Reply
0 Kudos
cyberpaul
Enthusiast
Enthusiast

Yeah, but the machine running OVFtool would be in the data path. So it should better be a VM on one of the hosts 🙂

Still, I don't think converting VMs to OVF and back would help in the terms of speed.

Reply
0 Kudos