Обновление VMware vSphere Hypervisor ESXi 5.x до 6.0
В Интернете множество заметок на тему обновления VMware vSphere Hypervisor ESXi 5.1 до 5.5 (и до 6.0), но все они разрознены и не достаточно полно описывают процесс обновления, по этой причине я решил написать более развёрнутую статью (в большей степени для себя, что бы не забыть в будущем, т.к. работаю с ESXi не так часто).
В статье будет описан процесс обновления ESXi 5.1 до 5.5, установка update’ов, а также обновление до ESXi 6.0.
1)Включаем SSH сервис
Обновление будем производить через esxcli.
Переходим на вкладку «Configuration», выбираем пункт «Security Profile» и нажимаем «Properties»:
Выбираем сервис SSH и нажимаем «Options»:
Устанавливаем режим запуска сервиса SSH на ESXi и включаем его кнопкой Start:
После включения SSH на ESXi 5.1 появятся следующие предупреждения в vSphere Client для хоста:
2)Выключаем все VM
Перед работой необходимо выключить все виртуальные машины и на всякий случай забекапить их. Данный процесс я описывать не буду, думаю все и так это знают как делать.
3)Процесс обновления до ESXi 5.5
Подключаемся SSH клиентом к ESXi
В роли SSH клиента можно использовать Putty
Переводим ESXi в maintenance mode:
1 |
esxcli system maintenanceMode set --enable on |
Выполняем настройку правил firewall для httpClient:
1 |
esxcli network firewall ruleset set -e true -r httpClient |
Далее, выполним ниже приведенную команду, мы посмотрим какие обновления нам доступны. Нам необходимо найти последнюю из доступных версий с надписью «-standart» в конце.
1 |
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-5.5 |
Примерный результат выполнения команды:
1 2 3 4 5 6 7 8 9 10 |
ESXi-5.5.0-20140301001s-no-tools VMware, Inc. PartnerSupported ESXi-5.5.0-20131204001-no-tools VMware, Inc. PartnerSupported ESXi-5.5.0-20131201001s-standard VMware, Inc. PartnerSupported ESXi-5.5.0-1331820-standard VMware, Inc. PartnerSupported ESXi-5.5.0-1331820-no-tools VMware, Inc. PartnerSupported ESXi-5.5.0-20131204001-standard VMware, Inc. PartnerSupported ESXi-5.5.0-20140302001-no-tools VMware, Inc. PartnerSupported ESXi-5.5.0-20140301001s-standard VMware, Inc. PartnerSupported ESXi-5.5.0-20131201001s-no-tools VMware, Inc. PartnerSupported ESXi-5.5.0-20140302001-standard VMware, Inc. PartnerSupported |
Нас интересует: ESXi-5.5.0-20140302001-standard. На момент написания статьи это самая новая версия ESXi: ESXi 5.5 Update 1 (1623387)
Выполняем команду для загрузки и установки обновления:
1 |
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-20140302001-standard |
Результат работы команды:
1 2 3 4 5 6 7 |
Update Result Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective. Reboot Required: true VIBs Installed: VMware_bootbank_esx-base_5.5.0-1.15.1623387, VMware_bootbank_lsi-msgpt3_00.255.03.03-1vmw.550.1.15.1623387, VMware_bootbank_misc-drivers_5.5.0-0.7.1474526, VMware_bootbank_mtip32xx-native_3.3.4-1vmw.550.1.15.1623387, VMware_bootbank_net-e1000e_1.1.2-4vmw.550.1.15.1623387, VMware_bootbank_net-igb_5.0.5.1.1-1vmw.550.1.15.1623387, VMware_bootbank_net-tg3_3.123c.v55.5-1vmw.550.1.15.1623387, VMware_bootbank_rste_2.0.2.0088-4vmw.550.1.15.1623387, VMware_bootbank_sata-ahci_3.0-18vmw.550.1.15.1623387, VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.1.15.1623387, VMware_bootbank_scsi-mpt2sas_14.00.00.00-3vmw.550.1.15.1623387, VMware_locker_tools-light_5.5.0-1.15.1623387 VIBs Removed: VMware_bootbank_esx-base_5.5.0-0.0.1331820, VMware_bootbank_lsi-msgpt3_00.255.03.03-1vmw.550.0.0.1331820, VMware_bootbank_misc-drivers_5.5.0-0.0.1331820, VMware_bootbank_mtip32xx-native_3.3.4-1vmw.550.0.0.1331820, VMware_bootbank_net-e1000e_1.1.2-4vmw.550.0.0.1331820, VMware_bootbank_net-igb_2.1.11.1-4vmw.550.0.0.1331820, VMware_bootbank_net-tg3_3.123c.v55.5-1vmw.550.0.0.1331820, VMware_bootbank_rste_2.0.2.0088-4vmw.550.0.0.1331820, VMware_bootbank_sata-ahci_3.0-17vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.0.0.1331820, VMware_bootbank_scsi-mpt2sas_14.00.00.00-3vmw.550.0.0.1331820, VMware_locker_tools-light_5.5.0-0.0.1331820 VIBs Skipped: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-atiixp_0.4.6-4vmw.550.0.0.1331820, VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-pdc2027x_1.0-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-serverworks_0.4.3-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-sil680_0.4.8-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-via_0.3.3-2vmw.550.0.0.1331820, VMware_bootbank_block-cciss_3.6.14-10vmw.550.0.0.1331820, VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.550.0.0.1331820, VMware_bootbank_elxnet_10.0.100.0v-1vmw.550.0.0.1331820, VMware_bootbank_esx-dvfilter-generic-fastpath_5.5.0-0.0.1331820, VMware_bootbank_esx-tboot_5.5.0-0.0.1331820, VMware_bootbank_esx-xlibs_5.5.0-0.0.1331820, VMware_bootbank_esx-xserver_5.5.0-0.0.1331820, VMware_bootbank_ima-qla4xxx_2.01.31-1vmw.550.0.0.1331820, VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.550.0.0.1331820, VMware_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.550.0.0.1331820, VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.550.0.0.1331820, VMware_bootbank_lpfc_10.0.100.1-1vmw.550.0.0.1331820, VMware_bootbank_lsi-mr3_0.255.03.01-1vmw.550.0.0.1331820, VMware_bootbank_misc-cnic-register_1.72.1.v50.1i-1vmw.550.0.0.1331820, VMware_bootbank_net-be2net_4.6.100.0v-1vmw.550.0.0.1331820, VMware_bootbank_net-bnx2_2.2.3d.v55.2-1vmw.550.0.0.1331820, VMware_bootbank_net-bnx2x_1.72.56.v55.2-1vmw.550.0.0.1331820, VMware_bootbank_net-cnic_1.72.52.v55.1-1vmw.550.0.0.1331820, VMware_bootbank_net-e1000_8.0.3.1-3vmw.550.0.0.1331820, VMware_bootbank_net-enic_1.4.2.15a-1vmw.550.0.0.1331820, VMware_bootbank_net-forcedeth_0.61-2vmw.550.0.0.1331820, VMware_bootbank_net-ixgbe_3.7.13.7.14iov-11vmw.550.0.0.1331820, VMware_bootbank_net-mlx4-core_1.9.7.0-1vmw.550.0.0.1331820, VMware_bootbank_net-mlx4-en_1.9.7.0-1vmw.550.0.0.1331820, VMware_bootbank_net-nx-nic_5.0.621-1vmw.550.0.0.1331820, VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.550.0.0.1331820, VMware_bootbank_ohci-usb-ohci_1.0-3vmw.550.0.0.1331820, VMware_bootbank_qlnativefc_1.0.12.0-1vmw.550.0.0.1331820, VMware_bootbank_sata-ata-piix_2.12-9vmw.550.0.0.1331820, VMware_bootbank_sata-sata-nv_3.5-4vmw.550.0.0.1331820, VMware_bootbank_sata-sata-promise_2.12-3vmw.550.0.0.1331820, VMware_bootbank_sata-sata-sil24_1.1-1vmw.550.0.0.1331820, VMware_bootbank_sata-sata-sil_2.3-4vmw.550.0.0.1331820, VMware_bootbank_sata-sata-svw_2.3-3vmw.550.0.0.1331820, VMware_bootbank_scsi-aacraid_1.1.5.1-9vmw.550.0.0.1331820, VMware_bootbank_scsi-adp94xx_1.0.8.12-6vmw.550.0.0.1331820, VMware_bootbank_scsi-aic79xx_3.1-5vmw.550.0.0.1331820, VMware_bootbank_scsi-bnx2fc_1.72.53.v55.1-1vmw.550.0.0.1331820, VMware_bootbank_scsi-bnx2i_2.72.11.v55.4-1vmw.550.0.0.1331820, VMware_bootbank_scsi-fnic_1.5.0.4-1vmw.550.0.0.1331820, VMware_bootbank_scsi-hpsa_5.5.0-44vmw.550.0.0.1331820, VMware_bootbank_scsi-ips_7.12.05-4vmw.550.0.0.1331820, VMware_bootbank_scsi-lpfc820_8.2.3.1-129vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid-mbox_2.20.5.1-6vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid2_2.00.4-9vmw.550.0.0.1331820, VMware_bootbank_scsi-mptsas_4.23.01.00-9vmw.550.0.0.1331820, VMware_bootbank_scsi-mptspi_4.23.01.00-9vmw.550.0.0.1331820, VMware_bootbank_scsi-qla2xxx_902.k1.1-9vmw.550.0.0.1331820, VMware_bootbank_scsi-qla4xxx_5.01.03.2-6vmw.550.0.0.1331820, VMware_bootbank_uhci-usb-uhci_1.0-3vmw.550.0.0.1331820 |
Перезагружаем гипервизор:
1 |
esxcli system shutdown reboot -r "Upgrade to ESXi 5.5" |
После перезагрузки проверяем версию гипервизора:
После перезагрузки необходимо опять включить SSH сервис.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
# vmware -vl VMware ESXi 5.5.0 build-1623387 VMware ESXi 5.5.0 Update 1 # esxcli software vib list Name Version Vendor Acceptance Level Install Date ----------------------------- ------------------------------------ ------ ---------------- ------------ ata-pata-amd 0.3.10-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 ata-pata-atiixp 0.4.6-4vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 ata-pata-cmd64x 0.2.5-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 ata-pata-hpt3x2n 0.3.4-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 ata-pata-pdc2027x 1.0-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 ata-pata-serverworks 0.4.3-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 ata-pata-sil680 0.4.8-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 ata-pata-via 0.3.3-2vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 block-cciss 3.6.14-10vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 ehci-ehci-hcd 1.0-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 elxnet 10.0.100.0v-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 esx-base 5.5.0-1.15.1623387 VMware VMwareCertified 2014-04-03 esx-dvfilter-generic-fastpath 5.5.0-0.0.1331820 VMware VMwareCertified 2014-04-03 esx-tboot 5.5.0-0.0.1331820 VMware VMwareCertified 2014-04-03 esx-xlibs 5.5.0-0.0.1331820 VMware VMwareCertified 2014-04-03 esx-xserver 5.5.0-0.0.1331820 VMware VMwareCertified 2014-04-03 ima-qla4xxx 2.01.31-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 ipmi-ipmi-devintf 39.1-4vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 ipmi-ipmi-msghandler 39.1-4vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 ipmi-ipmi-si-drv 39.1-4vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 lpfc 10.0.100.1-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 lsi-mr3 0.255.03.01-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 lsi-msgpt3 00.255.03.03-1vmw.550.1.15.1623387 VMware VMwareCertified 2014-04-03 misc-cnic-register 1.72.1.v50.1i-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 misc-drivers 5.5.0-0.7.1474526 VMware VMwareCertified 2014-04-03 mtip32xx-native 3.3.4-1vmw.550.1.15.1623387 VMware VMwareCertified 2014-04-03 net-be2net 4.6.100.0v-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 net-bnx2 2.2.3d.v55.2-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 net-bnx2x 1.72.56.v55.2-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 net-cnic 1.72.52.v55.1-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 net-e1000 8.0.3.1-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 net-e1000e 1.1.2-4vmw.550.1.15.1623387 VMware VMwareCertified 2014-04-03 net-enic 1.4.2.15a-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 net-forcedeth 0.61-2vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 net-igb 5.0.5.1.1-1vmw.550.1.15.1623387 VMware VMwareCertified 2014-04-03 net-ixgbe 3.7.13.7.14iov-11vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 net-mlx4-core 1.9.7.0-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 net-mlx4-en 1.9.7.0-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 net-nx-nic 5.0.621-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 net-r8168 8.013.00-3vmw.510.0.0.799733 VMware VMwareCertified 2013-07-22 net-r8169 6.011.00-2vmw.510.0.0.799733 VMware VMwareCertified 2013-07-22 net-s2io 2.1.4.13427-3vmw.510.0.0.799733 VMware VMwareCertified 2013-07-22 net-sky2 1.20-2vmw.510.0.0.799733 VMware VMwareCertified 2013-07-22 net-tg3 3.123c.v55.5-1vmw.550.1.15.1623387 VMware VMwareCertified 2014-04-03 net-vmxnet3 1.1.3.0-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 ohci-usb-ohci 1.0-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 qlnativefc 1.0.12.0-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 rste 2.0.2.0088-4vmw.550.1.15.1623387 VMware VMwareCertified 2014-04-03 sata-ahci 3.0-18vmw.550.1.15.1623387 VMware VMwareCertified 2014-04-03 sata-ata-piix 2.12-9vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 sata-sata-nv 3.5-4vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 sata-sata-promise 2.12-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 sata-sata-sil24 1.1-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 sata-sata-sil 2.3-4vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 sata-sata-svw 2.3-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-aacraid 1.1.5.1-9vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-adp94xx 1.0.8.12-6vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-aic79xx 3.1-5vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-bnx2fc 1.72.53.v55.1-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-bnx2i 2.72.11.v55.4-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-fnic 1.5.0.4-1vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-hpsa 5.5.0-44vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-ips 7.12.05-4vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-lpfc820 8.2.3.1-129vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-megaraid-mbox 2.20.5.1-6vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-megaraid-sas 5.34-9vmw.550.1.15.1623387 VMware VMwareCertified 2014-04-03 scsi-megaraid2 2.00.4-9vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-mpt2sas 14.00.00.00-3vmw.550.1.15.1623387 VMware VMwareCertified 2014-04-03 scsi-mptsas 4.23.01.00-9vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-mptspi 4.23.01.00-9vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-qla2xxx 902.k1.1-9vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 scsi-qla4xxx 5.01.03.2-6vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 uhci-usb-uhci 1.0-3vmw.550.0.0.1331820 VMware VMwareCertified 2014-04-03 tools-light 5.5.0-1.15.1623387 VMware VMwareCertified 2014-04-03 |
Обязательно необходимо выйти из maintenance mode, иначе не будет возможности запустить VM
1 |
esxcli system maintenanceMode set --enable off |
Обновление до ESXi 5.5 Update 2
Выше указанным образом, можно устанавливать обновления (Update)
Выполняем команды описанные выше
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
~ # esxcli system maintenanceMode set --enable on ~ # esxcli network firewall ruleset set -e true -r httpClient ~ # esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-5.5 | grep 2015 ESXi-5.5.0-20150104001-no-tools VMware, Inc. PartnerSupported ESXi-5.5.0-20150204001-standard VMware, Inc. PartnerSupported ESXi-5.5.0-20150101001s-no-tools VMware, Inc. PartnerSupported ESXi-5.5.0-20150204001-no-tools VMware, Inc. PartnerSupported ESXi-5.5.0-20150104001-standard VMware, Inc. PartnerSupported ESXi-5.5.0-20150101001s-standard VMware, Inc. PartnerSupported ~ # esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-20150204001-standard Update Result Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective. Reboot Required: true VIBs Installed: VMware_bootbank_esx-base_5.5.0-2.55.2456374, VMware_bootbank_esx-tboot_5.5.0-2.33.2068190, VMware_bootbank_lsi-mr3_0.255.03.01-2vmw.550.1.16.1746018, VMware_bootbank_misc-drivers_5.5.0-2.54.2403361, VMware_bootbank_net-igb_5.0.5.1.1-1vmw.550.2.54.2403361, VMware_bootbank_net-tg3_3.123c.v55.5-1vmw.550.2.33.2068190, VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.550.2.39.2143827, VMware_bootbank_sata-ahci_3.0-21vmw.550.2.54.2403361, VMware_bootbank_sata-ata-piix_2.12-10vmw.550.2.33.2068190, VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.2.33.2068190, VMware_bootbank_xhci-xhci_1.0-2vmw.550.2.39.2143827, VMware_locker_tools-light_5.5.0-2.54.2403361 VIBs Removed: VMware_bootbank_esx-base_5.5.0-1.15.1623387, VMware_bootbank_esx-tboot_5.5.0-0.0.1331820, VMware_bootbank_lsi-mr3_0.255.03.01-1vmw.550.0.0.1331820, VMware_bootbank_misc-drivers_5.5.0-0.7.1474526, VMware_bootbank_net-igb_5.0.5.1.1-1vmw.550.1.15.1623387, VMware_bootbank_net-tg3_3.123c.v55.5-1vmw.550.1.15.1623387, VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.550.0.0.1331820, VMware_bootbank_sata-ahci_3.0-18vmw.550.1.15.1623387, VMware_bootbank_sata-ata-piix_2.12-9vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.1.15.1623387, VMware_locker_tools-light_5.5.0-1.15.1623387 VIBs Skipped: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-atiixp_0.4.6-4vmw.550.0.0.1331820, VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-pdc2027x_1.0-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-serverworks_0.4.3-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-sil680_0.4.8-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-via_0.3.3-2vmw.550.0.0.1331820, VMware_bootbank_block-cciss_3.6.14-10vmw.550.0.0.1331820, VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.550.0.0.1331820, VMware_bootbank_elxnet_10.0.100.0v-1vmw.550.0.0.1331820, VMware_bootbank_esx-dvfilter-generic-fastpath_5.5.0-0.0.1331820, VMware_bootbank_esx-xlibs_5.5.0-0.0.1331820, VMware_bootbank_esx-xserver_5.5.0-0.0.1331820, VMware_bootbank_ima-qla4xxx_2.01.31-1vmw.550.0.0.1331820, VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.550.0.0.1331820, VMware_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.550.0.0.1331820, VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.550.0.0.1331820, VMware_bootbank_lpfc_10.0.100.1-1vmw.550.0.0.1331820, VMware_bootbank_lsi-msgpt3_00.255.03.03-1vmw.550.1.15.1623387, VMware_bootbank_misc-cnic-register_1.72.1.v50.1i-1vmw.550.0.0.1331820, VMware_bootbank_mtip32xx-native_3.3.4-1vmw.550.1.15.1623387, VMware_bootbank_net-be2net_4.6.100.0v-1vmw.550.0.0.1331820, VMware_bootbank_net-bnx2_2.2.3d.v55.2-1vmw.550.0.0.1331820, VMware_bootbank_net-bnx2x_1.72.56.v55.2-1vmw.550.0.0.1331820, VMware_bootbank_net-cnic_1.72.52.v55.1-1vmw.550.0.0.1331820, VMware_bootbank_net-e1000_8.0.3.1-3vmw.550.0.0.1331820, VMware_bootbank_net-e1000e_1.1.2-4vmw.550.1.15.1623387, VMware_bootbank_net-enic_1.4.2.15a-1vmw.550.0.0.1331820, VMware_bootbank_net-forcedeth_0.61-2vmw.550.0.0.1331820, VMware_bootbank_net-ixgbe_3.7.13.7.14iov-11vmw.550.0.0.1331820, VMware_bootbank_net-mlx4-core_1.9.7.0-1vmw.550.0.0.1331820, VMware_bootbank_net-mlx4-en_1.9.7.0-1vmw.550.0.0.1331820, VMware_bootbank_net-nx-nic_5.0.621-1vmw.550.0.0.1331820, VMware_bootbank_ohci-usb-ohci_1.0-3vmw.550.0.0.1331820, VMware_bootbank_qlnativefc_1.0.12.0-1vmw.550.0.0.1331820, VMware_bootbank_rste_2.0.2.0088-4vmw.550.1.15.1623387, VMware_bootbank_sata-sata-nv_3.5-4vmw.550.0.0.1331820, VMware_bootbank_sata-sata-promise_2.12-3vmw.550.0.0.1331820, VMware_bootbank_sata-sata-sil24_1.1-1vmw.550.0.0.1331820, VMware_bootbank_sata-sata-sil_2.3-4vmw.550.0.0.1331820, VMware_bootbank_sata-sata-svw_2.3-3vmw.550.0.0.1331820, VMware_bootbank_scsi-aacraid_1.1.5.1-9vmw.550.0.0.1331820, VMware_bootbank_scsi-adp94xx_1.0.8.12-6vmw.550.0.0.1331820, VMware_bootbank_scsi-aic79xx_3.1-5vmw.550.0.0.1331820, VMware_bootbank_scsi-bnx2fc_1.72.53.v55.1-1vmw.550.0.0.1331820, VMware_bootbank_scsi-bnx2i_2.72.11.v55.4-1vmw.550.0.0.1331820, VMware_bootbank_scsi-fnic_1.5.0.4-1vmw.550.0.0.1331820, VMware_bootbank_scsi-hpsa_5.5.0-44vmw.550.0.0.1331820, VMware_bootbank_scsi-ips_7.12.05-4vmw.550.0.0.1331820, VMware_bootbank_scsi-lpfc820_8.2.3.1-129vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid-mbox_2.20.5.1-6vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid2_2.00.4-9vmw.550.0.0.1331820, VMware_bootbank_scsi-mpt2sas_14.00.00.00-3vmw.550.1.15.1623387, VMware_bootbank_scsi-mptsas_4.23.01.00-9vmw.550.0.0.1331820, VMware_bootbank_scsi-mptspi_4.23.01.00-9vmw.550.0.0.1331820, VMware_bootbank_scsi-qla2xxx_902.k1.1-9vmw.550.0.0.1331820, VMware_bootbank_scsi-qla4xxx_5.01.03.2-6vmw.550.0.0.1331820, VMware_bootbank_uhci-usb-uhci_1.0-3vmw.550.0.0.1331820 ~ # esxcli system shutdown reboot -r "Upgrade to ESXi 5.5 U" |
После перезагрузки ESXi
1 2 3 4 5 |
~ # vmware -vl VMware ESXi 5.5.0 build-2456374 VMware ESXi 5.5.0 Update 2 ~ # esxcli system maintenanceMode set --enable off |
Не забываем обновить VMware vSphere Client!
Обновление до ESXi 6.0 Update 1 (VMware vSphere Hypervisor 6.0)
Судя по документации, напрямую можно обновить до версии ESXi 6.0 с версий 5.0, 5.1 и 5.5.
You can upgrade ESXi 5.0.x, ESXi 5.1.x, and ESXi 5.5.x hosts directly to ESXi 6.0
Я обновлял с версии ESXi 5.5U2.
Обновление на ESXi 6.0 происходит по той же схеме, что и обновление на 5.5 и U2. Единственное отличие в том, что нужен новый бесплатный лицензионный ключ, но об этом ниже.
Выполняем команды описанные выше
1 2 3 4 5 |
Список profile фильтруется по двум критериям: grep ESXi-6 и grep 201511 grep 201511 — говорит о том, что мне нужен профиль за 11ый месяц. Думаю в будущем будут и новые профили, так что вам, можно опустить этот фильтр. Пусть выводит все профили esxi-6, а вы уже выбирайте самый свежий. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
~ # esxcli system maintenanceMode set --enable on ~ # esxcli network firewall ruleset set -e true -r httpClient ~ # esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-6 | grep 201511 ESXi-6.0.0-20151104001-no-tools VMware, Inc. PartnerSupported ESXi-6.0.0-20151104001-standard VMware, Inc. PartnerSupported ~ # esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.0.0-20151104001-standard Update Result Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective. Reboot Required: true VIBs Installed: VMWARE_bootbank_mtip32xx-native_3.8.5-1vmw.600.0.0.2494585, VMware_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.600.0.0.2494585, VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.600.0.0.2494585, VMware_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-3vmw.600.0.0.2494585, VMware_bootbank_ata-pata-via_0.3.3-2vmw.600.0.0.2494585, VMware_bootbank_block-cciss_3.6.14-10vmw.600.0.0.2494585, VMware_bootbank_cpu-microcode_6.0.0-0.0.2494585, VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.600.0.0.2494585, VMware_bootbank_elxnet_10.2.309.6v-1vmw.600.0.0.2494585, VMware_bootbank_emulex-esx-elxnetcli_10.2.309.6v-0.0.2494585, VMware_bootbank_esx-base_6.0.0-1.22.3247720, VMware_bootbank_esx-dvfilter-generic-fastpath_6.0.0-0.0.2494585, VMware_bootbank_esx-tboot_6.0.0-0.0.2494585, VMware_bootbank_esx-xserver_6.0.0-0.0.2494585, VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.600.0.0.2494585, VMware_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.600.0.0.2494585, VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.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.600.1.17.3029758, VMware_bootbank_lsu-hp-hpsa-plugin_1.0.0-1vmw.600.0.0.2494585, VMware_bootbank_lsu-lsi-lsi-mr3-plugin_1.0.0-2vmw.600.0.11.2809209, VMware_bootbank_lsu-lsi-lsi-msgpt3-plugin_1.0.0-1vmw.600.0.0.2494585, VMware_bootbank_lsu-lsi-megaraid-sas-plugin_1.0.0-2vmw.600.0.11.2809209, VMware_bootbank_lsu-lsi-mpt2sas-plugin_1.0.0-4vmw.600.1.17.3029758, VMware_bootbank_lsu-lsi-mptsas-plugin_1.0.0-1vmw.600.0.0.2494585, VMware_bootbank_misc-drivers_6.0.0-1.17.3029758, VMware_bootbank_net-e1000_8.0.3.1-5vmw.600.0.0.2494585, VMware_bootbank_net-e1000e_2.5.4-6vmw.600.0.0.2494585, VMware_bootbank_net-enic_2.1.2.38-2vmw.600.0.0.2494585, VMware_bootbank_net-forcedeth_0.61-2vmw.600.0.0.2494585, VMware_bootbank_net-igb_5.0.5.1.1-5vmw.600.0.0.2494585, VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.600.0.0.2494585, 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.600.0.0.2494585, VMware_bootbank_nvme_1.0e.0.35-1vmw.600.1.17.3029758, VMware_bootbank_ohci-usb-ohci_1.0-3vmw.600.0.0.2494585, VMware_bootbank_qlnativefc_2.0.12.0-5vmw.600.0.0.2494585, VMware_bootbank_rste_2.0.2.0088-4vmw.600.0.0.2494585, VMware_bootbank_sata-ahci_3.0-22vmw.600.1.17.3029758, VMware_bootbank_sata-ata-piix_2.12-10vmw.600.0.0.2494585, VMware_bootbank_sata-sata-nv_3.5-4vmw.600.0.0.2494585, VMware_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_bootbank_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.2494585, VMware_bootbank_scsi-fnic_1.5.0.45-3vmw.600.0.0.2494585, VMware_bootbank_scsi-hpsa_6.0.0.44-4vmw.600.0.0.2494585, VMware_bootbank_scsi-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_bootbank_scsi-mpt2sas_19.00.00.00-1vmw.600.0.0.2494585, VMware_bootbank_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.2494585, VMware_bootbank_vsanhealth_6.0.0-3000000.2.0.1.17.2972216, VMware_bootbank_xhci-xhci_1.0-2vmw.600.1.17.3029758, VMware_locker_tools-light_6.0.0-1.17.3029758 VIBs Removed: Emulex_bootbank_elxnet_10.2.298.5-1OEM.550.0.0.1331820, Emulex_bootbank_lpfc_10.2.298.12-1OEM.550.0.0.1331820, Hewlett-Packard_bootbank_scsi-hpsa_5.5.0.74-1OEM.550.0.0.1331820, Intel_bootbank_net-igb_5.0.5.1-1OEM.550.0.0.1198611, LSI_bootbank_scsi-mpt2sas_15.10.06.00.1vmw-1OEM.550.0.0.1198610, QLogic_bootbank_qlnativefc_1.1.29.0-1OEM.550.0.0.1331820, VMware_bootbank_ata-pata-amd_0.3.10-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-atiixp_0.4.6-4vmw.550.0.0.1331820, VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-pdc2027x_1.0-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-serverworks_0.4.3-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-sil680_0.4.8-3vmw.550.0.0.1331820, VMware_bootbank_ata-pata-via_0.3.3-2vmw.550.0.0.1331820, VMware_bootbank_block-cciss_3.6.14-10vmw.550.0.0.1331820, VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.550.0.0.1331820, VMware_bootbank_esx-base_5.5.0-2.33.2068190, VMware_bootbank_esx-dvfilter-generic-fastpath_5.5.0-0.0.1331820, VMware_bootbank_esx-tboot_5.5.0-2.33.2068190, VMware_bootbank_esx-xlibs_5.5.0-0.0.1331820, VMware_bootbank_esx-xserver_5.5.0-0.0.1331820, VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.550.0.0.1331820, VMware_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.550.0.0.1331820, VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.550.0.0.1331820, VMware_bootbank_lsi-mr3_0.255.03.01-2vmw.550.1.16.1746018, VMware_bootbank_lsi-msgpt3_00.255.03.03-1vmw.550.1.15.1623387, VMware_bootbank_misc-drivers_5.5.0-2.33.2068190, VMware_bootbank_mtip32xx-native_3.3.4-1vmw.550.1.15.1623387, VMware_bootbank_net-be2net_4.6.100.0v-1vmw.550.0.0.1331820, VMware_bootbank_net-e1000_8.0.3.1-3vmw.550.0.0.1331820, VMware_bootbank_net-e1000e_1.1.2-4vmw.550.1.15.1623387, VMware_bootbank_net-enic_1.4.2.15a-1vmw.550.0.0.1331820, VMware_bootbank_net-forcedeth_0.61-2vmw.550.0.0.1331820, VMware_bootbank_net-vmxnet3_1.1.3.0-3vmw.550.0.0.1331820, VMware_bootbank_ohci-usb-ohci_1.0-3vmw.550.0.0.1331820, VMware_bootbank_rste_2.0.2.0088-4vmw.550.1.15.1623387, VMware_bootbank_sata-ahci_3.0-20vmw.550.2.33.2068190, VMware_bootbank_sata-ata-piix_2.12-10vmw.550.2.33.2068190, VMware_bootbank_sata-sata-nv_3.5-4vmw.550.0.0.1331820, VMware_bootbank_sata-sata-promise_2.12-3vmw.550.0.0.1331820, VMware_bootbank_sata-sata-sil24_1.1-1vmw.550.0.0.1331820, VMware_bootbank_sata-sata-sil_2.3-4vmw.550.0.0.1331820, VMware_bootbank_sata-sata-svw_2.3-3vmw.550.0.0.1331820, VMware_bootbank_scsi-aacraid_1.1.5.1-9vmw.550.0.0.1331820, VMware_bootbank_scsi-adp94xx_1.0.8.12-6vmw.550.0.0.1331820, VMware_bootbank_scsi-aic79xx_3.1-5vmw.550.0.0.1331820, VMware_bootbank_scsi-fnic_1.5.0.4-1vmw.550.0.0.1331820, VMware_bootbank_scsi-ips_7.12.05-4vmw.550.0.0.1331820, VMware_bootbank_scsi-lpfc820_8.2.3.1-129vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid-mbox_2.20.5.1-6vmw.550.0.0.1331820, VMware_bootbank_scsi-megaraid-sas_5.34-9vmw.550.2.33.2068190, VMware_bootbank_scsi-megaraid2_2.00.4-9vmw.550.0.0.1331820, VMware_bootbank_scsi-mptsas_4.23.01.00-9vmw.550.0.0.1331820, VMware_bootbank_scsi-mptspi_4.23.01.00-9vmw.550.0.0.1331820, VMware_bootbank_scsi-qla2xxx_902.k1.1-9vmw.550.0.0.1331820, VMware_bootbank_uhci-usb-uhci_1.0-3vmw.550.0.0.1331820, VMware_locker_tools-light_5.5.0-2.33.2068190 VIBs Skipped: VMware_bootbank_ima-qla4xxx_2.02.18-1vmw.600.0.0.2494585, VMware_bootbank_misc-cnic-register_1.78.75.v60.7-1vmw.600.0.0.2494585, VMware_bootbank_net-bnx2_2.2.4f.v60.10-1vmw.600.0.0.2494585, VMware_bootbank_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-ixgbe_3.7.13.7.14iov-20vmw.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.2494585, VMware_bootbank_net-nx-nic_5.0.621-5vmw.600.0.0.2494585, VMware_bootbank_net-tg3_3.131d.v60.4-1vmw.600.0.0.2494585, VMware_bootbank_scsi-bnx2fc_1.78.78.v60.8-1vmw.600.0.0.2494585, VMware_bootbank_scsi-bnx2i_2.78.76.v60.8-1vmw.600.0.11.2809209, VMware_bootbank_scsi-qla4xxx_5.01.03.2-7vmw.600.0.0.2494585 ~ # esxcli system shutdown reboot -r "Upgrade to ESXi 6.0" |
После перезагрузки ESXi
Снова включаете SSH и заходите консолью на ESXi.
1 2 3 4 5 |
[root@esxi:~] vmware -vl VMware ESXi 6.0.0 build-3247720 VMware ESXi 6.0.0 Update 1 [root@esxi:~] esxcli system maintenanceMode set --enable off |
Обновление лицензии
После обновления VMware vSphere Client и подключения с помощью него к ESXi 6.0 появится сообщение:
ESXi Evalution Notice
Вам нужно получить бесплатный ключ.
Идёте по адресу https://my.vmwarecom/group/vmware/evalcenter?p=free-esxi6 (необходимо иметь учётную запись на сайте VMware) и получаете свой License Keys.
VMware vSphere Hypervisor 6.0 Download Center. License Keys
С помощью VMware vSphere Client’а заходите в Configuration > Software > Licensed Feature.
В правом верхнем углу нажимате Edit… и указываете свой ключ.
vSphere Client. Add License Key
В результате у вас будет ниже следующее.
vSphere Client. Licensed Features
Запускайте виртуальные машины и не забудьте обновить VMware Tools.