VMware Cloud Community
dmagnoni
Contributor
Contributor

Disconnect CD-ROM while guest OS is running on ESX 3.0.2

Hi all,

i have a couple of VM with cd-rom connected, i need to disconnect them from cd-rom to perform vmotion.

After clearing the checkmark in edit setting the vmotion is still disabled because cd-rom is connected. Go back to edit setting and the check mark still present!

How I can disconnect the cd-rom without powering down the gest OS?

Thanks a lot!

D.

0 Kudos
4 Replies
AWo
Immortal
Immortal

In general you always should start with the vCD-ROM disconnected and only connect them when used.

Which checkbox did you remove?

AWo

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
dmagnoni
Contributor
Contributor

The "Connected" one.

D.

0 Kudos
sthoppay_wipro
Enthusiast
Enthusiast

Open VI Client & click on Disconnect CD/DVD icon.

If you like to do it from ESX host, you can use vimsh -n -e '/vmsvc/device.connection 32 3000 disconnect'. Where 32 is the VM ID (you can get this info by /vmsvc/getallvms) and 3000 is the deviceID (you can get this by /vmsvc/device.getdevice).

Remember vimsh is undocumented & not sure about the support issues.

0 Kudos
MarkE100
Enthusiast
Enthusiast

Install the recent patch ESX-1003513, this will allow you to vmotion a virtual machine with a CD-ROM attached

0 Kudos