{"id":125,"date":"2018-09-17T17:40:24","date_gmt":"2018-09-17T15:40:24","guid":{"rendered":"https:\/\/vmoller.dk\/?p=125"},"modified":"2018-09-17T17:46:36","modified_gmt":"2018-09-17T15:46:36","slug":"unable-to-use-htaware-mitigation-tool-on-a-single-esxi-host","status":"publish","type":"post","link":"https:\/\/vmoller.dk\/index.php\/2018\/09\/17\/unable-to-use-htaware-mitigation-tool-on-a-single-esxi-host\/","title":{"rendered":"Unable to use HTAware Mitigation tool on a single ESXi host"},"content":{"rendered":"<p>This blog post is not about the L1 Terminal Fault (L1TF -&gt; <a href=\"https:\/\/kb.vmware.com\/s\/article\/56931\" target=\"_blank\" rel=\"noopener\">VMware KB56931<\/a>) but about the HTAware Mitigation tool version 1.0.0.9 (HTAwareMitigation-1.0.0.9.zip) that seems to have issues when used on single hosts (instead of clusters) \u2013 here is the problem that I have observed.<\/p>\n<p>You run the command:<\/p>\n<blockquote><p>Set-HTAwareMitigationConfig -VMhostName &lt;hostname&gt; -Enable<\/p><\/blockquote>\n<p>Followed by<\/p>\n<blockquote><p>Get-HTAwareMitigationConfig -VMhostName &lt;hostname&gt;<\/p><\/blockquote>\n<div id=\"attachment_127\" style=\"width: 892px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-127\" class=\"wp-image-127 size-full\" style=\"background-color: initial;\" src=\"https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/pic1.jpg\" alt=\"\" width=\"882\" height=\"587\" srcset=\"https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/pic1.jpg 882w, https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/pic1-300x200.jpg 300w, https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/pic1-768x511.jpg 768w\" sizes=\"auto, (max-width: 882px) 100vw, 882px\" \/><p id=\"caption-attachment-127\" class=\"wp-caption-text\">Get-HTAwareMitigationConfig not working on single host<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>As you might see the &#8220;Set-HTAwareMitigationConfig -VMhostname &lt;hostname&gt;&#8221; command doesn&#8217;t seem to do anything!<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<p>Therefore, at this moment a quick fix could be setting the value manually under the host advanced settings:<br \/>\n<strong>VMkernel.Boot.HyperthreadingMitigation = true<\/strong><\/p>\n<div id=\"attachment_126\" style=\"width: 865px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-126\" class=\"wp-image-126 size-full\" style=\"background-color: initial;\" src=\"https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/hyperfix.jpg\" alt=\"\" width=\"855\" height=\"256\" srcset=\"https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/hyperfix.jpg 855w, https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/hyperfix-300x90.jpg 300w, https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/hyperfix-768x230.jpg 768w\" sizes=\"auto, (max-width: 855px) 100vw, 855px\" \/><p id=\"caption-attachment-126\" class=\"wp-caption-text\">VMkernel.Boot.HyperthreadingMitigation setting<\/p><\/div>\n<p>&nbsp;<\/p>\n<p>After that\u00a0the Get-HTAwareMitigationConfig can be used to confirm the setting<\/p>\n<div id=\"attachment_128\" style=\"width: 1261px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-128\" class=\"wp-image-128 size-full\" src=\"https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/pic3.jpg\" alt=\"\" width=\"1251\" height=\"250\" srcset=\"https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/pic3.jpg 1251w, https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/pic3-300x60.jpg 300w, https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/pic3-768x153.jpg 768w, https:\/\/vmoller.dk\/wp-content\/uploads\/2018\/09\/pic3-1024x205.jpg 1024w\" sizes=\"auto, (max-width: 1251px) 100vw, 1251px\" \/><p id=\"caption-attachment-128\" class=\"wp-caption-text\">Get-HTAwareMitigationConfig working!<\/p><\/div>\n<p>&nbsp;<\/p>\n<p><em>So all there is left now to do: reboot!<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>This settings could be done by various scripting tools &#8211; but if you only have a few host the manually way might be the fastest way to go \ud83d\ude42<\/p>\n<p>Feel free to provide your own fix in the comments section bellow!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog post is not about the L1 Terminal Fault (L1TF -&gt; VMware KB56931) but about the HTAware Mitigation tool version 1.0.0.9 (HTAwareMitigation-1.0.0.9.zip) that seems to have issues when used on single hosts (instead of clusters) \u2013 here is the problem that I have observed. You run the command: Set-HTAwareMitigationConfig -VMhostName &lt;hostname&gt; -Enable Followed by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[20,25,6,7],"tags":[23,17,21,4],"class_list":["post-125","post","type-post","status-publish","format-standard","hentry","category-esxi","category-powercli","category-vmware","category-vsphere","tag-esxi","tag-patching","tag-powercli","tag-vsphere"],"_links":{"self":[{"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/posts\/125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/comments?post=125"}],"version-history":[{"count":11,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/posts\/125\/revisions"}],"predecessor-version":[{"id":139,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/posts\/125\/revisions\/139"}],"wp:attachment":[{"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/media?parent=125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/categories?post=125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vmoller.dk\/index.php\/wp-json\/wp\/v2\/tags?post=125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}