VMware Cloud Community
rudybrewster
Contributor
Contributor

Can't migrate VMs to New host in cluster

Hi

I've just added a fourth host into our ESX4.1 cluster, and all appears fine - it added in ok, and HA etc went through without problems, but when I try and migrate a VM to it I get error messages:

This is a VM which wasa powered off on another host

errorafteraddinghost.JPG

This is a VM which was powered on:

newhosterror2.JPG

The message I get in to bar is:

This operation is not allowed in the current state or an error occrured while communicating with the remote host.

I've checked I can browse to all of the data stores (in fact those two came from an NFS datastore which I can navigate to on the host and write to as I created a test folder)

Any ideas?

I restarted the management services on the host itself:

service mgmt-vmware restart

but no luck.

0 Kudos
13 Replies
john23
Commander
Commander

First :

disable HA and try to migrate the vm, is it allowing?

Thanks -A Read my blogs: www.openwriteup.com
0 Kudos
athlon_crazy
Virtuoso
Virtuoso

do you enable vMotion?

http://www.no-x.org
0 Kudos
rudybrewster
Contributor
Contributor

vMotion is enabled.

Shall I remove HA from the whole cluster?

0 Kudos
john23
Commander
Commander

yeah,disable and check vmotion works or not?

Thanks -A Read my blogs: www.openwriteup.com
0 Kudos
rudybrewster
Contributor
Contributor

Ok disabled HA on the cluster, and it still gives the same error.

Renable HA?

0 Kudos
john23
Commander
Commander

Can you check error message in hostd and vpxa logs

Thanks -A Read my blogs: www.openwriteup.com
0 Kudos
rudybrewster
Contributor
Contributor

Ok after a quick look in hostd I can see these messages:

Could not expand environment variable HOME
Looking up object with name = "64" failed.
Looking up object with name = "haTask-ha-host-vim.HostSystem.acquireCimServicesTicket-191" failed.

They seem to be the only problems recently in it.

0 Kudos
krishna_v78
Enthusiast
Enthusiast

Hi,

I would suggest to check vMotion network IP address are unique on new host.

Also try to ping new vmotion IP from existing host using vmkping command.

B@lu

rudybrewster
Contributor
Contributor

You make a good point, the IP was free, but in DNS it is still assigned to an old server which no longer exists.

I will get DNS updated and see if this works, I'll be back as soon as that's done. Thanks everyone so far!

0 Kudos
john23
Commander
Commander

check vmkping .

from source and destination is pinging (vmkping) each other

Thanks -A Read my blogs: www.openwriteup.com
rudybrewster
Contributor
Contributor

I can vmkping from the host4 to the other hosts on the vmkernel IP (that's the right IP?) and from other hosts to the host4 kernel IP.

0 Kudos
krishna_v78
Enthusiast
Enthusiast

Hi,

Also, make sure that new host has valid FQDN (able to resolve from other machine)

B@lu

0 Kudos
rudybrewster
Contributor
Contributor

Hi

It's now working, in the end it was a problem on our SAN.

The NFS datastore I was using only gave me access to the top level folders, so I could create a folder in there where all the VMs are, browse it fine etc, but what I didnt try was to go down a level into the folder I created and create a new folder in there, which would have given me an access denied message.

Obviously as I'd just created the new host I thought it would be that side - especially as I could see and write to the datastore.

Thanks for everyone's help on this.

0 Kudos