Start a Conversation

Unsolved

This post is more than 5 years old

4911

August 18th, 2017 12:00

Move a VM from one esxi cluster A to another esxi cluster B with same VMAX lun

I want to Move a VM from one esxi cluster A to another esxi cluster B with same VMAX lun in same vcenter

I have a masking view A as below

initiator group A, port group A and storage group A with lun id ABC

I have the new cluster which is cluster B which also needs access to lun id ABC since I want to migrate a VM from one esxi cluster to the other, I have performed the masking view below

initiator group B,port group B and storage group B with lun id ABC

after assigninh, I see that in vcenter, cluster B is able to see that lun and is identifying it as a same data store name there.

question is, can I move the VM now from one esxi cluster to another esxi cluster given that both the data store has access to that lun ABC?

also once I complete the migration, can I remove the masking view A>

9 Legend

 • 

20.4K Posts

August 21st, 2017 08:00

Move a Virtual Machine between Clusters |VMware Communities

If you no longer have any VMs registered on cluster A, sure you can remove masking.

August 22nd, 2017 07:00

Thanks

question, when I mask the same vmax lun twice to different esxi clusters , does vcenter knows about that lun that it's  the same and has data store already created for that one even though its coming from different FA ports?

9 Legend

 • 

20.4K Posts

August 22nd, 2017 07:00

when you present that LUN to cluster B and rescan,  vCenter will find an existing VMFS file system / datastore and make it available.  It will not automatically register VMs on that LUN in the inventory. Once you shutdown VM on cluster A and delete it from inventory there, you can register it on cluster B.

August 22nd, 2017 08:00

ok. I created a test vm for this purpose and did this exercise, I was able to vmotion that test vm to new cluster B and did not face any issue, I also unmasked the testlun from VMAX which is used by testvm from cluster A and the datastore associated by testlun showed inaccessible in cluster A and when i did the re scan on all hosts in cluster A, the data store didn't show up anywhere on cluster A and the testvm is up and running on cluster B,

am I missing anything? to me it looks like a VM is migrated online from cluster A to cluster B..

9 Legend

 • 

20.4K Posts

August 23rd, 2017 05:00

both clusters managed by the same vCenter server ?

August 23rd, 2017 06:00

yes they are managed by same vcenter server.

9 Legend

 • 

20.4K Posts

August 24th, 2017 06:00

if clusters are managed by the same vCenter, you can migrate VMs online.

August 29th, 2017 11:00

I'm a little late to the party here, but as long as the 2 Clusters are in Enhanced Linked Mode then you should be able to do the vMotion live (Barring that the network side of things is in order as well)

No Events found!

Top