2

I have some big files inside VM which I need to copy to ESXi host datastore. What is the best/fastest method? Right now I am using vSphere Client inside the VM. VM is running in virtual network with another VM acting as a router to the outside world. As ESXi has different public IP than te router, traffic goes out to the physical network switch and back in over the same NIC. This is connected only at 100 Mbit, so the real speed is only about 4 MB/s.

Is it somehow possible to connect a VM to the VMkernel management network, so that ESX would handle the traffic itself?

Or is it possible to mount the vmdk of VM via command-line and copy the files to datastore locally?

Marki555
  • 1,488
  • 1
  • 14
  • 27

3 Answers3

2

If you add another NIC to the VM and create another VMkernel port and put them on a new IP range and making sure they VM and host are on the same vSwitch.
Then from the VM connect to the EXSi on the new IP then the transfer will say within the ESXi host and not leave the out via your NIC.

You could also create a new vSwitch which is not connected to a physical NIC to make sure the traffic stays with the host.

The vSphere client can also be a bit slow at file transfers, you might find using Veeam's FastSCP speeds up the transfer.

Epaphus
  • 1,011
  • 6
  • 8
  • Thanks, this works! I have created new VMkernel port, added it to my internal vSwitch and assigned it IP from the subnet I am using on the VMs. – Marki555 Dec 20 '12 at 15:10
0

You could set up an NFS mount point, copy the files over to the NFS mount point outside the ESX i environment (pref on a 1Gb or 10gb lan), and then once copied, attach this NFS mount point to the ESXi environment. Other than that, browse datastore and upload the file and wait for Santa :)

Oli
  • 418
  • 3
  • 15
  • But why copy it over the lan when I just want to copy from inside vmdk in datastore to the same datastore on the same physical machine... there must be a way how to do it :) – Marki555 Dec 20 '12 at 13:05
  • in that case, browse datastore the vmdk is on, right click, copy and paste? – Oli Dec 20 '12 at 13:18
  • I need files from inside the vmdk (not entire vmdk), that's why I'm asking if it is possible to mount/access the contents from vmdk locally on the esxi host... – Marki555 Dec 20 '12 at 13:32
0

You can add a "Host onlly" nic to your vm and a virtual nick to your ESXI and configure them to be on the same subnet, this is going to be much faster.

m0ntassar
  • 1,233
  • 7
  • 12