Whether you are applying a CPU microcode update through a hardware vendor's BIOS update or an ESXi update/upgrade, verifying the CPU microcode revision within ESXi is not as easy as it could be.
Today, if you wanted to get the current CPU microcode revision from ESXi, you would need to enable SSH and then use the vmware-vsish.html" target="_blank" rel="noopener" style="box-sizing: border-box; background: 0px center; transition: all 0.2s ease-in-out 0s; color: rgb(0, 0, 0); text-decoration-line: none; border-bottom: 1px solid rgb(0, 51, 102); font-weight: 700; padding-bottom: 1px; border-top-color: rgb(0, 51, 102); border-right-color: rgb(0, 51, 102); border-left-color: rgb(0, 51, 102);">vsish interface to retrieve this information by running the following command:
vsish -e cat /hardware/cpu/cpuList/0 | grep "microcode" -A2
While you can retrieve the CPU microcode revision, the method and required interfaces was less than ideal, especially at scale. Given ESXi already exposes a number CPU attributes via the ESXCLI interface, which includes programmatic access when using PowerCLI, I thought it would be a nice feature to also include the CPU microcode revision as part of the output and had filed an internal feature enhancement a few years back.
Today, I am happy to share that the feature I had requested awhile back is now shipping in the latest vSphere 8.0 Update 3 release and can be accessed by using the following existing ESXCLI (local and remote) command:
esxi-in-vsphere-8-0-update-3.html/cpu-microcode-version-vsphere-8-0-update-3-0" data-orig-file="https://i0.wp.com/williamlam.com/wp-content/uploads/2024/06/cpu-microcode-version-vsphere-8.0-update-3-0.png?fit=2064%2C1080&ssl=1" data-orig-size="2064,1080" data-comments-opened="1" data-image-meta="{"aperture":"0","credit":"","camera":"","caption":"","created_timestamp":"0","copyright":"","focal_length":"0","iso":"0","shutter_speed":"0","title":"","orientation":"0"}" data-image-title="cpu-microcode-version-vsphere-8.0-update-3-0" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/williamlam.com/wp-content/uploads/2024/06/cpu-microcode-version-vsphere-8.0-update-3-0.png?fit=300%2C157&ssl=1" data-large-file="https://i0.wp.com/williamlam.com/wp-content/uploads/2024/06/cpu-microcode-version-vsphere-8.0-update-3-0.png?fit=1024%2C536&ssl=1" tabindex="0" role="button" class="alignnone wp-image-186163" src="https://hqyman.cn/zb_users/upload/2024/07/20240703135940_84389.png?fit=1024%2C551&ssl=1" tabindex="0" role="button" class="alignnone wp-image-186164" src="https://i0.wp.com/williamlam.com/wp-content/uploads/2024/06/cpu-microcode-version-vsphere-8.0-update-3-1.png?resize=450%2C242&ssl=1" alt="" width="450" height="242" srcset="https://i0.wp.com/williamlam.com/wp-content/uploads/2024/06/cpu-microcode-version-vsphere-8.0-update-3-1.png?resize=300%2C161&ssl=1 300w, https://i0.wp.com/williamlam.com/wp-content/uploads/2024/06/cpu-microcode-version-vsphere-8.0-update-3-1.png?resize=1024%2C551&ssl=1 1024w, https://i0.wp.com/williamlam.com/wp-content/uploads/2024/06/cpu-microcode-version-vsphere-8.0-update-3-1.png?resize=768%2C413&ssl=1 768w, https://i0.wp.com/williamlam.com/wp-content/uploads/2024/06/cpu-microcode-version-vsphere-8.0-update-3-1.png?resize=1536%2C826&ssl=1 1536w, https://i0.wp.com/williamlam.com/wp-content/uploads/2024/06/cpu-microcode-version-vsphere-8.0-update-3-1.png?resize=2048%2C1101&ssl=1 2048w" sizes="(max-width: 450px) 100vw, 450px" data-recalc-dims="1" style="box-sizing: border-box; border: 0px; max-width: 100%; height: auto; isolation: isolate; margin: 0px 0px 20px;"/>
推荐本站淘宝优惠价购买喜欢的宝贝:
本文链接:https://hqyman.cn/post/6933.html 非本站原创文章欢迎转载,原创文章需保留本站地址!
休息一下~~