You can use vSphere Auto Deploy to reprovision a host with a new image profile with the vSphere Client by changing the rule that the host corresponds to and activating the rule.
Prerequisites
- Verify that the image profile you want to use to reprovision the host is available. See Create an Image Profile.
- Verify that the setup you performed during the first boot operation is in place.
Procedure
- Navigate to Home > Auto Deploy.
By default, only the administrator role has privileges to use the vSphere Auto Deploy service.
- On the Deploy Rules tab, from the list of rules in the inventory select the rule and click Edit.
The Edit Deploy Rule dialog box appears.
- (Optional) On the Name and hosts page of the wizard, enter a name for the new rule.
- (Optional) Select to either apply the rule to all hosts in the inventory or only to hosts that match a specific pattern.
You can select one or more patterns.For example, the rule can apply only to hosts in a vCenter Single Sign-On domain, with a specific host name, or that match a specific IPv4 range.
- On the Configuration page of the wizard, you can optionally include items in the rule.
Each enabled item adds a new page to the wizard.
Option Action Host Location Add the hosts that match the criteria of the rule to a specific location. Image Profile Assign an image profile to the hosts that match the rule criteria. Host Profile Assign a host profile to the hosts that match the rule criteria. Script Bundle Assign a script bundle to the host that match the rule criteria. - Click Next to skip the Host Location selection.
- On the Select image profile page of the wizard, assign an image profile to the hosts that match the rule criteria.
Option Action If you do not want to change the image profile Select the Same image profile check box. If you want to assign a new image profile to the selected hosts - Select the Browse for Image Profile check box.
- Select a software depot from the drop-down menu.
- Select an image profile from the list.
- (Optional) If you want to bypass the acceptance level verification for the image profile, select the Skip image profile signature check check box.
- Click Next to skip the Host profile selection.
- On the Ready to complete page, review the summary information for the new image profile and click Finish.
- Click Activate/Deactivate rules.
- From the list of inactive rules, select the rule that you want to activate and click the Activate button.
- (Optional) If you want to reorder the rules in the active rule list, select a rule that you want to move up or down in the list and click Move up or Move down above the list of active rules.
The rules are listed by priority. For example, if two or more rules apply to the same host but are set to provision the host with different host locations, image profiles, and host profiles, the rule that is highest in the list takes effect on the host.
- (Optional) If you want to test an inactive rule before activation, click Test rules before activation.
- Select a host from the list and click Check Compliance to view the current status of the host and the changes that are expected after the activation of the rule.
If the host is compliant with the rule, you do not need to remediate the host after you activate the rule.
- (Optional) If you want to remediate the selected hosts after the rule activation, enable the toggle button or select the Remediate all host associations after rule activation check box to remediate all hosts.
- Select a host from the list and click Check Compliance to view the current status of the host and the changes that are expected after the activation of the rule.
- Review the list of active rules and click ОК.
- Reboot the host to provision it with the new image profile.