VMware Cloud Community
Dupd
Contributor
Contributor

Can't migrate virtual machine between ESX hosts in clustering group

Dear all

We have 3 ESX (3.5) Server in Cluster managed by Virtual Center (2.5). We builded 10 Virtual machine in Cluster include: 3 Lunix Server and 7 Windows Server 2003 Enterprise. Yesterday I tested VMotion function but it only is sucessful with Linux Server and 7 Windows servers can't migrated between hosts. We use

an EMC CLARiiON CX4-120C as shared storage. The ESX Server are

connected by FC cable directly to the storage. The storage adapters (Emulex LPe-1150). Please note that 3 Linux servers are VMs that we new installed and 7 Windows servers are VMs that we convert from physical server to ESX.

Below is a screen i captured:

Unable to migrate from 10.150.50.2 to 10.150.50.1: Currently connected device 'CD/DVD drive 1' uses backing '/dev/hda', which is not accessible

Unable to migrate from 10.150.50.2 to 10.150.50.1: Currently connected device 'Serial port 1' uses backing '/dev/ttyS0', which is not accessible

Unable to migrate from 10.150.50.2 to 10.150.50.1: Currently

connected device 'Serial port 2' uses backing '/dev/ttyS1', which is

not accessible

Please help me asap

thank you and with best regards

Dupd

v\:*

o\:*

w\:*

.shape

</style>

<![endif]><![if gte mso 9]><![endif]><![if gte mso 9]>

<!--

/* Font Definitions */

@font-face

{font-family:Batang;

panose-1:2 3 6 0 0 1 1 1 1 1;

mso-font-alt:바탕;

mso-font-charset:129;

mso-generic-font-family:auto;

mso-font-format:other;

mso-font-pitch:fixed;

mso-font-signature:1 151388160 16 0 524288 0;}

@font-face

{font-family:"\@Batang";

panose-1:0 0 0 0 0 0 0 0 0 0;

mso-font-charset:129;

mso-generic-font-family:auto;

mso-font-format:other;

mso-font-pitch:fixed;

mso-font-signature:1 151388160 16 0 524288 0;}

/* Style Definitions */

p.MsoNormal, li.MsoNormal, div.MsoNormal

{mso-style-parent:"";

margin:0in;

margin-bottom:.0001pt;

mso-pagination:widow-orphan;

font-size:12.0pt;

font-family:"Times New Roman";

mso-fareast-font-family:Batang;}

@page Section1

div.Section1

-->

<![endif]><![if !mso]>

v\:*

o\:*

w\:*

.shape

</style>

<![endif]><![if gte mso 9]><![endif]><![if gte mso 9]>

<!--

/* Font Definitions */

@font-face

{font-family:Batang;

panose-1:2 3 6 0 0 1 1 1 1 1;

mso-font-alt:바탕;

mso-font-charset:129;

mso-generic-font-family:auto;

mso-font-format:other;

mso-font-pitch:fixed;

mso-font-signature:1 151388160 16 0 524288 0;}

@font-face

{font-family:"\@Batang";

panose-1:0 0 0 0 0 0 0 0 0 0;

mso-font-charset:129;

mso-generic-font-family:auto;

mso-font-format:other;

mso-font-pitch:fixed;

mso-font-signature:1 151388160 16 0 524288 0;}

/* Style Definitions */

p.MsoNormal, li.MsoNormal, div.MsoNormal

{mso-style-parent:"";

margin:0in;

margin-bottom:.0001pt;

mso-pagination:widow-orphan;

font-size:12.0pt;

font-family:"Times New Roman";

mso-fareast-font-family:Batang;}

@page Section1

div.Section1

-->

<!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"> <v:stroke joinstyle="miter"/> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0"/> <v:f eqn="sum @0 1 0"/> <v:f eqn="sum 0 0 @1"/> <v:f eqn="prod @2 1 2"/> <v:f eqn="prod @3 21600 pixelWidth"/> <v:f eqn="prod @3 21600 pixelHeight"/> <v:f eqn="sum @0 0 1"/> <v:f eqn="prod @6 1 2"/> <v:f eqn="prod @7 21600 pixelWidth"/> <v:f eqn="sum @8 21600 0"/> <v:f eqn="prod @7 21600 pixelHeight"/> <v:f eqn="sum @10 21600 0"/> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/> <o:lock v:ext="edit" aspectratio="t"/> </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:6in; height:270pt'> <v:imagedata src="file:///C:\DOCUME1\ADMINI1\LOCALS~1\Temp\msohtml1\01\clip_image001.png" o:title=""/> </v:shape><![endif]><![if !vml]><![endif]-->

Reply
0 Kudos
8 Replies
ranga1978
Enthusiast
Enthusiast

Hi Dupd

The vm you are trying to migrate is using devices which are on the host (CD rom, Serial ports). disconnenct these devices and you will be able to vmotion.

to be more clear the cd rom or the devices that are connected to the host in which the vm is in now are not avilable on the other host so it cant vmotion.

Ranga

Reply
0 Kudos
Dupd
Contributor
Contributor

Dear Ranga

Many thank you for your sopport, but how to disconnect these devices? please recommend for me

Thank you and with best regards

Dupd

Reply
0 Kudos
ranga1978
Enthusiast
Enthusiast

right click the vm -&gt; click edit settings -&gt; select the cd rom -&gt; untick connected

I have no serial devices on my ESX but i would guess it would be more or less similar to the cd rom.

Reply
0 Kudos
ranga1978
Enthusiast
Enthusiast

what devices are connected through the serial ports? One thing to concide is after disconnecting and moveing the vm these devices are not visible to the vm on the new host.

Reply
0 Kudos
Craig_Baltzer
Expert
Expert

You mentioned that the Windows server VMs were converted from physical servers. Are the serial ports and USB ports actually needed now that the servers have been converted to VMs? If they are not used then just delete them out of the Windows VMs (shut each VM down, then right-click on it, pick "Edit Settings", select each "Serial Port" and then click remove, then repeat that for each USB port).

For the CDROM you have two options:

  1. Change the Device Type for the CDROM to "Client Device" by right-clicking on the VM, picking "Edit Settings" and then selecting the "Client Device" radio button. Doing this will mean that when you want to make a CD available to the VM you will put the CD in your local (workstation) CD drive, and make it available to the VM by opening the VM console using the VI client and selecting the "Connect CD/DVD" button

  2. If the CD is in the ESX server drive and is not needed all the time then clear the "Connect at power on" box under "Device Status". That way the CDROM won't be automatically connected each time the VM starts, and if you need the CDROM you can go back into "Edit Settings" for the VM while its running and select "Connected" to make the CDROM available to the VM. Remember to deselect the "Connected" tickbox for the CDROM when you're done using it.

#1 generally works better as you can change CDs easily without having to go physically to the ESX server

Reply
0 Kudos
TomHowarth
Leadership
Leadership

well the USB ports are defunt anyway. that said it is good practice to remove unneeded hardware devices, by using Edit settings, once done from Device manager in Windows (Guest side) remove unwanted hardware and also remove redundant management tools like the HP products etc, and further, also run a kudzu on your linux guest,

But to answer your first question, the reason you cannot Vmotion certain guests, is that they have failed the compatibility test. This can be caused by several issues, but in yours it is the fact that you have "attached" serial, parrarel ports in your guests. as a further starter mover the CDrom setting to "Client Device" and the same with any floppy drive.

Other reasons for failed VMotion can be incompatible Chip sets etc

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points

Tom Howarth

VMware Communities User Moderator

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
Reply
0 Kudos
Dupd
Contributor
Contributor

Dear all

Many thank for your support. I acted on everyone's advice and I was sucessful

Again thank you very much to all

Dupd

Reply
0 Kudos
TomHowarth
Leadership
Leadership

I am glad you found hte advice useful, now please consider clickig the helpful and correct buttons of those replies you found most informative.

Tom Howarth

VMware Communities User Moderator

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
Reply
0 Kudos