Just started to play around with Auto Deploy and Host Profiles, have everything working expect one thing.
The Host Profile is not applied after reboot, the profile is selected but not applied.
If I choose "Apply Profile" the server applies the profile, take it out of maintenance mode and it`s working like it should.
Shouldn’t this happen automatically after reboot? And what log files can I look in to troubleshoot this problem?
Any help would be appreciated.
Yes. You can attach a profile - even if the host is running VMs - to a host and you can have a look whether it is already compliant or not, before it is being put in maintenance mode and have the profile settings applied. You can even attach a profile to a cluster so you dont need to click through all the hosts.
This is a normal behaviour that you need to apply the profile. Apply means, the configuration will be written to the host.
Reboot does not writes the config. Check the logs in vCenter and vpxa.log and hostd.log on the ESX side.
Okey
So if I understand you correctly the host profile will be selected but you need to choose apply after reboot?
Yes. You can attach a profile - even if the host is running VMs - to a host and you can have a look whether it is already compliant or not, before it is being put in maintenance mode and have the profile settings applied. You can even attach a profile to a cluster so you dont need to click through all the hosts.
Yes, this is taken care of with an deployment rule in Auto Deploy which put the servers in the cluster and attach the Host Profile.
So thank you, now I don’t need to spend any more time looking for why it’s not applied automatically, I just have to apply it.
Would be nice if this was done automatically the after an reboot if the answer file was complete, since the ESXi is running stateless.
is there a way to apply the profile automatically? From this doc, it says the settings should be persistent on reboot