{"id":800,"date":"2019-08-24T16:44:39","date_gmt":"2019-08-24T06:44:39","guid":{"rendered":"http:\/\/threemillion.net\/blog\/?p=800"},"modified":"2019-08-24T16:46:16","modified_gmt":"2019-08-24T06:46:16","slug":"update-manager-fails-to-scan-or-remediate","status":"publish","type":"post","link":"https:\/\/threemillion.net\/blog\/?p=800","title":{"rendered":"Update Manager fails to Scan or Remediate"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">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?<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"834\" height=\"334\" src=\"https:\/\/threemillion.net\/blog\/wp-content\/uploads\/2019\/08\/20190824-update-manager-hosts-with-attached-baselines.png\" alt=\"\" class=\"wp-image-802\" srcset=\"https:\/\/threemillion.net\/blog\/wp-content\/uploads\/2019\/08\/20190824-update-manager-hosts-with-attached-baselines.png 834w, https:\/\/threemillion.net\/blog\/wp-content\/uploads\/2019\/08\/20190824-update-manager-hosts-with-attached-baselines-300x120.png 300w, https:\/\/threemillion.net\/blog\/wp-content\/uploads\/2019\/08\/20190824-update-manager-hosts-with-attached-baselines-768x308.png 768w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" \/><figcaption>Update Manager 1 Unknown Host with Attached Baseline<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Tasks failing when scanning or attempting to remediate<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/threemillion.net\/blog\/wp-content\/uploads\/2019\/08\/20190824-scan-entity-remediate-host-cannot-download-files-1024x472.png\" alt=\"\" class=\"wp-image-801\" width=\"580\" height=\"267\" srcset=\"https:\/\/threemillion.net\/blog\/wp-content\/uploads\/2019\/08\/20190824-scan-entity-remediate-host-cannot-download-files-1024x472.png 1024w, https:\/\/threemillion.net\/blog\/wp-content\/uploads\/2019\/08\/20190824-scan-entity-remediate-host-cannot-download-files-300x138.png 300w, https:\/\/threemillion.net\/blog\/wp-content\/uploads\/2019\/08\/20190824-scan-entity-remediate-host-cannot-download-files-768x354.png 768w, https:\/\/threemillion.net\/blog\/wp-content\/uploads\/2019\/08\/20190824-scan-entity-remediate-host-cannot-download-files-1025x473.png 1025w, https:\/\/threemillion.net\/blog\/wp-content\/uploads\/2019\/08\/20190824-scan-entity-remediate-host-cannot-download-files.png 1221w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><figcaption>Host cannot download files from VMware vSphere Update Manager patch store.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So update DNS settings with PowerCLI and hey presto, now my baseline scanning is now working.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nImport-Module VMware.PowerCLI\nConnect-VIServer -Server vcsa.corp.local -Credential (Get-Credential)\n$vmhost = get-vmhost -name esx-01a.corp.local\n$vmhost | Get-VMHostNetwork | Set-VMHostNetwork -DnsAddress (&quot;ad1.corp.local&quot;,&quot;192.168.0.1&quot;)\n<\/pre><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 <a href=\"https:\/\/threemillion.net\/blog\/?p=800\" class=\"more-link\">[&hellip;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"Layout":"","footnotes":""},"categories":[18],"tags":[104,105],"class_list":["entry","author-admin","post-800","post","type-post","status-publish","format-standard","category-vmware-virtualisation","tag-dns","tag-update-manager"],"_links":{"self":[{"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=800"}],"version-history":[{"count":5,"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/800\/revisions"}],"predecessor-version":[{"id":807,"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/800\/revisions\/807"}],"wp:attachment":[{"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/threemillion.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}