Using CPU affinity, you can assign a virtual machine to a specific processor. This allows you to restrict the assignment of virtual machines to a specific available processor in multiprocessor systems.

1

In the vSphere Client inventory panel, select a virtual machine and select Edit Settings.

2

Select the Resources tab and select Advanced CPU.

3

Click the Run on processor(s) button.

4

Select the processors on which you want the virtual machine to run and click OK.