ConfigMgr

VMware, Azure and Automation

Troubleshooting Host Profiles

2 september 2020 Solutions VMware

A while ago I was working with host profiles to get the hosts compliant with the CIS Benchmarks (https://www.cisecurity.org/benchmark/vmware/). But for some reason, I could not remediate some of the hosts.

Issue #1

The error I got was pretty generic…

I started looking at log files and decided to download a support log bundle. In there, there was a file vmsyslogd.err with some interesting lines:

Config error:Invalid config: invalid log directory: /vmfs/../scratch/log/..

So the configured log directory is not valid… And…

Well, inside my host profile I configure the setting Syslog.global.logdir and if the current setting is not valid it will not apply the setting from the host profile!

After going to the Advanced System Settings of the host and deleting the value for Syslog.global.syslog, I could remediate the host.

Problem solved.

Issue #2

Another issue I had, had to do with user accounts on the host. For some reason, you cannot create a new account on a host AND make changes to that account.

So you have to do it in two steps:
1. Create the account in a separate host profile
2. Make changes to that account in another host profile

For this to work unfortunately you have to switch host profiles…

advanced settingerrorhost profile

ESXi Events flooded... Firewall configuration has changed.

Remediation did not succeed

Recent Posts

  • Using API for Aria OPS Chargeback
  • Unable to set reservation on Org VDC
  • Veeam Tweaks
  • VCF Anyone? Get your license for free…
  • Configure Entra ID as Cloud Director IdP

Recent Comments

Geen reacties om te tonen.

Archives

  • april 2025
  • maart 2025
  • november 2024
  • oktober 2024
  • januari 2024
  • november 2023
  • oktober 2023
  • september 2023
  • juni 2023
  • mei 2023
  • april 2023
  • november 2022
  • maart 2021
  • februari 2021
  • januari 2021
  • november 2020
  • oktober 2020
  • september 2020
  • juli 2020
  • juni 2020
  • april 2020
  • maart 2020
  • februari 2020
  • oktober 2019
  • september 2019
  • juli 2019
  • juni 2019
  • mei 2019
  • maart 2019
  • februari 2019
  • januari 2019
  • december 2018
  • november 2018
  • april 2018
  • januari 2018
  • juli 2017
  • juni 2017
  • mei 2017

Categories

  • AnyLinq
  • Azure
  • Cloud Director
  • ConfigMgr
  • DIY
  • HomeAssistant
  • Microsoft
  • PowerCli
  • Powershell
  • SCCM
  • Script
  • Solutions
  • System Center
  • Veeam
  • VMware
  • vRealize Automation
  • vRealize Orchestrator
Proudly powered by WordPress | Theme: Doo by ThemeVS.