jskfan
asked on
Migrate VM from one Host to another
is VMware Tools currently being installed ?
is this a .linux VM ?
Click End VMware Tools.
Is that VMware Workstation you are using to Manage ESXi ?
is this a .linux VM ?
Click End VMware Tools.
Is that VMware Workstation you are using to Manage ESXi ?
ASKER
is VMware Tools currently being installed ? : YES: NO I am doing it from Vcenter
is this a .linux VM ? : YES
Click End VMware Tools. : Already Installed
Is that VMware Workstation you are using to Manage ESXi ?
Complete the VMware Tools install, or End the VMware Tools install, dismmount the CDROM in the VM.
try again
try again
NO I am doing it from Vcenter
you might be trying to move the vm from vCenter, but the screenshots from your second post are clearly from workstation
looks like you are running esx nested as a guest there along with vCenter
yes, the cd is disconnected, but you are looking at the wrong place
you need to look at the guest running in esx (VM1), not esx itself
the guest has the mounted iso that needs to be disconnected for the move to complete
you need to right click VM1, go to edit settings and disconnect the iso or go to guest -> end tools installation
that is the place andrew is talking about; it's configured on the guest, not the host
ASKER
ASKER
disconnect ALL
ASKER
disconnect ALL
Disconnect what ?
ISO images and Floppy images.
ASKER
there is not any connected
I still can Migrate VM if I select : Change both Computer resource and storage.
If I select change compute resource only and click next the other ESX host will not show up in the wizard as Destination ..
I still can Migrate VM if I select : Change both Computer resource and storage.
If I select change compute resource only and click next the other ESX host will not show up in the wizard as Destination ..
I think we need to have an overview of your setup.
Is this COLD or HOT (vMotion) migration?
Is this COLD or HOT (vMotion) migration?
ASKER
The VM is powered On.. the Migration is Manual..
if the VM is on that's a LIVE Migration e.g. it's a vMotion, which may require Shared Storage.
Do you have Shared Storage that this VM is stored on ?
Have you created your vMotion Network ?
Do you have Shared Storage that this VM is stored on ?
Have you created your vMotion Network ?
ASKER
Mmmm you are right I do not have shared storage yet. But I do not understand why VM gets Migrated from one Host to another if I select the option : Change both Computer resource and storage.
Okay, there is a function called "Shared Nothing Migration" which does not use Shared Storage.
and does it work... and actually move the VM and it's storage from ESXi host A to ESXi host B?
and you can see the virtual machine now on ESXi Host B datastore ?
and here are the requirements
https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.vcenterhost.doc/GUID-9F1D4A3B-3392-46A3-8720-73CBFA000A3C.html
Argh....
This is nested ESXi in VMware Workstation.
Can you remove the CDROM device from the VM, just to check if this error is a red herring.
did you ever insyall VMware Tools on this Linux VM ?
and you have Ended the VMware Tools install ?
and dismounted the cdrom in the OS ?
and does it work... and actually move the VM and it's storage from ESXi host A to ESXi host B?
and you can see the virtual machine now on ESXi Host B datastore ?
and here are the requirements
https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.vcenterhost.doc/GUID-9F1D4A3B-3392-46A3-8720-73CBFA000A3C.html
Argh....
This is nested ESXi in VMware Workstation.
Can you remove the CDROM device from the VM, just to check if this error is a red herring.
did you ever insyall VMware Tools on this Linux VM ?
and you have Ended the VMware Tools install ?
and dismounted the cdrom in the OS ?
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
normal speed since the VM is linux and very small
My question was about when selecting the option : change compute resource only
There will be no Migration, because in the Migration Wizard it will not be able to see the Other ESX Host.
My question was about when selecting the option : change compute resource only
There will be no Migration, because in the Migration Wizard it will not be able to see the Other ESX Host.
ASKER
Andrew,
Both ESX hosts now can see the Shared Storage Open Filer...you would think vMotion will work
Both ESX hosts now can see the Shared Storage Open Filer...you would think vMotion will work
Unless you Lab is not setup correctly.
ASKER
it sill works only when selecting : Change both Computer resource and storage.
ASKER
it sill works only when selecting : Change both Computer resource and storage
Unless if when Migrated to the Datastore of the other ESX host, it will force also to do state (CPU,Memory) Migration.
Unless if when Migrated to the Datastore of the other ESX host, it will force also to do state (CPU,Memory) Migration.
ASKER
Well.. with Shared Storage: change compute resource only it worked
ASKER
Thank you:
what I learned:
I tried to migrate VM from one ESX host to another , they do not have Shared Storage. I was not able to Migrate it by selecting : change compute resource only, but I was able to Migrate it when selected: Change both Compute-resource and storage
After I added Shared Storage, I was able to Migrate it by selecting: change compute resource only from one ESX to another and also by selecting Change both Compute-resource and storage even from the shared storage to the local ESX host datastore
what I learned:
I tried to migrate VM from one ESX host to another , they do not have Shared Storage. I was not able to Migrate it by selecting : change compute resource only, but I was able to Migrate it when selected: Change both Compute-resource and storage
After I added Shared Storage, I was able to Migrate it by selecting: change compute resource only from one ESX to another and also by selecting Change both Compute-resource and storage even from the shared storage to the local ESX host datastore
difference between Shared Nothing Migration (vMotion) and vMotion.
We covered this in another question! - https://www.experts-exchange.com/questions/29172805/Vmware-OVF-Export.html?anchorAnswerId=43031066#a43031066
Maybe my comment in that question needs to be selected as a Solution for you!!!!
BUT it's not good practice to keep ISOS or Floppy images attached to VMs, because it can and sometimes stops vMotion, or HA events, so always disconnect when finished.