查看“How to Upgrade ESXi 6.0 to 6.5 via CLI”的源代码
←
How to Upgrade ESXi 6.0 to 6.5 via CLI
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
=== 在线升级 6.0 to 6.5 === '''Step 1:''' Enable SSH and connect to your ESXi host via Putty (or alternative) '''Step 2:''' Enable firewall rule (allow) for web traffic<syntaxhighlight lang="bash"> esxcli network firewall ruleset set -e true -r httpClient </syntaxhighlight>'''Step 3:''' Run this command to see the VMware online depot and the different profiles you can upgrade from.<syntaxhighlight lang="bash"> esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep -i ESXi-6.5 </syntaxhighlight>to list available profiles like this:<syntaxhighlight lang="text"> [root@bogon:~] esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-inde x.xml | grep -i ESXi-6.5 ESXi-6.5.0-20170104001-standard VMware, Inc. PartnerSupported ESXi-6.5.0-20170304001-no-tools VMware, Inc. PartnerSupported ESXi-6.5.0-20170404001-no-tools VMware, Inc. PartnerSupported ESXi-6.5.0-20170104001-no-tools VMware, Inc. PartnerSupported ESXi-6.5.0-20170301001s-no-tools VMware, Inc. PartnerSupported ESXi-6.5.0-20170404001-standard VMware, Inc. PartnerSupported ESXi-6.5.0-20170301001s-standard VMware, Inc. PartnerSupported ESXi-6.5.0-20170304101-no-tools VMware, Inc. PartnerSupported ESXi-6.5.0-4564106-standard VMware, Inc. PartnerSupported ESXi-6.5.0-20170304001-standard VMware, Inc. PartnerSupported ESXi-6.5.0-4564106-no-tools VMware, Inc. PartnerSupported ESXi-6.5.0-20170304101-standard VMware, Inc. PartnerSupported </syntaxhighlight>We will select the newest package as the update target. '''Step 4:''' Run the upgrade with this command:<syntaxhighlight lang="bash"> esxcli software profile update -p ESXi-6.5.0-20170404001-standard -d https://hostupdate.vmware.com/software/VUM/P RODUCTION/main/vmw-depot-index.xml </syntaxhighlight>When it finished, will output like the following text:<syntaxhighlight lang="text"> 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: ....... </syntaxhighlight>if any error please check the log file : /var/log/esxupdate.log === 离线升级(7.0 to 8.0U2) === 1、下载补丁包 https://customerconnect.vmware.com/patch VMware-ESXi-8.0U2-22380479-depot.zip 2、将下载的补丁包上传到esxi服务器的存储中,例如:<syntaxhighlight lang="bash"> mkdir /vmfs/volumes/yibeiduo/esxiupdate_packages scp VMware-ESXi-8.0U2-22380479-depot.zip root@192.168.1.123:/vmfs/volumes/yibeiduo/esxiupdate_packages </syntaxhighlight> 3、列出可以使用的所有image profile名称<syntaxhighlight lang="bash"> esxcli software sources profile list -d /vmfs/volumes/yibeiduo/esxiupdate_packages/VMware-ESXi-8.0U2-22380479-depot.zip </syntaxhighlight>输出如下:<syntaxhighlight lang="text"> Name Vendor Acceptance Level Creation Time Modification Time ---------------------------- ------------ ---------------- ------------------- ----------------- ESXi-8.0U2-22380479-no-tools VMware, Inc. PartnerSupported 2023-09-21T00:00:00 2023-09-04T22:07:43 ESXi-8.0U2-22380479-standard VMware, Inc. PartnerSupported 2023-09-21T00:00:00 2023-09-21T00:00:00 </syntaxhighlight>使用 ESXi-8.0U2-22380479-standard 进行升级 4、执行下面的名称测试是否可以升级(是否存在兼容性问题),如果没有出现错误,则可以进行正常升级<syntaxhighlight lang="bash"> esxcli software profile update -p ESXi-8.0U2-22380479-standard -d /vmfs/volumes/yibeiduo/esxiupdate_packages/VMware-ESXi-8.0U2-22380479- depot.zip --dry-run </syntaxhighlight>5、执行下面的命令进行正式升级<syntaxhighlight lang="bash"> esxcli software profile update -p ESXi-8.0U2-22380479-standard -d /vmfs/volumes/yibeiduo/esxiupdate_packages/VMware-ESXi-8.0U2-22380479- depot.zip </syntaxhighlight> [[分类:Vmware]]
返回
How to Upgrade ESXi 6.0 to 6.5 via CLI
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息