VMware Cloud Community
mig50saez
Contributor
Contributor

Vmotion faild "InvalidPowerState"

We have migrated a machine physically RH Linux 3 AS a virtual machine to a host with ESX 3.5 (we have a cluster with two hosts).

When we make a VMotion manually this virtual machine to another host, migration is wrong with the following error "InvalidPowerState." Any Idea

0 Kudos
5 Replies
kjb007
Immortal
Immortal

Do you have vmware tools installed? Do you have power management/ACPI enabled in your kernel? Make sure to turn that off.

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
mig50saez
Contributor
Contributor

I am no expert on linux..

Have a procedure for turn off power management / ACPI in Linux RH 3 AS?

Thanks

Miguel Sáez Sáez

IBM Certified Deployment Professional

Tivoli Configuration Manager

IT Specialist

IBM de Chile S.A.C.

mail: msaez@cl.ibm.com

Phone: 562-2006638

kjb007

<communities-emai

ler@vmware.com> To

Miguel Saez/Chile/IBM@IBMCL

15-04-2008 11:33 cc

Subject

New

message: "Re: Vmotion faild

"InvalidPowerState""

,

A new message was posted in the thread "Vmotion faild "InvalidPowerState"":

http://communities.vmware.com/message/915651

Author : kjb007

Profile : http://communities.vmware.com/people/kjb007

Message:

0 Kudos
kjb007
Immortal
Immortal

Try this, edit your /etc/grub.conf and add the following statement:

kernel /vmlinuz-2.6.9-22.EL ro ... rhgb quiet acpi=off

Then restart the vm, and see if you run into the same problem.

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
admin
Immortal
Immortal

try restarting the VC service

0 Kudos
mike_laspina
Champion
Champion

Hi,

If I can remember this one correctly.

The message is indicating that the previous VMotion attempt failed to enable the target VM on the other ESX Server after the memory copy transition and is in an invalid power state in the VC DB.

I believe I corrected this issue by restarting the mgmt-vmware service which will then re-inventory the VM states.

Since you are using HA and DRS I normally disable those before restarting the service just to be safe.

http://blog.laspina.ca/ vExpert 2009
0 Kudos