Tag Archives: esxi

Install ESXi 8 on Intel 12th CPU – “Fatal CPU mismatch on feature”

This problem is caused by the new architecture of Intel CPUs which are equipped with different types of cores – Performance-cores and Efficient-cores.

The parameter needs to be set prior to installation and the first boot of ESXi.

  1. When ESXi installation starts, press SHIFT+O to edit boot options.
  2. Append cpuUniformityHardCheckPanic=FALSE
  3. Press ENTER
  4. Install ESXi
  5. When the installation is finished, reboot the system and press SHIFT+O to edit the boot options again.
  6. Append cpuUniformityHardCheckPanic=FALSE and press ENTER
  7. To make the kernel option permanent, run the following command on your ESXi host:
    # esxcli system settings kernel set -s cpuUniformityHardCheckPanic -v FALSE
    
  8. We also have to enable kernel option ignoreMsrFaults to prevent PSOD during VM startups.
    # esxcli system settings kernel set -s ignoreMsrFaults -v TRUE

This setting allows ESXi to work with different P-Cores and E-Cores

fix “[Error28] No space left on device” when upgrade ESXi to 6.7 U2

To upgrade ESXi to 6.7U2, usually use below command is enough:

esxcli software profile update -p ESXi-6.7.0-20190402001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

But this time I got error “[Error28] No space left on device”.

Someone said to enable the swap on SSD can fix the issue, but I tried, it doesn’t work.

The fix is to manually update a vib first

[root@host:~] cd /tmp
[root@host:/tmp] wget http://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_10.3.5.10430147-12986307.vib
[root@host:/tmp] esxcli software vib install -f -v /tmp/VMware_locker_tools-light_10.3.5.10430147-12986307.vib
Installation Result
   Message: Operation finished successfully.
   Reboot Required: false
   VIBs Installed: VMware_locker_tools-light_10.3.5.10430147-12986307
   VIBs Removed: VMware_locker_tools-light_10.3.2.9925305-10176879
   VIBs Skipped:

Then run the update again, you should be able to update your ESXi host now.

Upgrade ESXi from 6.5 to 6.7 via command line

Run this command to see the VMware online depot and list all profiles

[root@m900:~] esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.7
ESXi-6.7.0-8169922-no-tools       VMware, Inc.  PartnerSupported
ESXi-6.7.0-8169922-standard       VMware, Inc.  PartnerSupporte

Run the upgrade with this command:

esxcli software profile update -p ESXi-6.7.0-8169922-standard  -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

Then reboot server

ESXi 5.x and 6.x firewall Management command

esxcli network firewall get Returns the enabled or disabled status of the firewall and lists default actions.
esxcli network firewall set –default-action Update default actions.
esxcli network firewall set –enabled Set to true to enable the firewall, set to false to disable the firewall.
esxcli network firewall load Load the firewall module and rule set configuration files.
esxcli network firewall refresh Refresh the firewall configuration by reading the rule set files if the firewall module is loaded.
esxcli network firewall unload Destroy filters and unload the firewall module.
esxcli network firewall ruleset list List rule sets information.
esxcli network firewall ruleset set –allowedall Set the allowedall flag.
esxcli network firewall ruleset set –enabled Enable or disable the specified rule set.
esxcli network firewall ruleset allowedip list List the allowed IP addresses of the specified rule set.
esxcli network firewall ruleset allowedip add Allow access to the rule set from the specified IP address or range of IP addresses.
esxcli network firewall ruleset allowedip remove Remove access to the rule set from the specified IP address or range of IP addresses

Update ESXi 6.5 to ESXi 6.5.0d

Put the host into maintenance mode, ssh to the host, and then run below command:

esxcli network firewall ruleset set -e true -r httpClient
esxcli software profile install -p ESXi-6.5.0-20170404001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

Then reboot the host after installation finished:)