Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

在 VMware vSphere ESXi 5.5 中升级虚拟硬件后无法编辑虚拟机设置

Summary: 在 VMware vSphere ESXi 5.5 中升级虚拟硬件导致无法编辑虚拟机设置。

This article applies to   This article does not apply to 

Symptoms


文章摘要:本文提供有关在升级 VMware vSphere ESXi 5.5 中的虚拟硬件后无法编辑虚拟机设置的信息。


 

问题:

在虚拟机上升级虚拟硬件之后,无法在 vSphere 客户端 5.5 中编辑虚拟机的设置。

“You cannot use the vSphere Client to edit the settings of virtual machines of version 10 or higher.Use the vSphere Web Client to edit the settings of this virtual machine.”(您不能使用 vSphere 客户端来编辑版本 10 或更高版本的虚拟机的设置。使用 vSphere Web 客户端来编辑此虚拟机的设置。)

SLN283205_zh_CN__11380128816114.esxi55-hardware-version-10
 
讨论:

仅当虚拟硬件版本为 8 或更低版本时,vSphere 客户端才允许您编辑虚拟机设置。但是,vSphere 客户端将允许您将虚拟机的虚拟硬件升级到高于 8 的硬件版本。在虚拟硬件升级之前,您应该会看到以下警告:

SLN283205_zh_CN__21380128839849.esxi55-hardware-version-10-1

解决方案:

使用 Web 客户端对虚拟机进行任何更改。

解决办法:

将虚拟机的虚拟硬件降级至 8:

  • 确保虚拟机已关机/关闭电源
  • 从清单中删除虚拟机:
    • 在 vSphere 客户端的左侧窗格中右键单击虚拟机
    • 单击 Remove from Inventory
    • 单击 Yes 按钮以确认要从清单中删除它
  • 通过 SSH 连接到主机:
  • # cd /vmfs/volumes//
    • 示例:
      • # cd /vmfs/volumes/datastore1/testvm
  • 找到有“virtualHW.version”的那行
    • 示例:
      • virtualHW.version = "10"
  • 将值更改为 8
  • 示例:
    • virtualHW.version = "8"
  • # vim-cmd solo/registervm
    • 示例:
      • # vim-cmd solo/registervm /vmfs/volumes/datastore1/testvm/testvm.vmx
  • 导航至您的虚拟机的目录:
  • 编辑虚拟机的 .VMX 文件:
  • 注册虚拟机:

 

Affected Products

VMware ESXi 5.x