{"id":478,"date":"2010-07-18T21:16:38","date_gmt":"2010-07-18T20:16:38","guid":{"rendered":"http:\/\/www.amikkelsen.com\/?p=478"},"modified":"2010-07-18T21:23:15","modified_gmt":"2010-07-18T20:23:15","slug":"upgrading-esxi-3-x4-0-to-4-1-%e2%80%9cfailed-to-read-the-upgrade-package-metadata-xml%e2%80%9d","status":"publish","type":"post","link":"https:\/\/www.amikkelsen.com\/?p=478","title":{"rendered":"Upgrading ESXi 3.x\/4.0 to 4.1 &#8211; \u00e2\u20ac\u0153Failed to read the upgrade package metadata.xml\u00e2\u20ac\u009d"},"content":{"rendered":"<p>Friday I was at a customer to upgrade their ESXi 4.0 (free) to version 4.1.<br \/>\nThis should have been an easy task, download CD, burn it and install.<\/p>\n<p>This wasn&#8217;t the case, the new ESXi 4.1 wouldn&#8217;t install, it kept freezing during the extract of the cim.vgz file.<br \/>\nThe problem occurred on both the Dell custom of ESXi 4.0 U1 and the standard ESXi 4.1.<br \/>\nWe googled and googled but didn&#8217;t find a solution &#8211; in the end we blamed the error on the old bios version 1.1.4.<\/p>\n<p>To my luck the customer still had the CD we installed the server with 9 months ago &#8211; ESXi 4.0.<\/p>\n<p>We installed ESXi using the old CD and then everything was working &#8211; but we still needed to upgrade to ESXi 4.1.<\/p>\n<p>So now what to do &#8230;&#8230;.<\/p>\n<p>Normally you use the hostupdate utility or the Remote CLI but the hostupdate utility is not included in the free version of ESXi and the we didn&#8217;t want to install the Remote CLI on the computer.<br \/>\nTo my luck I had the hostupdate utility installed but i kept getting this error when trying to upgrade the ESXi host.<\/p>\n<pre>\u00e2\u20ac\u0153Failed to read the upgrade package metadata.xml\u00e2\u20ac\u009d<\/pre>\n<p><strong>The solution to our problem was:<\/strong><\/p>\n<ol>\n<li>Since it was a ESXi free with out support, we decided to use the &#8220;ESXi  command line interface&#8221;, witch is unsupported.<br \/>\nFollow this guide to enable it (<a href=\"http:\/\/www.bauer-power.net\/2010\/04\/vmware-esxi-hack-to-allow-ssh.html\" target=\"_blank\">http:\/\/www.bauer-power.net\/2010\/04\/vmware-esxi-hack-to-allow-ssh.html<\/a>).<\/li>\n<li>Download and extract the upgrade ZIP file from VMware.<\/li>\n<li>From the VIclient, upload the extracted files to the host datastore, using the &#8220;datastore browser&#8221;<br \/>\n&#8211; I uploaded the files to a folder named &#8220;upgrade&#8221;<\/li>\n<li>Put the ESXi host in &#8220;Maintance Mode&#8221;<br \/>\n&#8211; Since it is a ESXi, this can only be done when all VM&#8217;s are powered off.<\/li>\n<li>Connect the the ESXi console using ex. Putty.exe.<\/li>\n<li>Navigate to the upgrade directory.\n<pre>cd \/vmfs\/volumes\/local-datastore\/upgrade<\/pre>\n<\/li>\n<li>Begin the upgrade process\n<pre>esxupdate update -m metadata.zip\r\n<a href=\"http:\/\/www.amikkelsen.com\/images\/esxi_upgrade_cos.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"ESXi commandline\" src=\"http:\/\/www.amikkelsen.com\/images\/esxi_upgrade_cos.jpg\" alt=\"\" width=\"602\" height=\"247\" \/><\/a><\/pre>\n<\/li>\n<li>When the upgrade is finished, reboot the host.\n<pre>reboot<\/pre>\n<\/li>\n<li>To verify the new build number:<br \/>\n&#8211; Connect to the host using the VIclient<br \/>\n&#8211; Select the host<br \/>\n&#8211; Choose the &#8220;Summery&#8221; tab<br \/>\n&#8211; Verify that the ESXi version number and build has been updated<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Friday I was at a customer to upgrade their ESXi 4.0 (free) to version 4.1. This should have been an easy task, download CD, burn it and install. This wasn&#8217;t the case, the new ESXi 4.1 wouldn&#8217;t install, it kept freezing during the extract of the cim.vgz file. The problem occurred on both the Dell\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.amikkelsen.com\/?p=478\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,17],"tags":[242,243,252,247,36,244,248,184,249,245,251,250,246,135],"class_list":["post-478","post","type-post","status-publish","format-standard","hentry","category-esx-migrate","category-esx-i","tag-4-0","tag-4-1","tag-cim-vgz","tag-command-line","tag-esxi","tag-esxupdate","tag-failed-to-read-the-upgrade-package-medata-xml","tag-free","tag-hostupdate-utility","tag-metadata-zip","tag-rcli","tag-remote-cli","tag-unsupported","tag-upgrade"],"_links":{"self":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts\/478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=478"}],"version-history":[{"count":6,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts\/478\/revisions"}],"predecessor-version":[{"id":483,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=\/wp\/v2\/posts\/478\/revisions\/483"}],"wp:attachment":[{"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amikkelsen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}