VMware Cloud Community
ShaneWendel
Enthusiast
Enthusiast

CPU Affinity Menu Missing?

I've looked at most of my VMs and none of them display the CPU affinity menu. Under Advanced CPU all I show is the HT menu. I have a VM that was moved from an ESX 3.0.2 host that won't vmotion because it says it has CPU or memory affinities set. Is there a parameter I have set to make these menus appear?

-


Shane Wendel, VCP

----------------- Shane Wendel VCP: vSphere 4 VCP: VI3 http://fatalsync.wordpress.com
0 Kudos
8 Replies
RParker
Immortal
Immortal

Probably have to shut down VM, move it back to ESX 3.02 and change the CPU affinity.

0 Kudos
ShaneWendel
Enthusiast
Enthusiast

These were copied over with Converter. I can't really move them back.

-


Shane Wendel, VCP

----------------- Shane Wendel VCP: vSphere 4 VCP: VI3 http://fatalsync.wordpress.com
0 Kudos
RParker
Immortal
Immortal

Well I haven't used this feature in a long time, but I don't see this option either. another option is simply shut down the VM, create a NEW VM (remove the old from inventory) and point it to existing disk and use same parameters, because I don't see these options any longer.

0 Kudos
Troy_Clavell
Immortal
Immortal

If your VM is in a cluster, you will not see these options.

...but it's done by going to the resource tab, advanced CPU when you edit settings of the VM. In a cluster you will only have the Mode Option

If not in a cluster, you will see where to change the option to "no affinity"

ShaneWendel
Enthusiast
Enthusiast

I commented this line out in the .vmx file:

sched.cpu.affinity = "3"

Doesn't really explain where the menu went though.

-


Shane Wendel, VCP

http://fatalsync.wordpress.com

----------------- Shane Wendel VCP: vSphere 4 VCP: VI3 http://fatalsync.wordpress.com
0 Kudos
Dave_Mishchenko
Immortal
Immortal

So is the host you moved it to part of a cluster?

0 Kudos
ShaneWendel
Enthusiast
Enthusiast

Yes it is part of a cluster, I converted it from an older standalone host that I wasn't the admin of.

I guess I never really noticed that affinity wasn't available on a clustered host. I knew it would make vmotion impossible, but so do alot of other things that ARE accessible on a clustered host. It also doesn't make sense for the client to not display something that could changed. The client should at least recognize that affinity was already set.

-


Shane Wendel, VCP

----------------- Shane Wendel VCP: vSphere 4 VCP: VI3 http://fatalsync.wordpress.com
0 Kudos
Hrrflck
Contributor
Contributor

I had the same "problem", I thought it was related to the VT bit, but turning it on didn't make any difference. So I read here about the "part of a cluster" part and on one of my clusters I did have the affinity tab and on some others I didn't. Turns out it was the Cluster DRS setting, setting it to manual or partially automated enables the affinity tab. Fully automated disables the tab.

0 Kudos