2022-11-27

esxi 7 升级 esxi 8

1、上传包:VMware-ESXi-8***-depot.zip

2、列出:esxcli software sources profile list -d /vmfs/volumes/所在盘/VMware-ESXi-8***-depot.zip

3、执行:esxcli software profile update -d /vmfs/volumes/所在盘/VMware-ESXi-8***-depot.zip -p ESXi-8***-standard

4、安装时提示:

[HardwareError]
 Hardware precheck of profile ESXi-8***-standard failed with warnings: <CPU_SUPPORT OVERRIDEWARNING: The CPUs in this host are not supported by ESXi 8.0.0. You can override and force install, but it is not officially supported nor recommended.>
 
 Apply --no-hardware-warning option to ignore the warnings and proceed with the transaction.
 Please refer to the log file for more details.

5、添加参数忽略:esxcli software profile update -d /vmfs/volumes/cache/VMware-ESXi-8***-depot.zip -p ESXi-8***-standard --no-hardware-warning

6、还是提示错误:

[DependencyError]
 On platform embeddedEsx, VIB VMW_bootbank_vmkusb-nic-fling_1.8-3vmw.703.0.15.51233328 requires vmkapi_incompat_2_9_0_0, but the requirement cannot be satisfied within the ImageProfile.
 Please refer to the log file for more details.

7、出现上面这个错误我没继续了,因为当时使用的是添加驱动的包升级的,可以直接用U盘安装升级即可解决的。

2022-2-17更新

一、补丁程序下载地址:https://customerconnect.vmware.com/patch
二、上传更新补丁到【datastore1】根目录
三、开启SSH
四、连上SSH,开始命令:
1、检查当前软件版本:vmware -vl
2、列出目录下的文件:ls /vmfs/volumes/datastore1
3、列出包里面的配置文件名:esxcli software sources profile list -d /vmfs/volumes/【datastore1】/【升级包名称】
例如:esxcli software sources profile list -d /vmfs/volumes/datastore1/VMware-ESXi-7.0U3c-19193900-depot.zip
4、选好包里的文件,开始正式升级:esxcli software profile update -d /vmfs/volumes/datastore1/VMware-ESXi-7.0U3c-19193900-depot.zip -p ESXi-7.0U3c-19193900-standard
5、看到 【Message: The update completed successfully】表示升级完成。
6、重启:reboot
ESXI7在256GB以下存储设备安装无可用空间原因和解决方案:
估计小硬盘安装esxi7都会遇到安装后没有空间的问题,网上文我也不去研究了,简单的办法,先安装esxi6.7 update3,进后台可用看到datastore1,确认剩余的空间分配正常,然后再用esxi7的iso版直接安装升级即可。

2020-4-16
进入官网(https://my.vmware.com/)去下最新包(需注册,免费的)

下载完,进入你的esxi后台,把下载的文件上传。

 

上传完毕可以用SSH工具(Xshell)登陆esxi


输入
[root@localhost:~] vmware -vl
VMware ESXi 6.7.0 build-14320388 --》获得版本
VMware ESXi 6.7.0 Update 3
输入
[root@localhost:~] find / -name *.zip --》查找你上传升级包的路径
/vmfs/volumes/50125f87-21f5f940-d50f-009027e11876/ESXi670-202004001.zip --》路径
输入
[root@localhost:~] esxcli software sources profile list -d /vmfs/volumes/50125f87-21f5f940-d50f-009027e11876/ESXi670-202004001.zip --》相当于解压出目录吧
Name Vendor Acceptance Level Creation Time Modification Time
------------------------------- ------------ ---------------- ------------------- -------------------
ESXi-6.7.0-20200403001-no-tools VMware, Inc. PartnerSupported 2020-03-19T06:37:06 2020-03-19T06:37:06
ESXi-6.7.0-20200403001-standard VMware, Inc. PartnerSupported 2020-03-19T06:37:06 2020-03-19T06:37:06
输入
[root@localhost:~] esxcli software profile update -d /vmfs/volumes/50125f87-21f5f940-d50f-009027e11876/ESXi670-202004001.zip -p ESXi-6.7.0-20200403001-standard --》开始进行升级
等待。。。。。。


输出一堆,然后重启。

注:获取路径在后台也可以获得的。

esxi6.7升级离线补丁
找到6.7相关的新的升级包,如:03/18/2021发布的内部版本号17700523补丁,然后上传到datastore1目录,打开ssh服务,关闭所有虚拟机,进入维护模式,然后在ssh查找文件
find / -name *.zip
得到路径
/vmfs/volumes/60599322-2637bee0-1875-40e0b48145b9/ESXi670-202103001.zip
然后运行
esxcli software vib update -d /vmfs/volumes/60599322-2637bee0-1875-40e0b48145b9/ESXi670-202103001.zip
等待,然后reboot重启。

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。