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.
Launch the vSphere Client and log in to a vCenter Server system.
- In the vSphere Client inventory panel, select a virtual machine and select Edit Settings.
- Select the Resources tab and select Advanced CPU.
- Click the Run on processor(s) button.
- Select the processors where you want the virtual machine to run and click OK.