如何更新esxi 5?


15

我有一个ESXi 5主机(免费)和vSphere Client。我想更新到u1,但找不到解决方法。更新是其中包含模块的ZIP文件。没有安装程序。vSphere Client没有更新模块。

谢谢!

[编辑]

/vmfs/volumes/4f255b5c-6acfd348-d53c-00e04c68ee7a/esxi_update # esxcli software vib install -d /vmfs/volumes/4f255b5c-6acfd348-d53c-00e04c68ee7a/esxi_update/update-from-esxi5.0-5.0_update01.zip
 [InstallationError]
 [Errno 32] Broken pipe
       vibs = VMware_locker_tools-light_5.0.0-1.11.623860
 Please refer to the log file for more details.
/vmfs/volumes/4f255b5c-6acfd348-d53c-00e04c68ee7a/esxi_update # esxcli software vib install -d /vmfs/volumes/4f255b5c-6acfd348-d53c-00e04c68ee7a/esxi_update/update-from-esxi5.0-5.0_update01.zip
 [InstallationError]
 [Errno 32] Broken pipe
       vibs = VMware_locker_tools-light_5.0.0-1.11.623860
 Please refer to the log file for more details.
/vmfs/volumes/4f255b5c-6acfd348-d53c-00e04c68ee7a/esxi_update # esxcli software vib install -d /vmfs/volumes/4f255b5c-6acfd348-d53c-00e04c68ee7a/esxi_update/ESXi500-201205001.zip
 [InstallationError]
 [Errno 32] Broken pipe
       vibs = VMware_locker_tools-light_5.0.0-1.12.653509
 Please refer to the log file for more details.

[编辑]

“安装”->“更新”

消息:更新成功完成,但是需要重新启动系统才能使更改生效。

    /vmfs/volumes/4f255b5c-6acfd348-d53c-00e04c68ee7a/esxi_update # esxcli software vib update -d /vmfs/volumes/4f255b5c-6acfd348-d53c-00e04c68ee7a/esxi_update/update-from-esxi5.0-5.0_update01.zip
Installation 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_ehci-ehci-hcd_1.0-3vmw.500.1.11.623860, VMware_bootbank_esx-base_5.0.0-1.11.623860, VMware_bootbank_misc-drivers_5.0.0-1.11.623860, VMware_bootbank_net-e1000e_1.1.2-3vmw.500.1.11.623860, VMware_bootbank_net-nx-nic_4.0.557-3vmw.500.1.11.623860, VMware_bootbank_sata-ahci_3.0-6vmw.500.1.11.623860, VMware_bootbank_sata-ata-piix_2.12-4vmw.500.1.11.623860, VMware_bootbank_scsi-aacraid_1.1.5.1-9vmw.500.1.11.623860, VMware_bootbank_scsi-megaraid-sas_5.34-1vmw.500.1.11.623860, VMware_bootbank_scsi-mpt2sas_06.00.00.00-6vmw.500.1.11.623860
   VIBs Removed: VMware_bootbank_ehci-ehci-hcd_1.0-3vmw.500.0.0.469512, VMware_bootbank_esx-base_5.0.0-0.7.515841, VMware_bootbank_misc-drivers_5.0.0-0.7.515841, VMware_bootbank_net-e1000e_1.1.2-3vmw.500.0.7.515841, VMware_bootbank_net-nx-nic_4.0.557-3vmw.500.0.0.469512, VMware_bootbank_sata-ahci_3.0-6vmw.500.0.0.469512, VMware_bootbank_sata-ata-piix_2.12-4vmw.500.0.0.469512, VMware_bootbank_scsi-aacraid_1.1.5.1-9vmw.500.0.0.469512, VMware_bootbank_scsi-megaraid-sas_4.32-1vmw.500.0.0.469512, VMware_bootbank_scsi-mpt2sas_06.00.00.00-5vmw.500.0.0.469512
   VIBs Skipped: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-atiixp_0.4.6-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-hpt3x2n_0.3.4-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-pdc2027x_1.0-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-serverworks_0.4.3-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-sil680_0.4.8-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-via_0.3.3-2vmw.500.0.0.469512, VMware_bootbank_block-cciss_3.6.14-10vmw.500.0.0.469512, VMware_bootbank_esx-tboot_5.0.0-0.0.469512, VMware_bootbank_ima-qla4xxx_2.01.07-1vmw.500.0.0.469512, VMware_bootbank_ipmi-ipmi-devintf_39.1-4vmw.500.0.0.469512, VMware_bootbank_ipmi-ipmi-msghandler_39.1-4vmw.500.0.0.469512, VMware_bootbank_ipmi-ipmi-si-drv_39.1-4vmw.500.0.0.469512, VMware_bootbank_misc-cnic-register_1.1-1vmw.500.0.0.469512, VMware_bootbank_net-be2net_4.0.88.0-1vmw.500.0.7.515841, VMware_bootbank_net-bnx2_2.0.15g.v50.11-5vmw.500.0.0.469512, VMware_bootbank_net-bnx2x_1.61.15.v50.1-1vmw.500.0.0.469512, VMware_bootbank_net-cnic_1.10.2j.v50.7-2vmw.500.0.0.469512, VMware_bootbank_net-e1000_8.0.3.1-2vmw.500.0.7.515841, VMware_bootbank_net-enic_1.4.2.15a-1vmw.500.0.0.469512, VMware_bootbank_net-forcedeth_0.61-2vmw.500.0.0.469512, VMware_bootbank_net-igb_2.1.11.1-3vmw.500.0.0.469512, VMware_bootbank_net-ixgbe_2.0.84.8.2-10vmw.500.0.0.469512, VMware_bootbank_net-r8168_8.013.00-3vmw.500.0.0.469512, VMware_bootbank_net-r8169_6.011.00-2vmw.500.0.0.469512, VMware_bootbank_net-s2io_2.1.4.13427-3vmw.500.0.0.469512, VMware_bootbank_net-sky2_1.20-2vmw.500.0.0.469512, VMware_bootbank_net-tg3_3.110h.v50.4-4vmw.500.0.0.469512, VMware_bootbank_ohci-usb-ohci_1.0-3vmw.500.0.0.469512, VMware_bootbank_sata-sata-nv_3.5-3vmw.500.0.0.469512, VMware_bootbank_sata-sata-promise_2.12-3vmw.500.0.0.469512, VMware_bootbank_sata-sata-sil_2.3-3vmw.500.0.0.469512, VMware_bootbank_sata-sata-svw_2.3-3vmw.500.0.0.469512, VMware_bootbank_scsi-adp94xx_1.0.8.12-6vmw.500.0.0.469512, VMware_bootbank_scsi-aic79xx_3.1-5vmw.500.0.0.469512, VMware_bootbank_scsi-bnx2i_1.9.1d.v50.1-3vmw.500.0.0.469512, VMware_bootbank_scsi-fnic_1.5.0.3-1vmw.500.0.0.469512, VMware_bootbank_scsi-hpsa_5.0.0-17vmw.500.0.0.469512, VMware_bootbank_scsi-ips_7.12.05-4vmw.500.0.0.469512, VMware_bootbank_scsi-lpfc820_8.2.2.1-18vmw.500.0.0.469512, VMware_bootbank_scsi-megaraid-mbox_2.20.5.1-6vmw.500.0.0.469512, VMware_bootbank_scsi-megaraid2_2.00.4-9vmw.500.0.0.469512, VMware_bootbank_scsi-mptsas_4.23.01.00-5vmw.500.0.0.469512, VMware_bootbank_scsi-mptspi_4.23.01.00-5vmw.500.0.0.469512, VMware_bootbank_scsi-qla2xxx_901.k1.1-14vmw.500.0.0.469512, VMware_bootbank_scsi-qla4xxx_5.01.03.2-3vmw.500.0.0.469512, VMware_bootbank_scsi-rste_2.0.2.0088-1vmw.500.1.11.623860, VMware_bootbank_uhci-usb-uhci_1.0-3vmw.500.0.0.469512, VMware_locker_tools-light_5.0.0-1.11.623860

Answers:


8

为了在不使用 vSphere的情况下更新ESXi ,您将必须从命令行执行更新。这意味着启用对主机的SSH和控制台访问,并将更新文件放在可访问的数据存储中。

核心命令将是:

esxcli software vib update -d /vmfs/volumes/[DATASTORE]/[PATCH_FILE].zip

这里的指南也有帮助...

http://www.chriscolotti.us/vmware/vsphere/how-to-patch-vsphere-5-esxi-without-update-manager/


1
esxcli不必从ESXi主机上的命令行运行。您可以安装remote-cli软件,或下载remote-cli VM。
Zoredache

我应该只应用最新版本(并跳过update1)吗?
西伯(Sirber)

U1失败,并显示“ [Errno 32]管道损坏”。尝试最新的补丁
Sirber,2012年

更改“安装”为“更新”,则可以使用
Sirber

10

一种方法是通过命令行更新系统。

从这里获取最新的软件包。截止到今天,这是ESXi500-201205001。

将更新zip文件传输到主机可见的数据存储中。

使用以下命令来应用更新。

# check server status
vicfg-hostops --server servername --username root --operation info

# start maint mode (you should stop any running VMs)
vicfg-hostops --server servername --username root --operation enter

# examine upgrade package
esxcli --server servername --username root software sources profile list --depot=[datastore1]/ESXi500-201112001.zip

# perform a dry run of the upgrade
esxcli --server servername --username root software profile install --depot=[datastore1]/ESXi500-201112001.zip --profile=ESXi-5.0.0-20111204001-standard --dry-run

# perform the upgrade
esxcli --server servername --username root software profile install --depot=[datastore1]/ESXi500-201112001.zip --profile=ESXi-5.0.0-20111204001-standard

# reboot the server
vicfg-hostops --server servername --username root --operation reboot

# examine the system post update, to verify the update applied.
esxcli --server servername --username root software vib list

看到:

在此处找到最新的vSphere Management Assistant设备VM 。这是安装了远程CLI软件包的VM。远程CLI软件包可在此处找到


抱歉,ewwhite的解决方案更简单
Sirber

1
IMO,ewwhite提出了几乎相同的解决方案,他只是在回答中提供了较少的上下文,并且为您提供了一种只能在控制台上使用的方法,如果您要更新多个主机,这将使您很烦恼。我提供了一些步骤,这些步骤将告诉您如何查看发生的情况,并提供了官方参考资料的链接。
Zoredache


-3

因此,您已经安装了vSphere,但尚未找到更新实用程序。我仍在使用v4.1,因此也许他们摆脱了这一点,但是应该有一个名为“ vSphere Host Update Utility 4.0”的应用程序。打开它,它将检测到您网络上的主机。选择要升级的主机,单击“升级主机”按钮。这将获取您在首页上讨论的zip文件,并将为您升级。


他们实际上在4.1版本中摆脱了它。
斩波器

Wierd,我已经有一段时间了,我们还没有升级。奇怪的是他们会摆脱它,所以唯一的方法就是通过cli。
亚当·斯科格

您必须购买vCenter才能执行此操作,或购买CLI(免费)
Sirber 2012年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.