Update Manager fails to Scan or Remediate

So patching a new server in my home lab. Created an Update Manager baseline. Attempted to do a scan to get my compliance. Nothing, just an Unknown, not Non-compliant. What does that mean?

Update Manager 1 Unknown Host with Attached Baseline

Tasks failing when scanning or attempting to remediate

Host cannot download files from VMware vSphere Update Manager patch store.

Finally worked out that my ESX server was not able to resolve the vCenter hostname. DNS server settings were incorrect. Well not incorrect, but pointing to a DNS server as primary that knows nothing about the DNS domain the vSphere environment is in.

So update DNS settings with PowerCLI and hey presto, now my baseline scanning is now working.

Import-Module VMware.PowerCLI
Connect-VIServer -Server vcsa.corp.local -Credential (Get-Credential)
$vmhost = get-vmhost -name esx-01a.corp.local
$vmhost | Get-VMHostNetwork | Set-VMHostNetwork -DnsAddress ("ad1.corp.local","192.168.0.1")

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.