本文共 2647 字,大约阅读时间需要 8 分钟。
vmware在2020年尾暴出的VC漏洞要求将VC升级的最新的版本!
vc版本和其能管理的esxi对应关系
一,VC的升级(vmware现在建议使用vcsa)
vcsa低版本在没有复杂应用的情况下可以重新上传新版本重新配置 vcsa6.7及以上版本可以在网页介面下直接升级。二,esxi的平滑升级
注:在不改变主机配置的情况下,可以一台一台的重新安装升级(先将主机进行维护模式,然后停机删除,重新安装新版本的esxi,再将新版本的esxi加入集群!前题是VC得能够纳管新的版本的esxi)以下是命令行的平滑升级过程
1、当前版本[root@ESX01:~] esxcli system version get
Product: VMware ESXi Version: 6.0.0 Build: Releasebuild-3380124 Update: 1 Patch: 262、进入维护模式
[root@ESX01:~] vim-cmd /hostsvc/maintenance_mode_enter
‘vim.Task:haTask-ha-host-vim.HostSystem.enterMaintenanceMode-25388614’3、先升级到6.5
[root@ESX01:~] esxcli software sources profile list -d /vmfs/volumes/Unity400_15TB-2/ISO/VMware_ESXi_6.5.0.update03_15177306_LNV_20191216.zip
Name Vendor Acceptance LevelLenovo_ESXi6.5u3-15177306_20191216 Lenovo PartnerSupported
[root@ESX01:~] esxcli software profile update -d /vmfs/volumes/Unity400_15TB-2/ISO/VMware_ESXi_6.5.0.update03_15177306_LNV_20191216.zip -p Lenovo_ESXi6.5u3-15177306_20191216
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: Avago_bootbank_lsi-msgpt3_17.00.02.00-1OEM.650.0.0.4598673, BCM_bootbank_bnxtnet_214.0.230.0-1OEM.650.0.0.4598673,[root@ESX01:~] reboot
4、升级到6.7
[root@ESX06:~] esxcli software vib list|grep libelxima
elx-esx-libelxima.so 12.0.1108.0-03 ELX VMwareCertified 2020-03-29[root@ESX01:~] esxcli software vib remove -n elx-esx-libelxima.so
Removal Result Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective. Reboot Required: true VIBs Installed: VIBs Removed: ELX_bootbank_elx-esx-libelxima.so_12.0.1108.0-03 VIBs Skipped:[root@ESX06:~] esxcli software sources profile list -d /vmfs/volumes/Unity400_15TB-2/ISO/VMware_ESXi_6.7.0.update03_15160138_LNV_20191216.zip
Name Vendor Acceptance Level Creation Time Modification TimeLenovo_ESXi6.7u3-15160138_20191216 Lenovo PartnerSupported 2019-11-25T11:43:03 2019-12-10T10:20:52
[root@ESX01:~] esxcli software profile update -d /vmfs/volumes/Unity400_15TB-2/ISO/VMware_ESXi_6.7.0.update03_15160138_LNV_20191216.zip -p Lenovo_ESXi6.7u3-15160138_20191216
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: Avago_bootbank_lsi-msgpt3_17.00.02.00-1OEM.670.0.0.8169922, BCM_bootbank_bnxtnet_214.0.230.0-1OEM.670.0.0.8169922,[root@ESX01:~] reboot
5、完成升级
[root@ESX01:~] vim-cmd /hostsvc/maintenance_mode_exit
[root@ESX01:~] esxcli system version get
Product: VMware ESXi Version: 6.7.0 Build: Releasebuild-15160138 Update: 3 Patch: 89转载地址:http://cpodi.baihongyu.com/