I had a chance to set up some Host Profiles last weekend and get a handle on how they work. These are a very handy tool for reducing your management overhead, especially in a large cluster.
– Ensure configuration accuracy by applying a single configuration profile to all hosts in a cluster
– Reduce time for deployment by automating many configuration settings
– Update one configuration to update all hosts, a la dvSwitch.
Hit the whole run through after the jump!
- Go to the Home screen in vCenter and click Management > Host Profiles
- Name and describe the new Host Profile, then hit Next and Finish
- Expand the list and select the cluster. Then click ‘Attach’ to move it to the right. Hit ‘OK.’
Apply Profile to Hosts
- Once machine is in Maintenance Mode, right-click and select ‘Apply Profile’
- Once the profile applies, you should see that the Host is now Compliant.
There are some common errors with this version of vSphere that appear in Host Profile compliance checks.
- If you get an error that looks like the one below, the compliance check is detecting your local storage as a configuration that all hosts should be able to see. The workaround to pass the compliance check is to disable these pieces.
ii. Remove the two checkboxes shown below:
iv. Run the compliance check again, and Hosts should pass this time.
v. For more information, see this KB article:
- Another common compliance failure is for the host the profile is based on to show an error that says ‘Given Services are not enabled on the port group <portgroupname>.’ This is a bug and the only way to pass compliance is to either disable the check, or to make sure that each different vmk# is in a different dvPortGroup. (i.e. one for FT logging, one for vMotion, one for Management)
- To disable the check, right-click the Host Profile and select ‘Enable/Disable Profile Configuration’
ii. Remove the following compliance check
- Re-scan for compliance. If this doesn’t work, you may be forced to separate out into individual dvPortGroups.
- See this VMware KB for reference
Lastly, here’s a link to an older but relevant white paper on Host Profiles.
What’s your experience with Host Profiles like?