Link to home
Start Free TrialLog in
Avatar of daniel dinesh
daniel dinesh

asked on

Vmotion does not work for the VM which has HD audio connected ?

Could you help me understand this , I came up with circumstance where one of the VM has “HD Audio “  in the VM level but when I try to vmotion to another ESX host  it throws error

“VM is configured to use a device that prevents the operation: Device 'HD Audio' has a backing type that is not supported. this is a general limitation of the virtual machine's compatibility with the ESXi version of the selected host”

Help me understand this concept , how is the Audio device tagged to ESX host when there is no affinity rule set ?  what make the ESXi host think its not compatible to be vmotioned from the existing ESXi host where the Audio is enabled on the VM level .

Also the interesting part is there is Secondary VM which has this same  Audio configured in other ESXI host even if I try to select that ESXI host iam not able to vmotion it  .

Any one has any resolution ?
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

There are several devices which when they exist as objects in the VM, cannot be vMotion HD Audio is one of them!

It's likely this VM was converted from VMware Workstation.

ESXi does not support this hardware, there is no HD Audio.

Solution remove the hardware device.

You may want to try a test, can you add the HD Audio hardware to a VM ?

You will find that it does not exist as a hardware device to add.
Avatar of daniel dinesh
daniel dinesh

ASKER

Thanks for your comment Andrew .

If I choose to remove the HW its totally removed and Iam not getting the option to add it back , I made it even worse . is there anything I can try to fix this .
It's not supported!

It should not be there!

That's why you cannot add it back, your VM is from VMware Workstation, this device would not have done anything in the VM.

Can you vMotion now ?
I added below lines back in to the .VMX file , the HD audio appeared again . but still V motion Fails .

scsi0.present = "TRUE"
sata0.present = "TRUE"
sound.autoDetect = "TRUE"
sound.virtualDev = "hdaudio"
sound.fileName = "-1"
sound.present = "TRUE"

Hence the reason I put the other Post asking what wud be the commad line to make this Sound option to be vmotion supported ?
Not supported.

and what does this device actually give you in the VM ?

Effectively you've hacked your VM to add an unsupported hardware device to ESXi.

Not Supported, it's a VMware Workstation hardware device.
This VM is managing the remote app when the error occurs in the app a Beep sound will be triggered in the remote location where the app is used . but the Audio device is not there in the VM the App interface does not get the sound . hence the reason the HD audio was added  and redircteed.
I'm afraid HD Audio is not a supported device for ESXi.

So you added the unsupported device by hacking your VMX files, e.g. it was not added from the GUI, only objects added form the GUI are supported.

if you use it you will not be able to vMotion.

You can read more about the find here...

http://kendrickcoleman.com/index.php/Tech-Blog/virtual-hd-audio-hardware-in-vsphere-5.html

But that does not mean it's supported for vMotion.

Do you have the option to disconnect it ?

https://communities.vmware.com/thread/455596
I tried to disconnect from edit setting , iam getting error that it is not an option to disable the feature and the feature connects back . is there a procedure to disconnect from esxi layer ?
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial