To customize hosts with shared attributes, you can create a host profile in a reference host. To customize individual hosts, you can set up some fields in the host profile to prompt the user for input for each host. You can also edit and export host customizations.
Host Customization
Host profiles allow you to prespecify information, for example, the storage setup or Syslog setup in a reference host to and apply the host profile to a set of target hosts that share the same settings. You can also use host profiles to specify that certain settings are host dependent. If you do so, the host comes up in maintenance mode when you provision it with Auto Deploy. Remediate the host or reset the host customization to be prompted for input. The system stores your input and uses it the next time the host boots.
When the host profile is set to prompt for user input, you must specify a value in the dialog box that appears when you reset the host customization. An error results if you do not specify a value.
Information to Request User Input For | Setting the Host Profile Option |
---|---|
You are setting up the Fixed PSP configuration and want to prompt for the adapter and target IDs for the storage arrays that should use the Fixed PSP. |
You can set the option only if the adapter is set up to use the Fixed PSP.
|
Information to Request User Input For | Setting the Host Profile Option |
---|---|
Administrator password for ESXi host when the host boots for the first time. |
|
Preconfigures a user for the ESXi host but prompts for the password for that user on each host when the host boots for the first time. | You can perform this task only if a user configuration already exists. Configure the user by selecting one of the options.
|
Prompt the user for credentials when the host joins the Active Directory domain. |
|
Information to Request User Input For | Setting the Host Profile Option |
---|---|
Prompt the user for the MAC address for a port group. You can have the system prompt the user in all cases (User specified MAC address...) or prompt the user only if no default is available. |
|
Prompt the user for the IPv4 address for each ESXi host to which the profile is applied. You can have the system prompt the user in all cases (User specified IPv4 address...) or prompt the user only if no default is available. |
|
Prompt the user for the IPv6 address for each ESXi host to which the profile is applied. You can have the system prompt the user in all cases (User specified IPv6 address...) or prompt the user only if no default is available. |
|
Prompt the user for the DNS name of the host. You can have the system prompt the user in all cases (User specified host name...) or prompt the user only if no default is available. |
|
Prompt the user for the MAC address for a distributed switch, its port group, or one of its services. Right-click the Host virtual NIC folder icon and click the Add sub-profile icon to determine the component to which the setting is applied. You can decide to prompt the user in all cases or only if no default is available. |
|
Prompt the user for the IPv4 address for a distributed switch, its port group, or one of its services. Right-click the Host virtual NIC folder icon and click the Add sub-profile icon to determine the component to which the setting is applied. You can decide to prompt the user only if no default is available or in all cases. |
|
Prompt the user for the IPv6 address for a distributed switch, its port group, or one of its services. Right-click the Host virtual NIC folder icon and click the Add sub-profile icon to determine the component to which the setting is applied. You can decide to prompt the user only if no default is available or in all cases. |
|
How Do You Export Host Customizations?
Learn how to export the customized attributes of a vSphere host profile as a .CSV file to your desktop.
For security reasons, sensitive data such as passwords are not exported.
Procedure
What to do next
After the file is saved to your desktop, you can manually edit the file and save it to apply the customizations later.
How Do You Edit Host Customizations?
Read how to edit host customizations for specific hosts attached to a vSphere host profile or a cluster attached to a host profile.
Procedure
Answer File Field and vSphere Host Profile Extraction
When a new profile is extracted from an ESXi host or post upgrade, host profiles policy options and host customization values are changed. You can get more familiar with the changes by referring to the Answer File Field and Host Profile Extraction table.
After you extract a new host profile from an ESXi host, the values for some of the policy options change. To keep these values, you have to save them manually before extracting the host profile. The Answer File Field and Host Profile Extraction table lists the policy options with changed values and the options that keep their values the same in the newly extracted host profile.
To locate the policy options, navigate to Host Profiles main view, right-click the extracted host profile, and select Edit Host Customizations.
Policy option path | Policy option | Variations in the policy options value in the newly extracted profile |
---|---|---|
Security and Services -> Security Settings -> Security | UserInputPasswordConfigOption | For default users, it leaves the password unchanged (root). For non-default users, it always extracts user input. |
UserInputPasswordConfigOption | If host profile version is earlier than 6.5, this option is not extracted. You explicitly need to create a UserAccount profile in the extracted host profile. | |
UserInputAdminPasswordOption | Changes to fixed. Does not keep user input value. | |
Storage configuration -> iSCSI Initiator Configuration | AdvancedUserInputUserConfigOption | Changes to fixed. Does not keep user input value. |
UserInputIqn | Keeps user input value. | |
UserInputAlias | Keeps user input value. | |
UserInputChapName | Changes to fixed. Does not keep user input value. | |
UserInputChapSecret | Changes to fixed. Does not keep user input value. | |
UserInputFirstBurstLength | Changes to fixed. Does not keep user input value. | |
UserInputMaxBurstLength | Changes to fixed. Does not keep user input value. | |
General System Settings -> Management Agent Configuration -> SNMP Agent Configuration | UserInputMaxReceiveSegmentLength | Changes to fixed. Does not keep user input value. |
UserInputUsers | Changes to fixed. Does not keep user input value. | |
UserInputV3Targets | Changes to fixed. Does not keep user input value. | |
UserInputEngineId | Changes to fixed. Does not keep user input value. | |
UserInputContact | Changes to fixed. Does not keep user input value. | |
UserInputLocation | Changes to fixed. Does not keep user input value. | |
Security and Services -> Security Settings -> Security -> Active Directory Permission | UserInputUserName | Keeps user input value. |
UserInputPassword | Keeps user input value. | |
Networking Configuration | UserInputMacAddress | Conditional, prompt user if no default value is available. |
UserInputHostName | Conditional, prompt user if no default value is available. | |
UserInputIPAddress | Conditional, prompt user if no default value is available. | |
Advanced Configuration Settings -> Advanced Options | UserInputAdvancedConfigOption | Changes to fixed. Does not keep user input value. |
Advanced Configuration Settings -> System Image Cache Configuration | Enable Stateless Caching | You must explicitly select the policy option. |
Enable Stateful Install | You must explicitly select the policy option. |