博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
VC及esxi升级的必要性和步骤
阅读量:4040 次
发布时间:2019-05-24

本文共 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: 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

转载地址:http://cpodi.baihongyu.com/

你可能感兴趣的文章
1060. Are They Equal (25)
查看>>
1020. Tree Traversals (25)
查看>>
1066. Root of AVL Tree (25)
查看>>
1086. Tree Traversals Again (25)
查看>>
1043. Is It a Binary Search Tree (25)
查看>>
大数阶乘!
查看>>
1039. Course List for Student (25)
查看>>
1022. Digital Library (30)(字符串分割) 模拟
查看>>
1024. Palindromic Number (25) 回文字符串
查看>>
1051. Pop Sequence (25) 判断出栈序列是否合理
查看>>
判断出栈序列是否合理
查看>>
1026. Table Tennis (30)
查看>>
1028. List Sorting (25) COUT和 cin 超时
查看>>
1064. Complete Binary Search Tree (30)
查看>>
1098. Insertion or Heap Sort (25)
查看>>
1099. Build A Binary Search Tree (30) 给定二叉搜索树插值
查看>>
1083. List Grades (25)
查看>>
1036. Boys vs Girls (25)
查看>>
1094. The Largest Generation (25)
查看>>
1056. Mice and Rice (25)
查看>>