Hi
I am attempting to migrate a lot of VMs from old ESXi server (6.5) to new ESXi server (6.7)
I don't have VMware vCenter (i don't know if i can install vcenter into VM)
for that; i use scp to copy the VMs files between the two ESXI, but, when i connect to my ESXI (6.5) and tape scp "Mailcatcher.vmdk" root@172.16.88.22:/vmfs/volumes/datastore1/Mailcatcher , only 505B is copied :smileycry: , the real size is 25GB. author file like ctk.vmdk and -flat.vmdk is copied properly
I don't have any snapshot in my VM
Any idea or any suggestions to do this migration?
Hi youssefC
Do you have any shared storage which is common to these hosts ?
Without vCenter (in turn vMotion will not be available) , there is one way to move your VM files from 1st host to other datastore which is hared and then register on 2nd host but you need at-least shared datastore.
Thanks
Vysakh Nair
Blog:- https://www.vxpert.in
I don't have a shared storage
i can't use scp ?
Hi youssefC
You have below options to do
scp -r /vmfs/volumes/volume1/path/to/vm-directory esx2:/vmfs/volumes/volume1
Thanks
Vysakh Nair
Blog:- https://www.vxpert.in
Thank you
I will try Standalone converter and also with scp
with datastore browser, i can't upload disk to remote datastore (author server)
Hi youssefC
With Datastore browser you can download to your machine and from there upload to second esxi host datastore
Thanks
Vysakh Nair
Blog:- https://www.vxpert.in
i can use Vcenter into simple VM ? or i need a specific server ?
Hi youssefC
vCenter Server Appliance,vCSA a virtual appliance that is based on Linux which you can run on ESXi host.
Thanks
Vysakh Nair
Blog:- https://www.vxpert.in
mailcatcher.vmdk is only 505 bytes ?
mailcatcher-flat.vmdk is 25 gb ?
Then your scp operation was successful
You can use the same procedure to copy the other VMs.
Only thing left to do is to open mailcatcher.vmdk with a texteditor and read it !
This hopefully will teach you that your assumption that mailcatcher.vmdk has a size of 25 gb was wrong.
mailcatcher.vmdk is 25 gb
scp can copy from mailcatcher.vmdk only 505 bytes
You obviously did not follow my suggestion to actually read the 505 bytes file.
If you do that you will realize that your problem exists between keyboard and chair only.
By the way .... what do you think the 25 gb flat.vmdk you copied is good for ???
So read that 505 bytes file NOW
the 25 gb flat.vmdk is copied fully
And ?
Did you try to launch the copied VM already ?
It should work ...
Maybe you are not aware that the Datastorebrowser over simplifies the display of the files in a VM directory.
Wonder why the engineers thought that displaying VMDKs as a single file while they actually consist of one small text file plus one large binary file would be userfriendly.
Obviously this just confuses unexperienced users.