Update ESXi from CLI

I was running the base image of ESXi 6.0, and i decided to update it to the latest version

Upgrade the ESXi from CLI it’s really easy, just following the next steps:

  1. Enter ESXi Maintenance mode
  2. Download the update from my.vmware.com (in my case vsphere 6.0 update 3)
  3. Upload to ESXi using Datastore Browser and connect to ESXi via SSH
  4. Install the update via CLI esxcli software vib install -d <path-to-update-file>
  5. Reboot

Note: The updates are cumulative, you just need to download the latest one available under your account

[root@ESXi:~] esxcli software vib install -d /vmfs/volumes/Datastore/update-from-esxi6.0-6.0_update03.zip

Due the nature of operation we are doing, we require a reboot as we can see.

Installation Result
Message: The update completed successfully, but the system needs to be reboot ed for the changes to be effective.
Reboot Required: true
VIBs Installed: VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.600.2.52.4600944, VMwa re_bootbank_elxnet_10.2.309.6v-1vmw.600.0.0.2494585, VMware_bootbank_esx-base_6. 0.0-3.57.5050593, VMware_bootbank_esx-tboot_6.0.0-3.57.5050593, VMware_bootbank_ esx-ui_1.14.0-4940836, VMware_bootbank_ima-qla4xxx_2.02.18-1vmw.600.0.0.2494585, VMware_bootbank_lpfc_10.2.309.8-2vmw.600.0.0.2494585, VMware_bootbank_lsi-mr3_6 .605.08.00-7vmw.600.1.17.3029758, VMware_bootbank_lsi-msgpt3_06.255.12.00-8vmw.6 00.1.17.3029758, VMware_bootbank_lsu-hp-hpsa-plugin_2.0.0-4vmw.600.3.57.5050593, VMware_bootbank_lsu-lsi-lsi-mr3-plugin_1.0.0-3vmw.600.3.57.5050593, VMware_boot bank_lsu-lsi-megaraid-sas-plugin_1.0.0-3vmw.600.3.57.5050593, VMware_bootbank_ls u-lsi-mpt2sas-plugin_1.0.0-4vmw.600.1.17.3029758, VMware_bootbank_misc-cnic-regi ster_1.78.75.v60.7-1vmw.600.0.0.2494585, VMware_bootbank_misc-drivers_6.0.0-3.57 .5050593, VMware_bootbank_net-bnx2_2.2.4f.v60.10-1vmw.600.0.0.2494585, VMware_bo otbank_net-bnx2x_1.78.80.v60.12-1vmw.600.0.0.2494585, VMware_bootbank_net-cnic_1 .78.76.v60.13-2vmw.600.0.0.2494585, VMware_bootbank_net-e1000e_3.2.2.1-2vmw.600. 3.57.5050593, VMware_bootbank_net-igb_5.0.5.1.1-5vmw.600.0.0.2494585, VMware_boo tbank_net-ixgbe_3.7.13.7.14iov-20vmw.600.3.57.5050593, VMware_bootbank_net-nx-ni c_5.0.621-5vmw.600.0.0.2494585, VMware_bootbank_net-tg3_3.131d.v60.4-2vmw.600.1. 26.3380124, VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.600.2.43.4192238, VMware_bo otbank_nvme_1.0e.0.35-1vmw.600.2.34.3620759, VMware_bootbank_qlnativefc_2.1.50.0 -1vmw.600.3.57.5050593, VMware_bootbank_sata-ahci_3.0-26vmw.600.3.57.5050593, VM ware_bootbank_scsi-bnx2fc_1.78.78.v60.8-1vmw.600.0.0.2494585, VMware_bootbank_sc si-bnx2i_2.78.76.v60.8-1vmw.600.0.11.2809209, VMware_bootbank_scsi-hpsa_6.0.0.44 -4vmw.600.0.0.2494585, VMware_bootbank_scsi-mpt2sas_19.00.00.00-1vmw.600.0.0.249 4585, VMware_bootbank_scsi-qla4xxx_5.01.03.2-7vmw.600.0.0.2494585, VMware_bootba nk_vsan_6.0.0-3.57.5050595, VMware_bootbank_vsanhealth_6.0.0-3000000.3.0.3.57.50 50596, VMware_bootbank_xhci-xhci_1.0-3vmw.600.2.52.4600944, VMware_locker_tools- light_6.0.0-3.57.5050593
VIBs Removed: Broadcom_bootbank_misc-cnic-register_1.710.70.v55.1-1OEM.550.0. 0.1331820, Broadcom_bootbank_net-bnx2_2.2.5f.v55.16-1OEM.550.0.0.1331820, Broadc om_bootbank_net-bnx2x_2.710.70.v55.7-1OEM.550.0.0.1331820, Broadcom_bootbank_net -cnic_2.710.70.v55.5-1OEM.550.0.0.1331820, Broadcom_bootbank_net-tg3_3.137d.v55. 1-1OEM.550.0.0.1331820, Broadcom_bootbank_scsi-bnx2fc_1.710.70.v55.3-1OEM.550.0. 0.1331820, Broadcom_bootbank_scsi-bnx2i_2.710.70.v55.6-1OEM.550.0.0.1331820, Emu lex_bootbank_elxnet_10.2.445.0-1OEM.550.0.0.1331820, Emulex_bootbank_lpfc_10.2.4 55.0-1OEM.550.0.0.1331820, Hewlett-Packard_bootbank_scsi-hpsa_5.5.0.84-1OEM.550. 0.0.1331820, Intel_bootbank_net-igb_5.2.7-1OEM.550.0.0.1331820, Intel_bootbank_n et-ixgbe_3.21.4-1OEM.550.0.0.1331820, LSI_bootbank_scsi-mpt2sas_15.10.06.00.1vmw -1OEM.550.0.0.1198610, QLogic_bootbank_ima-qla4xxx_500.2.01.31-1vmw.0.3.100400, QLogic_bootbank_net-nx-nic_5.5.641-1OEM.550.0.0.1331820, QLogic_bootbank_qlnativ efc_1.1.39.0-1OEM.550.0.0.1331820, QLogic_bootbank_scsi-qla4xxx_644.55.35.0-1OEM .550.0.0.1331820, VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.600.0.0.2494585, VMware _bootbank_esx-base_6.0.0-0.0.2494585, VMware_bootbank_esx-tboot_6.0.0-0.0.249458 5, VMware_bootbank_lsi-mr3_6.605.08.00-6vmw.600.0.0.2494585, VMware_bootbank_lsi -msgpt3_06.255.12.00-7vmw.600.0.0.2494585, VMware_bootbank_lsu-hp-hpsa-plugin_1. 0.0-1vmw.600.0.0.2494585, VMware_bootbank_lsu-lsi-lsi-mr3-plugin_1.0.0-1vmw.600. 0.0.2494585, VMware_bootbank_lsu-lsi-megaraid-sas-plugin_1.0.0-1vmw.600.0.0.2494 585, VMware_bootbank_lsu-lsi-mpt2sas-plugin_1.0.0-1vmw.600.0.0.2494585, VMware_b ootbank_misc-drivers_6.0.0-0.0.2494585, VMware_bootbank_net-e1000e_2.5.4-6vmw.60 0.0.0.2494585, VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.600.0.0.2494585, VMware_ bootbank_nvme_1.0e.0.35-1vmw.600.0.0.2494585, VMware_bootbank_sata-ahci_3.0-21vm w.600.0.0.2494585, VMware_bootbank_xhci-xhci_1.0-2vmw.600.0.0.2494585, VMware_lo cker_tools-light_6.0.0-0.0.2494585
VIBs Skipped: VMWARE_bootbank_mtip32xx-native_3.8.5-1vmw.600.0.0.2494585, VMw are_bootbank_ata-pata-amd_0.3.10-3vmw.600.0.0.2494585, VMware_bootbank_ata-pata- atiixp_0.4.6-4vmw.600.0.0.2494585, VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.60 0.0.0.2494585, VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.600.0.0.2494585, VMwa re_bootbank_ata-pata-pdc2027x_1.0-3vmw.600.0.0.2494585, VMware_bootbank_ata-pata -serverworks_0.4.3-3vmw.600.0.0.2494585, VMware_bootbank_ata-pata-sil680_0.4.8-3 vmw.600.0.0.2494585, VMware_bootbank_ata-pata-via_0.3.3-2vmw.600.0.0.2494585, VM ware_bootbank_block-cciss_3.6.14-10vmw.600.0.0.2494585, VMware_bootbank_cpu-micr ocode_6.0.0-0.0.2494585, VMware_bootbank_emulex-esx-elxnetcli_10.2.309.6v-0.0.24 94585, VMware_bootbank_esx-dvfilter-generic-fastpath_6.0.0-0.0.2494585, VMware_b ootbank_esx-xserver_6.0.0-0.0.2494585, VMware_bootbank_ipmi-ipmi-devintf_39.1-4v mw.600.0.0.2494585, VMware_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.600.0.0.24945 85, VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.600.0.0.2494585, VMware_bootbank_ lsu-lsi-lsi-msgpt3-plugin_1.0.0-1vmw.600.0.0.2494585, VMware_bootbank_lsu-lsi-mp tsas-plugin_1.0.0-1vmw.600.0.0.2494585, VMware_bootbank_net-e1000_8.0.3.1-5vmw.6 00.0.0.2494585, VMware_bootbank_net-enic_2.1.2.38-2vmw.600.0.0.2494585, VMware_b ootbank_net-forcedeth_0.61-2vmw.600.0.0.2494585, VMware_bootbank_net-mlx4-core_1 .9.7.0-1vmw.600.0.0.2494585, VMware_bootbank_net-mlx4-en_1.9.7.0-1vmw.600.0.0.24 94585, VMware_bootbank_nmlx4-core_3.0.0.0-1vmw.600.0.0.2494585, VMware_bootbank_ nmlx4-en_3.0.0.0-1vmw.600.0.0.2494585, VMware_bootbank_nmlx4-rdma_3.0.0.0-1vmw.6 00.0.0.2494585, VMware_bootbank_ohci-usb-ohci_1.0-3vmw.600.0.0.2494585, VMware_b ootbank_rste_2.0.2.0088-4vmw.600.0.0.2494585, VMware_bootbank_sata-ata-piix_2.12 -10vmw.600.0.0.2494585, VMware_bootbank_sata-sata-nv_3.5-4vmw.600.0.0.2494585, V Mware_bootbank_sata-sata-promise_2.12-3vmw.600.0.0.2494585, VMware_bootbank_sata -sata-sil24_1.1-1vmw.600.0.0.2494585, VMware_bootbank_sata-sata-sil_2.3-4vmw.600 .0.0.2494585, VMware_bootbank_sata-sata-svw_2.3-3vmw.600.0.0.2494585, VMware_boo tbank_scsi-aacraid_1.1.5.1-9vmw.600.0.0.2494585, VMware_bootbank_scsi-adp94xx_1. 0.8.12-6vmw.600.0.0.2494585, VMware_bootbank_scsi-aic79xx_3.1-5vmw.600.0.0.24945 85, VMware_bootbank_scsi-fnic_1.5.0.45-3vmw.600.0.0.2494585, VMware_bootbank_scs i-ips_7.12.05-4vmw.600.0.0.2494585, VMware_bootbank_scsi-megaraid-mbox_2.20.5.1- 6vmw.600.0.0.2494585, VMware_bootbank_scsi-megaraid-sas_6.603.55.00-2vmw.600.0.0 .2494585, VMware_bootbank_scsi-megaraid2_2.00.4-9vmw.600.0.0.2494585, VMware_boo tbank_scsi-mptsas_4.23.01.00-9vmw.600.0.0.2494585, VMware_bootbank_scsi-mptspi_4 .23.01.00-9vmw.600.0.0.2494585, VMware_bootbank_uhci-usb-uhci_1.0-3vmw.600.0.0.2 494585

After reboot you can check the new version, turn off the maintenance and ready to go!

Leave a Comment

Translate »
Google no longer supports Google Images API and this plugin can't work.

You can try to use other plugins with the same feature:
WP Picasa Box - http://codecanyon.net/item/wp-picasa-box/16099962
WP Pixabay Search And Insert - http://wpclever.net/downloads/wordpress-pixabay-search-and-insert