r/vmware•
Redditano

Update ESXI 6.0 Cisco UCS custom image with spectre\meltdown patches

Hi,

First time trying to build an updated 6.0 Cisco UCS ESXi installation media \ update zip file, i need some help.

I've downloaded :

  • Vmware-ESXi-6.0.0-5050593-Custom-Cisco-6.0.3.2.zip ( Cisco UCS customised iso from my.vmware.com )
  • ESXi600-201711001.zip ( latest patch to apply onto ESXI 6.0 hosts )

In powerCLI, i've added them as ESXsoftwareDepots:

# Add-EsxSoftwareDepot "C:\VMware\ESXi\Cisco\Vmware-ESXi-6.0.0-5050593-Custom-Cisco-6.0.3.2.zip"
# Add-EsxSoftwareDepot "C:\VMware\ESXi\Cisco\ESXi600-201711001.zip"

I list correctly the software packages contained in them .

# Get-EsxSoftwarePackage

Name                     Version                        Vendor     Creation Date
----                     -------                        ------     -------------
esx-base                 6.0.0-3.76.6856897             VMware     10/10/2017 05...
lsi-mr3                  6.605.08.00-7vmw.600.1.17.3... VMware     31/08/2015 07...
scsi-ips                 7.12.05-4vmw.600.0.0.2494585   VMware     06/02/2015 02...
ehci-ehci-hcd            1.0-4vmw.600.3.69.5572656      VMware     17/05/2017 23...
esx-base                 6.0.0-3.57.5050593             VMware     10/02/2017 07...
xhci-xhci                1.0-3vmw.600.2.52.4600944      VMware     04/11/2016 04...
esx-xserver              6.0.0-3.76.6856897             VMware     10/10/2017 05...
ipmi-ipmi-devintf        39.1-4vmw.600.0.0.2494585      VMware     06/02/2015 02...
sata-sata-sil            2.3-4vmw.600.0.0.2494585       VMware     06/02/2015 02...
sata-sata-promise        2.12-3vmw.600.0.0.2494585      VMware     06/02/2015 02...
net-bnx2x                1.78.80.v60.12-1vmw.600.0.0... VMware     06/02/2015 02...
ipmi-ipmi-devintf        39.1-5vmw.600.3.79.6921384     VMware     18/10/2017 02...
sata-sata-nv             3.5-4vmw.600.0.0.2494585       VMware     06/02/2015 02...
lsu-lsi-lsi-msgpt3-pl... 1.0.0-1vmw.600.0.0.2494585     VMware     06/02/2015 02...
scsi-mptsas              4.23.01.00-9vmw.600.0.0.249... VMware     06/02/2015 02...
esx-ui                   1.22.0-6282878                 VMware     08/08/2017 20...
lsi-msgpt3               06.255.12.00-8vmw.600.1.17.... VMware     31/08/2015 07...
sata-sata-svw            2.3-3vmw.600.0.0.2494585       VMware     06/02/2015 02...
vsan                     6.0.0-3.79.6766495             VMware     29/09/2017 14...
scsi-adp94xx             1.0.8.12-6vmw.600.0.0.2494585  VMware     06/02/2015 02...
esx-tboot                6.0.0-3.57.5050593             VMware     10/02/2017 07...
uhci-usb-uhci            1.0-3vmw.600.0.0.2494585       VMware     06/02/2015 02...
ucs-tool-esxi            1.0.0-1OEM                     Cisco_S... 13/07/2017 22...
cpu-microcode            6.0.0-0.0.2494585              VMware     06/02/2015 02...
scsi-fnic                1.5.0.45-3vmw.600.0.0.2494585  VMware     06/02/2015 02...
ima-be2iscsi             10.0.727.4401-1OEM.550.0.0.... Emulex     22/02/2014 22...
net-igb                  5.2.5-1OEM.550.0.0.1331820     Intel      11/03/2014 00...
scsi-bnx2i               2.78.76.v60.8-1vmw.600.0.11... VMware     11/06/2015 13...
ata-pata-hpt3x2n         0.3.4-3vmw.600.0.0.2494585     VMware     06/02/2015 02...
net-i40e                 1.4.26-1OEM.550.0.0.1331820    Intel      01/02/2016 22...
scsi-bnx2fc              1.78.78.v60.8-1vmw.600.0.0.... VMware     06/02/2015 02...
sata-ahci                3.0-26vmw.600.3.57.5050593     VMware     10/02/2017 07...
vsanhealth               6.0.0-3000000.3.0.3.57.5050596 VMware     10/02/2017 06...
ata-pata-via             0.3.3-2vmw.600.0.0.2494585     VMware     06/02/2015 02...
vsanhealth               6.0.0-3000000.3.0.3.79.6769065 VMware     29/09/2017 21...
scsi-qla4xxx             5.01.03.2-7vmw.600.0.0.2494585 VMware     06/02/2015 02...
misc-drivers             6.0.0-3.79.6921384             VMware     18/10/2017 02...
vsanhealth               6.0.0-3000000.3.0.3.76.6769078 VMware     29/09/2017 21...
rste                     2.0.2.0088-4vmw.600.0.0.249... VMware     06/02/2015 02...
block-cciss              3.6.14-10vmw.600.0.0.2494585   VMware     06/02/2015 02...
xhci-xhci                1.0-3vmw.600.3.69.5572656      VMware     17/05/2017 23...
esx-base                 6.0.0-3.79.6921384             VMware     18/10/2017 02...
scsi-aacraid             6.0.6.2.1.52011-1OEM.600.0.... Adaptec... 06/01/2016 21...
scsi-snic                0.0.1.26-1OEM.600.0.0.2494585  CSCO       09/03/2016 15...
lsu-lsi-lsi-mr3-plugin   1.0.0-3vmw.600.3.57.5050593    VMware     10/02/2017 07...
misc-cnic-register       1.78.75.v60.7-1vmw.600.0.0.... VMware     06/02/2015 02...
ata-pata-sil680          0.4.8-3vmw.600.0.0.2494585     VMware     06/02/2015 02...
net-forcedeth            0.61-2vmw.600.0.0.2494585      VMware     06/02/2015 02...
lsu-lsi-megaraid-sas-... 1.0.0-3vmw.600.3.57.5050593    VMware     10/02/2017 07...
qlnativefc               2.1.50.0-1vmw.600.3.57.5050593 VMware     10/02/2017 07...
net-ixgbe                3.7.13.7.14iov-20vmw.600.3.... VMware     10/02/2017 07...
emulex-esx-elxnetcli     10.2.309.6v-0.0.2494585        VMware     06/02/2015 02...
scsi-be2iscsi            10.0.727.4401-1OEM.550.0.0.... Emulex     22/02/2014 22...
mtip32xx-native          3.8.5-1vmw.600.0.0.2494585     VMWARE     06/02/2015 02...
sata-ata-piix            2.12-10vmw.600.0.0.2494585     VMware     06/02/2015 02...
net-mlx4-core            1.9.7.0-1vmw.600.0.0.2494585   VMware     06/02/2015 02...
net-cnic                 1.78.76.v60.13-2vmw.600.0.0... VMware     06/02/2015 02...
net-mlx4-en              1.9.7.0-1vmw.600.0.0.2494585   VMware     06/02/2015 02...
nmlx4-en                 3.0.0.0-1vmw.600.0.0.2494585   VMware     06/02/2015 02...
ata-pata-cmd64x          0.2.5-3vmw.600.0.0.2494585     VMware     06/02/2015 02...
ipmi-ipmi-msghandler     39.1-4vmw.600.0.0.2494585      VMware     06/02/2015 02...
misc-drivers             6.0.0-3.69.5572656             VMware     17/05/2017 23...
ima-qla4xxx              2.02.18-1vmw.600.0.0.2494585   VMware     06/02/2015 02...
net-tg3                  3.131d.v60.4-2vmw.600.1.26.... VMware     28/12/2015 18...
nvme                     1.0e.0.35-1vmw.600.2.34.362... VMware     04/03/2016 02...
net-e1000e               3.2.2.1-2vmw.600.3.57.5050593  VMware     10/02/2017 07...
lsu-lsi-mpt2sas-plugin   1.0.0-4vmw.600.1.17.3029758    VMware     31/08/2015 07...
nmlx4-core               3.0.0.0-1vmw.600.0.0.2494585   VMware     06/02/2015 02...
esx-xserver              6.0.0-0.0.2494585              VMware     06/02/2015 02...
ata-pata-atiixp          0.4.6-4vmw.600.0.0.2494585     VMware     06/02/2015 02...
lsu-lsi-mptsas-plugin    1.0.0-1vmw.600.0.0.2494585     VMware     06/02/2015 02...
ohci-usb-ohci            1.0-3vmw.600.0.0.2494585       VMware     06/02/2015 02...
ipmi-ipmi-msghandler     39.1-5vmw.600.3.79.6921384     VMware     18/10/2017 02...
lsi-msgpt35              04.00.00.00-1OEM.600.0.0.27... Avago      26/05/2017 18...
ata-pata-serverworks     0.4.3-3vmw.600.0.0.2494585     VMware     06/02/2015 02...
net-nx-nic               5.0.621-5vmw.600.0.0.2494585   VMware     06/02/2015 02...
sata-sata-sil24          1.1-1vmw.600.0.0.2494585       VMware     06/02/2015 02...
vsan                     6.0.0-3.76.6769077             VMware     29/09/2017 21...
ata-pata-amd             0.3.10-3vmw.600.0.0.2494585    VMware     06/02/2015 02...
net-bnx2                 2.2.4f.v60.10-1vmw.600.0.0.... VMware     06/02/2015 02...
tools-light              6.0.0-3.57.5050593             VMware     10/02/2017 07...
scsi-megaraid2           2.00.4-9vmw.600.0.0.2494585    VMware     06/02/2015 02...
scsi-fnic                1.6.0.34-1OEM.600.0.0.2494585  CSCO       21/02/2017 19...
vsan                     6.0.0-3.57.5050595             VMware     10/02/2017 06...
ata-pata-pdc2027x        1.0-3vmw.600.0.0.2494585       VMware     06/02/2015 02...
net-e1000                8.0.3.1-5vmw.600.0.0.2494585   VMware     06/02/2015 02...
nmlx4-rdma               3.0.0.0-1vmw.600.0.0.2494585   VMware     06/02/2015 02...
net-enic                 2.3.0.14-1OEM.600.0.0.2494585  CSCO       19/05/2017 14...
esx-dvfilter-generic-... 6.0.0-3.79.6921384             VMware     18/10/2017 02...
ipmi-ipmi-si-drv         39.1-4vmw.600.0.0.2494585      VMware     06/02/2015 02...
esx-ui                   1.14.0-4940836                 VMware     17/01/2017 14...
lpfc                     10.2.309.8-2vmw.600.0.0.249... VMware     06/02/2015 02...
lpfc                     11.1.145.18-1OEM.600.0.0.27... EMU        13/07/2016 17...
scsi-megaraid-sas        6.603.55.00-2vmw.600.0.0.24... VMware     06/02/2015 02...
net-qlcnic               5.5.164-1OEM.550.0.0.1198611   QLogic     16/07/2013 17...
misc-drivers             6.0.0-3.57.5050593             VMware     10/02/2017 07...
net-igb                  5.0.5.1.1-5vmw.600.0.0.2494585 VMware     06/02/2015 02...
scsi-aacraid             1.1.5.1-9vmw.600.0.0.2494585   VMware     06/02/2015 02...
lsu-hp-hpsa-plugin       2.0.0-4vmw.600.3.57.5050593    VMware     10/02/2017 07...
qlnativefc               2.1.53.0-1OEM.600.0.0.2768847  QLogic     15/11/2016 21...
scsi-mptspi              4.23.01.00-9vmw.600.0.0.249... VMware     06/02/2015 02...
lsi-msgpt3               14.00.03.00-1OEM.600.0.0.27... Avago      21/11/2016 16...
net-qlge                 3.0.0.57-1vmw.550.0.0.1198611  VMware     16/07/2013 17...
net-vmxnet3              1.1.3.0-3vmw.600.2.43.4192238  VMware     30/07/2016 00...
esx-dvfilter-generic-... 6.0.0-0.0.2494585              VMware     06/02/2015 02...
scsi-mpt3sas             06.00.00.00.1vmw-1OEM.550.0... LSI        23/05/2014 10...
scsi-mpt2sas             19.00.00.00-1vmw.600.0.0.24... VMware     06/02/2015 02...
elxnet                   10.2.309.6v-1vmw.600.0.0.24... VMware     06/02/2015 02...
scsi-aic79xx             3.1-5vmw.600.0.0.2494585       VMware     06/02/2015 02...
lsi-mr3                  7.701.14.00-1OEM.600.0.0.27... Avago      14/02/2017 10...
ehci-ehci-hcd            1.0-3vmw.600.2.52.4600944      VMware     04/11/2016 04...
net-ixgbe                4.1.1.1-1OEM.550.0.0.1331820   Intel      27/05/2015 18...
net-enic                 2.1.2.38-2vmw.600.0.0.2494585  VMware     06/02/2015 02...
scsi-megaraid-mbox       2.20.5.1-6vmw.600.0.0.2494585  VMware     06/02/2015 02...
scsi-hpsa                6.0.0.44-4vmw.600.0.0.2494585  VMware     06/02/2015 02...
tools-light              6.0.0-3.76.6856897             VMware     10/10/2017 05...

# Get-EsxImageProfile | Format-Table -AutoSize

Name                                           Vendor       Last Modified       Acceptance Level
----                                           ------       -------------       ----------------
ESXi-6.0.0-20171101001s-standard               VMware, Inc. 18/10/2017 07:00:11 PartnerSupported
ESXi-6.0.0-20171101001s-no-tools               VMware, Inc. 18/10/2017 07:00:11 PartnerSupported
ESXi-6.0.0-20171104001-no-tools                VMware, Inc. 18/10/2017 07:00:11 PartnerSupported
Vmware-ESXi-6.0.0-5050593-Custom-Cisco-6.0.3.2 CISCO        25/07/2017 17:47:59 PartnerSupported
ESXi-6.0.0-20171104001-standard                VMware, Inc. 18/10/2017 07:00:11 PartnerSupported

Next, i've cloned the latest -standard image profile provided by VMware:

# New-EsxImageProfile -CloneProfile ESXi-6.0.0-20171104001-standard -name Vmware-ESXi-6.0.0_Spectre_Meltdown_patched

and updated the vibs with the newest from the software packages available ( https://blogs.vmware.com/vsphere/2017/05/apply-latest-vmware-esxi-security-patches-oem-custom-images-visualize-differences.html ) .

# Set-ESXImageProfile Vmware-ESXi-6.0.0_Spectre_Meltdown_patched -SoftwarePackage  (Get-ESXSoftwarePackage -Newest )

Exported to a zip\iso file to be used with update manager .

# Export-EsxImageProfile Vmware-ESXi-6.0.0_Spectre_Meltdown_patched -FilePath "C:\VMware\ESXi\Cisco\Vmware-ESXi-6.0.0_Spectre_Meltdown_patched.iso" -ExportToIso

# Export-EsxImageProfile Vmware-ESXi-6.0.0_Spectre_Meltdown_patched -FilePath "C:\VMware\ESXi\Cisco\Vmware-ESXi-6.0.0_Spectre_Meltdown_patched.zip" -ExportTobundle

Did i made the right steps or did i miss something ?

Posted Jan 8, 2018, 3:05 PM UTC · edited

68
-sergei-•

FYI, Vmware-ESXi-6.0.0-5050593-Custom-Cisco-6.0.3.3.zip is out today

 

I'd suggest running the following to confirm your new image profile contains all the vibs you want:

$img = Get-EsxImageProfile Vmware-ESXi-6.0.0_Spectre_Meltdown_patched

$img.vibList

2
RedditanoOP•

thanks, i saw that minutes ago.

no spectre \ meltdown reference in the release notes, i will see via image builder if the esx-base is updated to the latest build.

1
bongthegoat•

Looks right to me.

1
mooneye14•

Still need to install Cisco firmware updates right?

https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180104-cpusidechannel

Under affected products are all the UCS servers and a patch release date of Feb 18.

1
telecomguy•

Does it matter what order this is done in? Can I do the ESXi updates now and the BIOS after the fact? Or should the BIOS be done before the ESXi patches?

1
mooneye14•

I have not seen anything say you need a specific order. The firmware is necessary for windows patches to work 100%. And the regkey entries necessary to turn on the protection against Meltdown. We were joking it was nice of them to have that registry switch so we can turn off the Meltdown fix and turbo boost our vms again for end of the month reporting.

1
telecomguy•

Thanks, I hadn't seen anything either. We're running UC on UCS, so I'm not sure what Cisco is going to do about the UC apps, but I'm pretty sure we're going to have to upgrade those as well.

1
mooneye14•
1