{"id":1406,"date":"2017-03-03T15:39:22","date_gmt":"2017-03-03T15:39:22","guid":{"rendered":"http:\/\/www.michaelm.info\/blog\/?p=1406"},"modified":"2017-03-03T15:39:22","modified_gmt":"2017-03-03T15:39:22","slug":"upgrade-vm-to-hardware-version-other-than-latest","status":"publish","type":"post","link":"http:\/\/www.michaelm.info\/blog\/?p=1406","title":{"rendered":"Upgrade VM to hardware version other than latest"},"content":{"rendered":"<p>Upgrading a VM&#8217;s VMware hardware version to the latest version is generally considered best practice. This is easy to do via the C# client or the web-client. If you wish to upgrade to a newer, but not latest, hardware version this can be tricky.<\/p>\n<p>As highlighted in\u00a0<a href=\"https:\/\/www.v-front.de\/2014\/02\/how-to-uprade-your-vms-virtual-hardware.html\" target=\"_blank\">https:\/\/www.v-front.de\/2014\/02\/how-to-uprade-your-vms-virtual-hardware.html<\/a>, one easy way to do so is as follows on the ESXi host in question:<\/p>\n<pre>vim-cmd vmsvc\/upgrade <i>vmid<\/i> vmx-10<\/pre>\n<p>where <em>vmid<\/em> is determined using something like:<\/p>\n<pre>vim-cmd vmsvc\/getallvms|awk '{print $1 \" \u00a0\"$2\" \"$6}'<\/pre>\n<p>The appropriate hardware version can be selected from a useful <a href=\"https:\/\/kb.vmware.com\/selfservice\/microsites\/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1003746\" target=\"_blank\">VMware Virtual Machine Hardware Versions KB<\/a>. The recent relevant versions are:<\/p>\n<blockquote><p>vmx-13: ESXi 6.5<\/p>\n<p>vmx-12: Workstation Pro 12.x<\/p>\n<p>vmx-11: ESXi 6.0 \/ Workstation 11.x<\/p>\n<p>vmx-10: ESXi 5.5 \/ Workstation 10.x<\/p>\n<p>vmx-9: ESXi 5.1 \/ Workstation 9.x<\/p>\n<p>vmx-8: ESXi 5.0 \/ Workstation 8.x<\/p>\n<p>vmx-7: ESXi\/ESX 4.x<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Upgrading a VM&#8217;s VMware hardware version to the latest version is generally considered best practice. This is easy to do via the C# client or the web-client. If you wish to upgrade to a newer, but not latest, hardware version this can be tricky. As highlighted in\u00a0https:\/\/www.v-front.de\/2014\/02\/how-to-uprade-your-vms-virtual-hardware.html, one easy way to do so is as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[54,257],"class_list":["post-1406","post","type-post","status-publish","format-standard","hentry","category-technical","tag-info","tag-vmware"],"_links":{"self":[{"href":"http:\/\/www.michaelm.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.michaelm.info\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.michaelm.info\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.michaelm.info\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.michaelm.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1406"}],"version-history":[{"count":1,"href":"http:\/\/www.michaelm.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1406\/revisions"}],"predecessor-version":[{"id":1407,"href":"http:\/\/www.michaelm.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1406\/revisions\/1407"}],"wp:attachment":[{"href":"http:\/\/www.michaelm.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.michaelm.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1406"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.michaelm.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}