Not sure if I put this under the correct topic, but I'm currently installing some new ESXi hosts and putting them in a new cluster. I wanted to make use of the new Desired State feature (Configuration Profiles) to simplify configuration and keeping it from drifting.
Since this is a new feature, I'm having a bit of trouble to finding where in the docs to read up on it, but I found this great article which has gotten me on the right path.
However, after setting it up I can see configuration drift for the ESXi hosts (which weren't the baseline) where it wants to update the password hash for the other ESXi hosts as well. This seem strange to me, since the hash always will be different for the different hosts. Should I configure Override for the password hash setting (/profile/esx/authentication/user_accounts/0/password_hash)? If so, how is this done?
I've seen that in 8u2 you can create a draft configuration and add overrides via the GUI, but currently we are running vCenter 8u1 so those options aren´t available.
I've found below "template" for using with the json file, but I'm unsure what values to change:
"host-override": {
"type": "object",
"title": "Host-Override Configuration",
"properties": {
},
"description": "Container for configurations that override the profile for a given host as indexed by the host's BIOS UUID",
"patternProperties": {
"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$": {
"$ref": "#/properties/profile"
}
}
}
Should "type" be "esx" and "$ref" be "/profile/esx/authentication/user_accounts/0/password_hash"? Do I need to change "Title" and "Description" so that another admin better would understand the exception? And how do I add more override properties? Would below example be a correct syntax?
"host-override": {
"type": "esx",
"title": "ESXi99 Host-Override Configuration",
"properties": {
},
"description": "Container for configurations that override the profile for a given host as indexed by the host's BIOS UUID",
"patternProperties": {
"11111111-2222-3333-4444-555555555555": {
"$ref": "#/properties/profile/esx/authentication/user_accounts/0/password_hash"
},
"11111111-2222-3333-4444-555555555555": {
"$ref": "#/properties/profile/same_host/Some_other_property"
}
}
}
Thankful for help in understanding this new (potentially) awesome feature!