VMware vSphere

 View Only
  • 1.  VM Migration Between two cluster

    Posted Aug 28, 2019 03:54 AM

    Hi Guys

    I am in the process of migrating VM from clusterA to ClusterB , Both cluster can see the same datastore , so what I have been doing so far with no problem is:

    1) Power off the VM in clusterA

    2) remove from inventory in clusterA

    3) register VM in clusterB

    4) Power ON VM (making sure Vlan is the same)

    Here is my question, this has worked with no problem with VM with one Hard drive, what should be the process if the VM has TWO (2)drives, will the register vmx in clusterB bring the two Hard drives over ?

    Thanks



  • 2.  RE: VM Migration Between two cluster

    Posted Aug 28, 2019 05:14 AM

    First, if both Cluster managed by the same vCenter Instance than you dont need to unregister the VM. If EVC mode is the same for both Clusters than vMotion or Cold Migration can be used.

    But i assumed that different vCenters are involved right?

    - A VM unregister and register doesnt move anything around. It doesnt make a difference if the VM has one or more vDisks.

    - But.. if you spread VM vDisks over multible Datastore you have to ensure that the new Cluster(ESX Host) see all of them and also use the same GUID for it because the vDisk are referenced with an absolute file path (only true for the vDisks outside the VM Homedirectory) within the *.vmx

    About the network. If you use a vSS than the Portgroup is identify about their name. So ensure that the PG Name is the same.  If you use a vDS than you have to reconfigure the VM Network and select the right/new vDS again because the PG IDs doesnt match anymore.

    Regards,

    Joerg



  • 3.  RE: VM Migration Between two cluster

    Posted Aug 28, 2019 02:31 PM

    IRI

    Thanks for jumping in

      YES they are two different Vcenter with the same datastores

    Thanks



  • 4.  RE: VM Migration Between two cluster

    Posted Aug 28, 2019 07:40 AM

    Hello,

    Answering your question, yes no problem to Unregister/Register VM with different disks. it will work properly and bring the all disks.

    But as note, within the same cluster you can benefit from the vMotion/svMotion.



  • 5.  RE: VM Migration Between two cluster

    Posted Aug 28, 2019 02:33 PM

    Hassan

    Thanks a bunch for jumping in, the vmdks are on the same folder same datastore, so I will try to do this and hope it does not brake anything.

    Thanks again guys