{"id":951,"date":"2022-12-20T20:45:00","date_gmt":"2022-12-20T20:45:00","guid":{"rendered":"https:\/\/bogdanburuiana.com\/?p=951"},"modified":"2023-01-25T06:08:09","modified_gmt":"2023-01-25T06:08:09","slug":"upgrade-vmware-esxi-to-8-0-via-command-line","status":"publish","type":"post","link":"https:\/\/bogdanburuiana.com\/index.php\/2022\/12\/20\/upgrade-vmware-esxi-to-8-0-via-command-line\/","title":{"rendered":"Upgrade VMware ESXi to 8.0 via command line"},"content":{"rendered":"\n<p>So, I&#8217;ve decided to upgrade my  VMware ESXi 7.0.0 to 8.0.0 version via a command-line interface (CLI) that allowed me to quickly download and upgrade my current ESXi host version which currently doesn&#8217;t use a vCenter server and my hosts are without internet access.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"632\" height=\"311\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2023\/01\/Screenshot_1-1.jpg\" alt=\"\" class=\"wp-image-967\" srcset=\"\/wp-content\/uploads\/2023\/01\/Screenshot_1-1.jpg 632w, \/wp-content\/uploads\/2023\/01\/Screenshot_1-1-300x148.jpg 300w, \/wp-content\/uploads\/2023\/01\/Screenshot_1-1-480x236.jpg 480w\" sizes=\"(max-width: 632px) 100vw, 632px\" \/><\/figure>\n\n\n\n<p>The first step was to download the latest ESXi patch from <a rel=\"noreferrer noopener\" href=\"https:\/\/customerconnect.vmware.com\/patch\/\" target=\"_blank\">VMware patch portal<\/a>.<\/p>\n\n\n\n<p>I&#8217;ve selected <strong><em>ESXi embedded and Installable&nbsp;<\/em><\/strong>and <em><strong>8.0<\/strong><\/em>. Once done, checked the box next to the file and clicked <strong>Download Selected.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"546\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2023\/01\/Screenshot_2-1024x546.jpg\" alt=\"\" class=\"wp-image-956\" srcset=\"\/wp-content\/uploads\/2023\/01\/Screenshot_2-1024x546.jpg 1024w, \/wp-content\/uploads\/2023\/01\/Screenshot_2-300x160.jpg 300w, \/wp-content\/uploads\/2023\/01\/Screenshot_2-768x410.jpg 768w, \/wp-content\/uploads\/2023\/01\/Screenshot_2-1536x819.jpg 1536w, \/wp-content\/uploads\/2023\/01\/Screenshot_2-1226x654.jpg 1226w, \/wp-content\/uploads\/2023\/01\/Screenshot_2-928x495.jpg 928w, \/wp-content\/uploads\/2023\/01\/Screenshot_2-480x256.jpg 480w, \/wp-content\/uploads\/2023\/01\/Screenshot_2.jpg 1736w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The next step was to upload this file to a datastore visible by my ESXi host. In my case, I&#8217;m using local datastore named \u201cdatastore1&#8243;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"377\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2023\/01\/Screenshot_3-1024x377.jpg\" alt=\"\" class=\"wp-image-957\" srcset=\"\/wp-content\/uploads\/2023\/01\/Screenshot_3-1024x377.jpg 1024w, \/wp-content\/uploads\/2023\/01\/Screenshot_3-300x110.jpg 300w, \/wp-content\/uploads\/2023\/01\/Screenshot_3-768x283.jpg 768w, \/wp-content\/uploads\/2023\/01\/Screenshot_3-1226x451.jpg 1226w, \/wp-content\/uploads\/2023\/01\/Screenshot_3-928x342.jpg 928w, \/wp-content\/uploads\/2023\/01\/Screenshot_3-480x177.jpg 480w, \/wp-content\/uploads\/2023\/01\/Screenshot_3.jpg 1364w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Then I put the host into maintenance mode via UI. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"530\" height=\"376\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2023\/01\/Screenshot_4.jpg\" alt=\"\" class=\"wp-image-958\" srcset=\"\/wp-content\/uploads\/2023\/01\/Screenshot_4.jpg 530w, \/wp-content\/uploads\/2023\/01\/Screenshot_4-300x213.jpg 300w, \/wp-content\/uploads\/2023\/01\/Screenshot_4-480x341.jpg 480w\" sizes=\"(max-width: 530px) 100vw, 530px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"327\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2023\/01\/Screenshot_5-1024x327.jpg\" alt=\"\" class=\"wp-image-960\" srcset=\"\/wp-content\/uploads\/2023\/01\/Screenshot_5-1024x327.jpg 1024w, \/wp-content\/uploads\/2023\/01\/Screenshot_5-300x96.jpg 300w, \/wp-content\/uploads\/2023\/01\/Screenshot_5-768x245.jpg 768w, \/wp-content\/uploads\/2023\/01\/Screenshot_5-928x297.jpg 928w, \/wp-content\/uploads\/2023\/01\/Screenshot_5-480x153.jpg 480w, \/wp-content\/uploads\/2023\/01\/Screenshot_5.jpg 1095w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>I ran the follow command to see my profiles I have in my depot and I picked the Standard one as I wanted VMware tools package present on my host<\/p>\n\n\n\n<p><code>esxcli software sources profile list -d \/vmfs\/volumes\/datastore1\/esxi8\/VMware-ESXi-8.0a-20842819-depot.zip<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"704\" height=\"259\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2023\/01\/Screenshot_6.jpg\" alt=\"\" class=\"wp-image-961\" srcset=\"\/wp-content\/uploads\/2023\/01\/Screenshot_6.jpg 704w, \/wp-content\/uploads\/2023\/01\/Screenshot_6-300x110.jpg 300w, \/wp-content\/uploads\/2023\/01\/Screenshot_6-480x177.jpg 480w\" sizes=\"(max-width: 704px) 100vw, 704px\" \/><\/figure>\n\n\n\n<p>I&#8217;ve used <strong>update<\/strong> command to preserve VIBs, so I&#8217;ve applied all of the newer contents in the file, including all security fixes but I got <strong>[HardwareError] <\/strong>&#8211; which I passed by using <strong>-no-hardware-warning<\/strong> option.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"127\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2023\/01\/Screenshot_7-1024x127.jpg\" alt=\"\" class=\"wp-image-962\" srcset=\"\/wp-content\/uploads\/2023\/01\/Screenshot_7-1024x127.jpg 1024w, \/wp-content\/uploads\/2023\/01\/Screenshot_7-300x37.jpg 300w, \/wp-content\/uploads\/2023\/01\/Screenshot_7-768x96.jpg 768w, \/wp-content\/uploads\/2023\/01\/Screenshot_7-1226x153.jpg 1226w, \/wp-content\/uploads\/2023\/01\/Screenshot_7-928x115.jpg 928w, \/wp-content\/uploads\/2023\/01\/Screenshot_7-480x60.jpg 480w, \/wp-content\/uploads\/2023\/01\/Screenshot_7.jpg 1374w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><code>esxcli software profile update -d \"\/vmfs\/volumes\/datastore1\/VMware-ESXi-8.0a-20842819-depot.zip\" -p ESXi-8.0a-20842819-standard  --no-hardware-warning<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2023\/01\/Screenshot_8-1024x683.jpg\" alt=\"\" class=\"wp-image-963\" srcset=\"\/wp-content\/uploads\/2023\/01\/Screenshot_8-1024x683.jpg 1024w, \/wp-content\/uploads\/2023\/01\/Screenshot_8-300x200.jpg 300w, \/wp-content\/uploads\/2023\/01\/Screenshot_8-768x512.jpg 768w, \/wp-content\/uploads\/2023\/01\/Screenshot_8-1226x818.jpg 1226w, \/wp-content\/uploads\/2023\/01\/Screenshot_8-928x619.jpg 928w, \/wp-content\/uploads\/2023\/01\/Screenshot_8-480x320.jpg 480w, \/wp-content\/uploads\/2023\/01\/Screenshot_8.jpg 1367w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Once I reboot my host I was able to see the new version 8.0.0. \ud83d\ude09 <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"497\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2023\/01\/Screenshot_9-1024x497.jpg\" alt=\"\" class=\"wp-image-964\" srcset=\"\/wp-content\/uploads\/2023\/01\/Screenshot_9-1024x497.jpg 1024w, \/wp-content\/uploads\/2023\/01\/Screenshot_9-300x145.jpg 300w, \/wp-content\/uploads\/2023\/01\/Screenshot_9-768x372.jpg 768w, \/wp-content\/uploads\/2023\/01\/Screenshot_9-1536x745.jpg 1536w, \/wp-content\/uploads\/2023\/01\/Screenshot_9-2048x993.jpg 2048w, \/wp-content\/uploads\/2023\/01\/Screenshot_9-1226x595.jpg 1226w, \/wp-content\/uploads\/2023\/01\/Screenshot_9-928x450.jpg 928w, \/wp-content\/uploads\/2023\/01\/Screenshot_9-480x233.jpg 480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><a href=\"\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, I&#8217;ve decided to upgrade my VMware ESXi 7.0.0 to 8.0.0 version via a command-line interface (CLI) that allowed me to quickly download and upgrade my current ESXi host version which currently doesn&#8217;t use a vCenter server and my hosts are without internet access. The first step was to download the latest ESXi patch from [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":117,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/posts\/951"}],"collection":[{"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/comments?post=951"}],"version-history":[{"count":13,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/posts\/951\/revisions"}],"predecessor-version":[{"id":995,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/posts\/951\/revisions\/995"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/media\/117"}],"wp:attachment":[{"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/media?parent=951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/categories?post=951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/tags?post=951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}