{"id":235,"date":"2012-07-26T13:55:54","date_gmt":"2012-07-26T19:55:54","guid":{"rendered":"http:\/\/www.ecimulti.org\/blog\/?p=235"},"modified":"2012-10-28T22:50:37","modified_gmt":"2012-10-29T04:50:37","slug":"vmware-vsphere-adamlds-issues-after-an-in-place-os-upgrade","status":"publish","type":"post","link":"https:\/\/www.ecimulti.org\/blog\/?p=235","title":{"rendered":"VMware vSphere ADAM\/LDS issues after an in-place OS upgrade."},"content":{"rendered":"<p>I&#8217;m not a huge fan of doing in-place OS upgrades, but sometimes its just a necessary evil. Today I upgraded one of our vCenter servers from Server 2003 R2 64-bit to Server 2008 R2, which is a supported upgrade path from Microsoft.<\/p>\n<p>The OS upgrade itself went smoothly, but about 10 minutes after the final reboot vSphere Service Status alerted on these two issues:<\/p>\n<ul>\n<li>LDAP replication health monitor &#8211; Failed to initialize LDAP instance manager<\/li>\n<li>LDAP backup task monitor &#8211; JoinTool initialization error<\/li>\n<\/ul>\n<p>If you didn&#8217;t already know, vCenter relies upon <a href=\"http:\/\/en.wikipedia.org\/wiki\/Active_Directory#Lightweight_Directory_Service\" title=\"Microsoft ADAM\" target=\"_blank\">Microsoft ADAM<\/a> which was renamed Lightweight Directory Service. vCenter uses this as a repository for things like roles, license keys and many other metadata-ish stuff.<\/p>\n<p>I searched around the VMware KB &amp; Google and really didn&#8217;t find anything useful. Then I dug through the vCenter Webservices Logs (vws.log), and ran into this:<\/p>\n<blockquote><p>Action: Local ldap environment verification<br \/>\nProblem: LDAP tools not found in &#8220;C:WindowsADAM&#8221;<\/p><\/blockquote>\n<p>I zeroed in on: <strong>Problem: LDAP tools not found in &#8220;C:WindowsADAM<\/strong> and compared that directory between a known working vCenter on Server 2008 R2 and this problem child server.<\/p>\n<p>Sure enough 3 files were missing:<\/p>\n<ul>\n<li>DSACLS.EXE<\/li>\n<li>LDIFDE.EXE<\/li>\n<li>REPADMIN.EXE<\/li>\n<\/ul>\n<p>After synchronizing that directory with the working server, I restarted vCenter Web Services and the errors went away! My assumption would be that during the upgrade those files were nuked as the LDS role was re-applied.<\/p>\n<p>For folks who might not know, here&#8217;s a VMware KB article for log file locations: <a href=\"http:\/\/kb.vmware.com\/selfservice\/microsites\/search.do?language=en_US&#038;cmd=displayKC&#038;externalId=1021804\" title=\"KB1021804\" target=\"_blank\">KB1021804<\/a><\/p>\n<p>Till next time\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m not a huge fan of doing in-place OS upgrades, but sometimes its just a necessary evil. Today I upgraded one of our vCenter servers from Server 2003 R2 64-bit to Server 2008 R2, which is a supported upgrade path from Microsoft. The OS upgrade itself went smoothly, but about 10 minutes after the final [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42,54,27],"tags":[58,56,59,57,55],"class_list":["post-235","post","type-post","status-publish","format-standard","hentry","category-vmware-esx-esxi","category-vmware-vcenter","category-windows","tag-adam","tag-esx","tag-jointool","tag-vcenter","tag-vmware"],"_links":{"self":[{"href":"https:\/\/www.ecimulti.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecimulti.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecimulti.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecimulti.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecimulti.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=235"}],"version-history":[{"count":36,"href":"https:\/\/www.ecimulti.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":342,"href":"https:\/\/www.ecimulti.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/235\/revisions\/342"}],"wp:attachment":[{"href":"https:\/\/www.ecimulti.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecimulti.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecimulti.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}