VC及esxi升级的必要性和步骤

本文提供了一种从 ESXi 6.0 版本平滑升级到 6.7 的详细步骤,并介绍了如何利用命令行进行维护模式的切换、软件包的更新及重启等操作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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: 26

2、进入维护模式

[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 Level


Lenovo_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 Time


Lenovo_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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值