ESXi host profiles

If you need a repeatable process to configure your ESXi hosts I strongly recommend the use of vSphere host profiles. Earlier in the game they had some issues, but I am big fan since vSphere 6.7 where they have improved them a lot.

  • To start with you first need to create a host profile. You can do this by extracting the configuration from one of your hosts.
  • Edit the host profile to ensure your customizations are as desired. (I would take the time to thoroughly check all configurations settings are captured and use either fixed or user prompt customization)
  • Next attach a host to the Host profile you have created
  • Then check the attached host for compliance, it will fail (non-compliant).
  • Remediate the attached (non-complaint) host.

You can also duplicate a host profile to another host profile and copy settings from host and also export/import a host profile (.vpf file)

References:

https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.hostprofiles.doc/GUID-78BB234A-D735-4356-9CCF-19DD55DB8060.html