×

使用ESXCLI将ESXi 6.5或6.7升级到ESXi 7.0

hqy hqy 发表于2020-06-01 17:21:52 浏览4625 评论0

抢沙发发表评论

前提步骤

在升级ESXi之前,有一些重要的注意事项需要考虑,这些因素是(但不限于):

•    检查您对ESXi目标版本的备份和监视支持

•    确保ESXi主机的硬件在ESXi目标版本的HCL上

•    检查升级路径(您只能直接从6.5或6.7升级到7.0)

•    检查https://my.vmware.com以获取可用的许可证(或升级现有许可证(如果适用))

•    确保所有其他VMware解决方案都支持目标ESXi版本,包括VCSA

•    另外,在进行任何升级之前,请阅读发行说明

通过ESXCLI将ESXi升级到7.0的步骤

•    从my.vmware.com下载脱机捆绑包

•    将捆绑包上传到目标ESXi主机可访问的数据存储

•    在ESXi主机上启用SSH

•    检查脱机捆绑包中可用的配置文件



esxcli software sources profile list -d /vmfs/volumes/5d5551d9-4c4ae4b0-8470-7cd30a655a30/VMware-ESXi-7.0.0-15843807-depot.zip


•    空运行升级以查看将要删除并安装哪些VIB


esxcli software profile update -p ESXi-7.0.0-15843807-standard -d /vmfs/volumes/5d5551d9-4c4ae4b0-8470-7cd30a655a30/VMware-ESXi-7.0.0-15843807-depot.zip --dry-run


•    将主机置于维护模式


esxcli system maintenanceMode set --enable true


•    运行升级


esxcli software profile update -p ESXi-7.0.0-15843807-standard -d /vmfs/volumes/5d5551d9-4c4ae4b0-8470-7cd30a655a30/VMware-ESXi-7.0.0-15843807-depot.zip


•    重新启动主机


reboot


 


如果遇到报Could not find a trusted signer错误,请添加--no-sig-check参数

[InstallationError]

 ('VMW_bootbank_nfnic_4.0.0.44-1vmw.700.1.0.15843807', 'Could not find a trusted signer.')

       vibs = VMW_bootbank_nfnic_4.0.0.44-1vmw.700.1.0.15843807

       

esxcli software profile update -p ESXi-7.0.0-15843807-standard -d /vmfs/volumes/5d5551d9-4c4ae4b0-8470-7cd30a655a30/VMware-ESXi-7.0.0-15843807-depot.zip --no-sig-check


•    检查版本信息


[root@localhost:~] esxcli system version get

   Product: VMware ESXi

   Version: 7.0.0

   Build: Releasebuild-15843807

   Update: 0

   Patch: 0

[root@localhost:~] esxcli software vib list

————————————————



由于ESXI6.7采用的驱动方式是VMKlinux驱动的设备,而ESXI7.0全面采用Native驱动设备,所以导致很多设备目前无法直接更新或安装最新的7.0版本,首先我们先开判断下你的设备是否支持最新的ESXI7.0

一、判断是否支持升级或全新安装ESXI7.0

查询你的网卡驱动目前使用的是e1000e将不被支持,显示比如igbn或其他的可以支持

ESXI | 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12104" srcset="https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-1024x352.png 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-300x103.png 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-768x264.png 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-1536x528.png 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-600x206.png 600w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04.png 1814w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12104" srcset="https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-1024x352.png 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-300x103.png 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-768x264.png 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-1536x528.png 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-600x206.png 600w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04.png 1814w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12104" srcset="https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-1024x352.png 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-300x103.png 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-768x264.png 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-1536x528.png 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04-600x206.png 600w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.47.04.png 1814w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>
ESXI | 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12103" srcset="https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-1024x362.png 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-300x106.png 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-768x272.png 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-1536x543.png 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-2048x724.png 2048w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-600x212.png 600w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12103" srcset="https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-1024x362.png 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-300x106.png 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-768x272.png 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-1536x543.png 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-2048x724.png 2048w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-600x212.png 600w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12103" srcset="https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-1024x362.png 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-300x106.png 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-768x272.png 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-1536x543.png 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-2048x724.png 2048w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.48.23-600x212.png 600w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>

二、升级方式,升级方式有三种

ESXI | 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12112" srcset="https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-1024x770.png 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-300x225.png 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-768x577.png 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-1536x1154.png 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-600x451.png 600w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57.png 2044w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12112" srcset="https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-1024x770.png 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-300x225.png 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-768x577.png 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-1536x1154.png 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-600x451.png 600w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57.png 2044w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12112" srcset="https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-1024x770.png 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-300x225.png 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-768x577.png 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-1536x1154.png 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57-600x451.png 600w, https://www.vediotalk.com/wp-content/uploads/2020/04/截屏2020-04-03-下午9.53.57.png 2044w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>

官方补丁页面:https://my.vmware.com/group/vmware/patch#search


esxcli network firewall ruleset set -e true -r httpClient
esxcli software profile update -p ESXi-7.0.0-15843807-standard \
-d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
esxcli network firewall ruleset set -e false -r httpClient

ESXI | 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12107" srcset="https://www.kinber.cn/zb_users/upload/2020/06/20200601172348_50882.jpg 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-300x225.jpg 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-768x576.jpg 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-1536x1152.jpg 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-2048x1536.jpg 2048w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-600x450.jpg 600w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12107" srcset="https://www.kinber.cn/zb_users/upload/2020/06/20200601172348_50882.jpg 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-300x225.jpg 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-768x576.jpg 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-1536x1152.jpg 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-2048x1536.jpg 2048w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-600x450.jpg 600w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12107" srcset="https://www.kinber.cn/zb_users/upload/2020/06/20200601172348_50882.jpg 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-300x225.jpg 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-768x576.jpg 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-1536x1152.jpg 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-2048x1536.jpg 2048w, https://www.vediotalk.com/wp-content/uploads/2020/04/1234567-600x450.jpg 600w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>
ESXI | 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12108" srcset="https://www.kinber.cn/zb_users/upload/2020/06/20200601172351_74023.jpg 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-300x225.jpg 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-768x576.jpg 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-1536x1152.jpg 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-2048x1536.jpg 2048w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-600x450.jpg 600w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12108" srcset="https://www.kinber.cn/zb_users/upload/2020/06/20200601172351_74023.jpg 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-300x225.jpg 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-768x576.jpg 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-1536x1152.jpg 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-2048x1536.jpg 2048w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-600x450.jpg 600w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>| 如何升级到ESXI7.0的三种方式 – Vedio Talk - VLOG、科技、生活、乐分享" class="wp-image-12108" srcset="https://www.kinber.cn/zb_users/upload/2020/06/20200601172351_74023.jpg 1024w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-300x225.jpg 300w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-768x576.jpg 768w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-1536x1152.jpg 1536w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-2048x1536.jpg 2048w, https://www.vediotalk.com/wp-content/uploads/2020/04/123456-600x450.jpg 600w" sizes="(max-width: 1024px) 100vw, 1024px" style="-webkit-tap-highlight-color: transparent; box-sizing: border-box; border: 0px; max-width: 100%; display: block; margin: 12px auto; height: auto;"/>


打赏

本文链接:https://www.kinber.cn/post/1321.html 转载需授权!

分享到:


推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

 您阅读本篇文章共花了: 

群贤毕至

访客