Enable ESXi Side-Channel-Aware Scheduler Version 2 (SCAv2) using ESXCLI
- SSH to an ESXi host or open a console where the remote ESXCLI is installed
- Check the current runtime values by running:
esxcli system settings kernel
list -o hyperthreadingMitigation and esxcli system settings kernel list -o hyperthreadingMitigationIntraVM
- To enable the ESXi Side-Channel-Aware Scheduler Version 1 run these commands:
esxcli system settings kernel set -s hyperthreadingMitigation -v TRUE
esxcli system settings kernel set -s hyperthreadingMitigationIntraVM -v FALSE
- Reboot the ESXi host for the configuration change to go into effect:
Default Method:
- Get List of running VMs:
esxcli vm process list
- Kill VMs:
esxcli vm process kill -type=[soft|hard|force] -world-id=[worldid]
- Get List of running VMs:
- Alternative method:
- List all vms:
vim-cmd vmsvc/getallvms
vim-cmd vmsvc/power.shutdown [vmid]
reboot -d 300 -f
- List all vms:
Categories: