how to share RDM disks between vms and achive vmotion at the same time.

I have created a cluster composed of two hosts. I created one vm on each host. I put the OS disk/first disk on a datastore for each.

Then, I tried to create a RDM (raw disk mapping) on the first node and save the RDM on a shared datastore. I added the same RDM disk on the second vm. All things like fine, I can power on both nodes without problem. When I tried to vmotion anyone of them, I got the following error:

"Virtual machine is configured to use a device that prevents the operation: Device 'SCSI controller 1' is a SCSI controller engaged in bus-sharing.
Device 'SCSI controller1' is a SCSI controller engaged in bus-sharing.

Please help me resolve it, I attached the copy scrren for settings.
Jason YuAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:

It depends on the VMs

vMotion on RDM disks is always a problem(if done properly). Is not a normal vMotion.

On you case this is what VMware says:
This issue occurs if you have a SCSI controller in use in a virtual machine, which has the bus-sharing mode changed to either virtual or physical. This configuration is used in virtual machines that are running Microsoft Cluster Services (MSCS)."

Since SCSI Bus Sharing controller set to physical and needs to be "none" or "virtual", this is not possible to migrate.

There is some tests around that using some LUN ID or SCSI ID on different hosts and VMs is possible. Honestly I never tested.

This may help

This is some examples:

Please also check for articles about microsoft clustering on ESX (microsoft)

And check

To work around this issue, VMware recommends migrating a virtual machine that is participating in SCSI bus-sharing by powering down the virtual machine that resulted in the error message and performing a cold migration to the new host. For more information on cold migrations, see Cold Migrations from the vSphere 5 documentation Center.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.