- VMware vSphere 6.5 Cookbook(Third Edition)
- Abhilash GB Cedric Rajendran
- 287字
- 2025-02-18 00:43:32
How to do it...
The following procedure will guide you through the steps involved in remediating non-compliant hosts:
- Log in to the vSphere Web Client and use the key combination Ctrl + Alt + 1 to navigate to the inventory home.
- At the inventory home, click on Host Profiles to view all the profiles already created.
- Right-click on the Host Profile and click Remediate... to bring up the Remediate Hosts Based on Host Profile wizard:

- On the Remediate Hosts Based on Host Profile wizard screen, you will be presented with a list of hosts attached to the Host Profile. Select the hosts to remediate and click Next to continue:

- (Optional) You will be presented with the Customize Hosts screen if the host that you are trying to remediate has a compliance status of Unknown. You can either choose to use a customization file or enter the value on this screen. If you are dealing with a significant number of hosts, it only makes sense to use a customization file. Read the recipe, Performing host customizations to learn how to prepare the customization file.
- On the Ready to complete screen, click on the Pre-check Remediation button to run a check to determine whether a successful remediation of the hosts selected is possible. If the checks return a Ready to remediate status, then click Finish:

If the checks return an error, then you will need to fix the issue and re-run the pre-check again, before you can initiate the remediation.
After the remediation completes, relaunch the compliance check on the host to verify. Read the recipe, Checking Host Profile compliance of ESXi host(s) for instructions.