服务器esxi虚拟机升级,VMware Esxi 升级

上传更新文件到存储上

a4c26d1e5885305701be709a3d33442f.png

把升级服务器进入维护模式,开启这个服务器的ssh服务

a4c26d1e5885305701be709a3d33442f.png

使用连接工具SSH到服务器

[root@localhost:~] vmware -v

查看现在的版本

VMware

ESXi 6.5.0 build-4564106

[root@localhost:~]

esxcli software profile get

验证系统及下载到的升级包profile

ESXi-6.5.0-4564106-standard

Name: ESXi-6.5.0-4564106-standard

Vendor: VMware, Inc.

Creation Time: 2016-12-14T05:32:15

Modification Time: 2016-12-14T05:34:32

Stateless Ready: True

Description:

The general availability release of VMware ESXi Server

6.5.0

brings whole new levels of virtualization performance to

datacenters and enterprises.

VIBs: ata-libata-92 3.00.9.2-16vmw.650.0.0.4564106, ata-pata-amd

0.3.10-3vmw.650.0.0.4564106, ata-pata-atiixp

0.4.6-4vmw.650.0.0.4564106, ata-pata-cmd64x

0.2.5-3vmw.650.0.0.4564106, ata-pata-hpt3x2n

0.3.4-3vmw.650.0.0.4564106, ata-pata-pdc2027x

1.0-3vmw.650.0.0.4564106, ata-pata-serverworks

0.4.3-3vmw.650.0.0.4564106, ata-pata-sil680

0.4.8-3vmw.650.0.0.4564106, ata-pata-via

0.3.3-2vmw.650.0.0.4564106, block-cciss

3.6.14-10vmw.650.0.0.4564106, char-random 1.0-3vmw.650.0.0.4564106,

cpu-microcode 6.5.0-0.0.4564106, ehci-ehci-hcd

1.0-3vmw.650.0.0.4564106, elxnet 11.1.91.0-1vmw.650.0.0.4564106,

emulex-esx-elxnetcli 11.1.28.0-0.0.4564106, esx-base

6.5.0-0.0.4564106, esx-dvfilter-generic-fastpath 6.5.0-0.0.4564106,

esx-tboot 6.5.0-0.0.4564106, esx-ui 1.8.0-4516221, esx-xserver

6.5.0-0.0.4564106, hid-hid 1.0-3vmw.650.0.0.4564106, i40en

1.1.0-1vmw.650.0.0.4564106, igbn 0.1.0.0-12vmw.650.0.0.4564106,

ima-qla4xxx 2.02.18-1vmw.650.0.0.4564106, ipmi-ipmi-devintf

39.1-4vmw.650.0.0.4564106, ipmi-ipmi-msghandler

39.1-4vmw.650.0.0.4564106, ipmi-ipmi-si-drv

39.1-4vmw.650.0.0.4564106, ixgben 1.0.0.0-8vmw.650.0.0.4564106,

lpfc 11.1.0.6-1vmw.650.0.0.4564106, lsi-mr3

6.910.18.00-1vmw.650.0.0.4564106, lsi-msgpt2

20.00.01.00-3vmw.650.0.0.4564106, lsi-msgpt3

12.00.02.00-11vmw.650.0.0.4564106, lsu-hp-hpsa-plugin

2.0.0-3vmw.650.0.0.4564106, lsu-lsi-lsi-mr3-plugin

1.0.0-7vmw.650.0.0.4564106, lsu-lsi-lsi-msgpt3-plugin

1.0.0-6vmw.650.0.0.4564106, lsu-lsi-megaraid-sas-plugin

1.0.0-7vmw.650.0.0.4564106, lsu-lsi-mpt2sas-plugin

2.0.0-5vmw.650.0.0.4564106, misc-cnic-register

1.78.75.v60.7-1vmw.650.0.0.4564106, misc-drivers 6.5.0-0.0.4564106,

mtip32xx-native 3.9.5-1vmw.650.0.0.4564106, native-misc-drivers

6.5.0-0.0.4564106, ne1000 0.8.0-9vmw.650.0.0.4564106, nenic

1.0.0.2-1vmw.650.0.0.4564106, net-bnx2

2.2.4f.v60.10-2vmw.650.0.0.4564106, net-bnx2x

1.78.80.v60.12-1vmw.650.0.0.4564106, net-cdc-ether

1.0-3vmw.650.0.0.4564106, net-cnic

1.78.76.v60.13-2vmw.650.0.0.4564106, net-e1000

8.0.3.1-5vmw.650.0.0.4564106, net-e1000e

3.2.2.1-2vmw.650.0.0.4564106, net-enic

2.1.2.38-2vmw.650.0.0.4564106, net-fcoe

1.0.29.9.3-7vmw.650.0.0.4564106, net-forcedeth

0.61-2vmw.650.0.0.4564106, net-igb 5.0.5.1.1-5vmw.650.0.0.4564106,

net-ixgbe 3.7.13.7.14iov-20vmw.650.0.0.4564106, net-libfcoe-92

1.0.24.9.4-8vmw.650.0.0.4564106, net-mlx4-core

1.9.7.0-1vmw.650.0.0.4564106, net-mlx4-en

1.9.7.0-1vmw.650.0.0.4564106, net-nx-nic

5.0.621-5vmw.650.0.0.4564106, net-tg3

3.131d.v60.4-2vmw.650.0.0.4564106, net-usbnet

1.0-3vmw.650.0.0.4564106, net-vmxnet3 1.1.3.0-3vmw.650.0.0.4564106,

nhpsa 2.0.6-3vmw.650.0.0.4564106, nmlx4-core

3.16.0.0-1vmw.650.0.0.4564106, nmlx4-en

3.16.0.0-1vmw.650.0.0.4564106, nmlx4-rdma

3.16.0.0-1vmw.650.0.0.4564106, nmlx5-core

4.16.0.0-1vmw.650.0.0.4564106, ntg3 4.1.0.0-1vmw.650.0.0.4564106,

nvme 1.2.0.32-2vmw.650.0.0.4564106, nvmxnet3

2.0.0.22-1vmw.650.0.0.4564106, ohci-usb-ohci

1.0-3vmw.650.0.0.4564106, pvscsi 0.1-1vmw.650.0.0.4564106, qedentv

2.0.3.29-1vmw.650.0.0.4564106, qfle3 1.0.2.7-1vmw.650.0.0.4564106,

qflge 1.1.0.3-1vmw.650.0.0.4564106, qlnativefc

2.1.30.0-11vmw.650.0.0.4564106, rste

2.0.2.0088-4vmw.650.0.0.4564106, sata-ahci

3.0-22vmw.650.0.0.4564106, sata-ata-piix

2.12-10vmw.650.0.0.4564106, sata-sata-nv 3.5-4vmw.650.0.0.4564106,

sata-sata-promise 2.12-3vmw.650.0.0.4564106, sata-sata-sil

2.3-4vmw.650.0.0.4564106, sata-sata-sil24 1.1-1vmw.650.0.0.4564106,

sata-sata-svw 2.3-3vmw.650.0.0.4564106, scsi-aacraid

1.1.5.1-9vmw.650.0.0.4564106, scsi-adp94xx

1.0.8.12-6vmw.650.0.0.4564106, scsi-aic79xx

3.1-5vmw.650.0.0.4564106, scsi-bnx2fc

1.78.78.v60.8-1vmw.650.0.0.4564106, scsi-bnx2i

2.78.76.v60.8-1vmw.650.0.0.4564106, scsi-fnic

1.5.0.45-3vmw.650.0.0.4564106, scsi-hpsa

6.0.0.84-1vmw.650.0.0.4564106, scsi-ips

7.12.05-4vmw.650.0.0.4564106, scsi-iscsi-linux-92

1.0.0.2-3vmw.650.0.0.4564106, scsi-libfc-92

1.0.40.9.3-5vmw.650.0.0.4564106, scsi-megaraid-mbox

2.20.5.1-6vmw.650.0.0.4564106, scsi-megaraid-sas

6.603.55.00-2vmw.650.0.0.4564106, scsi-megaraid2

2.00.4-9vmw.650.0.0.4564106, scsi-mpt2sas

19.00.00.00-1vmw.650.0.0.4564106, scsi-mptsas

4.23.01.00-10vmw.650.0.0.4564106, scsi-mptspi

4.23.01.00-10vmw.650.0.0.4564106, scsi-qla4xxx

5.01.03.2-7vmw.650.0.0.4564106, shim-iscsi-linux-9-2-1-0

6.5.0-0.0.4564106, shim-iscsi-linux-9-2-2-0 6.5.0-0.0.4564106,

shim-libata-9-2-1-0 6.5.0-0.0.4564106, shim-libata-9-2-2-0

6.5.0-0.0.4564106, shim-libfc-9-2-1-0 6.5.0-0.0.4564106,

shim-libfc-9-2-2-0 6.5.0-0.0.4564106, shim-libfcoe-9-2-1-0

6.5.0-0.0.4564106, shim-libfcoe-9-2-2-0 6.5.0-0.0.4564106,

shim-vmklinux-9-2-1-0 6.5.0-0.0.4564106, shim-vmklinux-9-2-2-0

6.5.0-0.0.4564106, shim-vmklinux-9-2-3-0 6.5.0-0.0.4564106,

tools-light 6.5.0-0.0.4564106, uhci-usb-uhci

1.0-3vmw.650.0.0.4564106, usb-storage-usb-storage

1.0-3vmw.650.0.0.4564106, usbcore-usb 1.0-3vmw.650.0.0.4564106,

vmkata 0.1-1vmw.650.0.0.4564106, vmkplexer-vmkplexer

6.5.0-0.0.4564106, vmkusb 0.1-1vmw.650.0.0.4564106, vmw-ahci

1.0.0-32vmw.650.0.0.4564106, vmware-esx-esxcli-nvme-plugin

1.2.0.10-0.0.4564106, vsan 6.5.0-0.0.4564106, vsanhealth

6.5.0-0.0.4564106, xhci-xhci 1.0-3vmw.650.0.0.4564106

[root@localhost:~] esxcli software sources profile list

--depot=/vmfs/volumes/192.168.116.105/update/ESXi650-201701001.zip

验证升级包

Name

Vendor

Acceptance Level Creation

Time

Modification Time

-------------------------------

------------

----------------

-------------------

-------------------

ESXi-6.5.0-20170104001-standard VMware,

Inc.

PartnerSupported

2017-01-06T04:23:59

2017-01-06T04:23:59

ESXi-6.5.0-20170104001-no-tools VMware,

Inc.

PartnerSupported

2017-01-06T04:23:59

2017-01-06T04:23:59

要显示两个profile包,一个带有tools一个不带

[root@localhost:~] esxcli software profile update

--depot=/vmfs/volumes/192.168.116.105/update/ESXi650-201701001.zip

-p=ESXi-6.5.0

-20170104001-standard

升级系统

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: VMware_bootbank_esx-base_6.5.0-0.9.4887370,

VMware_bootbank_vsan_6.5.0-0.9.4887370,

VMware_bootbank_vsanhealth_6.5.0-0.9.4887370

VIBs Removed: VMware_bootbank_esx-base_6.5.0-0.0.4564106,

VMware_bootbank_vsan_6.5.0-0.0.4564106,

VMware_bootbank_vsanhealth_6.5.0-0.0.4564106

VIBs Skipped:

VMW_bootbank_ata-libata-92_3.00.9.2-16vmw.650.0.0.4564106,

VMW_bootbank_ata-pata-amd_0.3.10-3vmw.650.0.0.4564106,

VMW_bootbank_ata-pata-atiixp_0.4.6-4vmw.650.0.0.4564106,

VMW_bootbank_ata-pata-cmd64x_0.2.5-3vmw.650.0.0.4564106,

VMW_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.650.0.0.4564106,

VMW_bootbank_ata-pata-pdc2027x_1.0-3vmw.650.0.0.4564106,

VMW_bootbank_ata-pata-serverworks_0.4.3-3vmw.650.0.0.4564106,

VMW_bootbank_ata-pata-sil680_0.4.8-3vmw.650.0.0.4564106,

VMW_bootbank_ata-pata-via_0.3.3-2vmw.650.0.0.4564106,

VMW_bootbank_block-cciss_3.6.14-10vmw.650.0.0.4564106,

VMW_bootbank_char-random_1.0-3vmw.650.0.0.4564106,

VMW_bootbank_ehci-ehci-hcd_1.0-3vmw.650.0.0.4564106,

VMW_bootbank_elxnet_11.1.91.0-1vmw.650.0.0.4564106,

VMW_bootbank_hid-hid_1.0-3vmw.650.0.0.4564106,

VMW_bootbank_i40en_1.1.0-1vmw.650.0.0.4564106,

VMW_bootbank_igbn_0.1.0.0-12vmw.650.0.0.4564106,

VMW_bootbank_ima-qla4xxx_2.02.18-1vmw.650.0.0.4564106,

VMW_bootbank_ipmi-ipmi-devintf_39.1-4vmw.650.0.0.4564106,

VMW_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.650.0.0.4564106,

VMW_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.650.0.0.4564106,

VMW_bootbank_ixgben_1.0.0.0-8vmw.650.0.0.4564106,

VMW_bootbank_lpfc_11.1.0.6-1vmw.650.0.0.4564106,

VMW_bootbank_lsi-mr3_6.910.18.00-1vmw.650.0.0.4564106,

VMW_bootbank_lsi-msgpt2_20.00.01.00-3vmw.650.0.0.4564106,

VMW_bootbank_lsi-msgpt3_12.00.02.00-11vmw.650.0.0.4564106,

VMW_bootbank_misc-cnic-register_1.78.75.v60.7-1vmw.650.0.0.4564106,

VMW_bootbank_misc-drivers_6.5.0-0.0.4564106,

VMW_bootbank_mtip32xx-native_3.9.5-1vmw.650.0.0.4564106,

VMW_bootbank_ne1000_0.8.0-9vmw.650.0.0.4564106,

VMW_bootbank_nenic_1.0.0.2-1vmw.650.0.0.4564106,

VMW_bootbank_net-bnx2_2.2.4f.v60.10-2vmw.650.0.0.4564106,

VMW_bootbank_net-bnx2x_1.78.80.v60.12-1vmw.650.0.0.4564106,

VMW_bootbank_net-cdc-ether_1.0-3vmw.650.0.0.4564106,

VMW_bootbank_net-cnic_1.78.76.v60.13-2vmw.650.0.0.4564106,

VMW_bootbank_net-e1000_8.0.3.1-5vmw.650.0.0.4564106,

VMW_bootbank_net-e1000e_3.2.2.1-2vmw.650.0.0.4564106,

VMW_bootbank_net-enic_2.1.2.38-2vmw.650.0.0.4564106,

VMW_bootbank_net-fcoe_1.0.29.9.3-7vmw.650.0.0.4564106,

VMW_bootbank_net-forcedeth_0.61-2vmw.650.0.0.4564106,

VMW_bootbank_net-igb_5.0.5.1.1-5vmw.650.0.0.4564106,

VMW_bootbank_net-ixgbe_3.7.13.7.14iov-20vmw.650.0.0.4564106,

VMW_bootbank_net-libfcoe-92_1.0.24.9.4-8vmw.650.0.0.4564106,

VMW_bootbank_net-mlx4-core_1.9.7.0-1vmw.650.0.0.4564106,

VMW_bootbank_net-mlx4-en_1.9.7.0-1vmw.650.0.0.4564106,

VMW_bootbank_net-nx-nic_5.0.621-5vmw.650.0.0.4564106,

VMW_bootbank_net-tg3_3.131d.v60.4-2vmw.650.0.0.4564106,

VMW_bootbank_net-usbnet_1.0-3vmw.650.0.0.4564106,

VMW_bootbank_net-vmxnet3_1.1.3.0-3vmw.650.0.0.4564106,

VMW_bootbank_nhpsa_2.0.6-3vmw.650.0.0.4564106,

VMW_bootbank_nmlx4-core_3.16.0.0-1vmw.650.0.0.4564106,

VMW_bootbank_nmlx4-en_3.16.0.0-1vmw.650.0.0.4564106,

VMW_bootbank_nmlx4-rdma_3.16.0.0-1vmw.650.0.0.4564106,

VMW_bootbank_nmlx5-core_4.16.0.0-1vmw.650.0.0.4564106,

VMW_bootbank_ntg3_4.1.0.0-1vmw.650.0.0.4564106,

VMW_bootbank_nvme_1.2.0.32-2vmw.650.0.0.4564106,

VMW_bootbank_nvmxnet3_2.0.0.22-1vmw.650.0.0.4564106,

VMW_bootbank_ohci-usb-ohci_1.0-3vmw.650.0.0.4564106,

VMW_bootbank_pvscsi_0.1-1vmw.650.0.0.4564106,

VMW_bootbank_qedentv_2.0.3.29-1vmw.650.0.0.4564106,

VMW_bootbank_qfle3_1.0.2.7-1vmw.650.0.0.4564106,

VMW_bootbank_qflge_1.1.0.3-1vmw.650.0.0.4564106,

VMW_bootbank_qlnativefc_2.1.30.0-11vmw.650.0.0.4564106,

VMW_bootbank_sata-ahci_3.0-22vmw.650.0.0.4564106,

VMW_bootbank_sata-ata-piix_2.12-10vmw.650.0.0.4564106,

VMW_bootbank_sata-sata-nv_3.5-4vmw.650.0.0.4564106,

VMW_bootbank_sata-sata-promise_2.12-3vmw.650.0.0.4564106,

VMW_bootbank_sata-sata-sil24_1.1-1vmw.650.0.0.4564106,

VMW_bootbank_sata-sata-sil_2.3-4vmw.650.0.0.4564106,

VMW_bootbank_sata-sata-svw_2.3-3vmw.650.0.0.4564106,

VMW_bootbank_scsi-aacraid_1.1.5.1-9vmw.650.0.0.4564106,

VMW_bootbank_scsi-adp94xx_1.0.8.12-6vmw.650.0.0.4564106,

VMW_bootbank_scsi-aic79xx_3.1-5vmw.650.0.0.4564106,

VMW_bootbank_scsi-bnx2fc_1.78.78.v60.8-1vmw.650.0.0.4564106,

VMW_bootbank_scsi-bnx2i_2.78.76.v60.8-1vmw.650.0.0.4564106,

VMW_bootbank_scsi-fnic_1.5.0.45-3vmw.650.0.0.4564106,

VMW_bootbank_scsi-hpsa_6.0.0.84-1vmw.650.0.0.4564106,

VMW_bootbank_scsi-ips_7.12.05-4vmw.650.0.0.4564106,

VMW_bootbank_scsi-iscsi-linux-92_1.0.0.2-3vmw.650.0.0.4564106,

VMW_bootbank_scsi-libfc-92_1.0.40.9.3-5vmw.650.0.0.4564106,

VMW_bootbank_scsi-megaraid-mbox_2.20.5.1-6vmw.650.0.0.4564106,

VMW_bootbank_scsi-megaraid-sas_6.603.55.00-2vmw.650.0.0.4564106,

VMW_bootbank_scsi-megaraid2_2.00.4-9vmw.650.0.0.4564106,

VMW_bootbank_scsi-mpt2sas_19.00.00.00-1vmw.650.0.0.4564106,

VMW_bootbank_scsi-mptsas_4.23.01.00-10vmw.650.0.0.4564106,

VMW_bootbank_scsi-mptspi_4.23.01.00-10vmw.650.0.0.4564106,

VMW_bootbank_scsi-qla4xxx_5.01.03.2-7vmw.650.0.0.4564106,

VMW_bootbank_shim-iscsi-linux-9-2-1-0_6.5.0-0.0.4564106,

VMW_bootbank_shim-iscsi-linux-9-2-2-0_6.5.0-0.0.4564106,

VMW_bootbank_shim-libata-9-2-1-0_6.5.0-0.0.4564106,

VMW_bootbank_shim-libata-9-2-2-0_6.5.0-0.0.4564106,

VMW_bootbank_shim-libfc-9-2-1-0_6.5.0-0.0.4564106,

VMW_bootbank_shim-libfc-9-2-2-0_6.5.0-0.0.4564106,

VMW_bootbank_shim-libfcoe-9-2-1-0_6.5.0-0.0.4564106,

VMW_bootbank_shim-libfcoe-9-2-2-0_6.5.0-0.0.4564106,

VMW_bootbank_shim-vmklinux-9-2-1-0_6.5.0-0.0.4564106,

VMW_bootbank_shim-vmklinux-9-2-2-0_6.5.0-0.0.4564106,

VMW_bootbank_shim-vmklinux-9-2-3-0_6.5.0-0.0.4564106,

VMW_bootbank_uhci-usb-uhci_1.0-3vmw.650.0.0.4564106,

VMW_bootbank_usb-storage-usb-storage_1.0-3vmw.650.0.0.4564106,

VMW_bootbank_usbcore-usb_1.0-3vmw.650.0.0.4564106,

VMW_bootbank_vmkata_0.1-1vmw.650.0.0.4564106,

VMW_bootbank_vmkplexer-vmkplexer_6.5.0-0.0.4564106,

VMW_bootbank_vmkusb_0.1-1vmw.650.0.0.4564106,

VMW_bootbank_vmw-ahci_1.0.0-32vmw.650.0.0.4564106,

VMW_bootbank_xhci-xhci_1.0-3vmw.650.0.0.4564106,

VMware_bootbank_cpu-microcode_6.5.0-0.0.4564106,

VMware_bootbank_emulex-esx-elxnetcli_11.1.28.0-0.0.4564106,

VMware_bootbank_esx-dvfilter-generic-fastpath_6.5.0-0.0.4564106,

VMware_bootbank_esx-tboot_6.5.0-0.0.4564106,

VMware_bootbank_esx-ui_1.8.0-4516221,

VMware_bootbank_esx-xserver_6.5.0-0.0.4564106,

VMware_bootbank_lsu-hp-hpsa-plugin_2.0.0-3vmw.650.0.0.4564106,

VMware_bootbank_lsu-lsi-lsi-mr3-plugin_1.0.0-7vmw.650.0.0.4564106,

VMware_bootbank_lsu-lsi-lsi-msgpt3-plugin_1.0.0-6vmw.650.0.0.4564106,

VMware_bootbank_lsu-lsi-megaraid-sas-plugin_1.0.0-7vmw.650.0.0.4564106,

VMware_bootbank_lsu-lsi-mpt2sas-plugin_2.0.0-5vmw.650.0.0.4564106,

VMware_bootbank_native-misc-drivers_6.5.0-0.0.4564106,

VMware_bootbank_rste_2.0.2.0088-4vmw.650.0.0.4564106,

VMware_bootbank_vmware-esx-esxcli-nvme-plugin_1.2.0.10-0.0.4564106,

VMware_locker_tools-light_6.5.0-0.0.4564106

[root@localhost:~]

[root@localhost:~]

[root@localhost:~]

[root@localhost:~] reboot

[root@localhost:~]

你可能感兴趣的:(服务器esxi虚拟机升级)