VMware ESX 3i(3.5.0) Installation

VMware ESXi need more higherHardware Compatibilitythan VMware server.If you install VMware ESXi on a computer,the installer maybe quit with the error message: "Unable to find a supported device to write the VMware ESX Server 3i 3.5.0 image to."

You can find the list of devices that ESXi can recognize at:

htp://

or

Of course, there are some methods to install ESXi 3.5 to IDE/SATA drive.

Install ESXi 3.5 to an IDE drive

By default, if the ESXi install can not find a supported device to install to, then the installer will quit with the error message: "Unable to find a supported device to write the VMware ESX Server 3i 3.5.0 image to." If it is the case that the IDE drive in your host is recognized by ESXi, then you will be able to modify the install script TargetFilter.py to recognize your IDE device as a supported install device.

The install process for this can be found below:

1) If you have encountered the error shown above, you can press ALT-F1 to access the console of the ESXi install. You'll be prompted for a login and you can use 'root'. The password for root with be blank. As mentioned above, this process assumes you have an IDE drive that ESXi can recognize. You can use the command lspci to show the list of devices that ESXi can recognize and then compare that with this list of devices. Also if you run fdisk -l, you should see your IDE drive listed.
2) After you have console access you will enter the command vi /usr/lib/vmware/installer/Core/TargetFilter.py (note that the path and filename are case-sensitive).
3) Scroll down in the document until you find the section "def IDEFilter(lun)". You will be changing the text:

return interface.GetInterfaceType() == ScsiInterface.SCSI_IFACE_TYPE_IDE
to
return interface.GetInterfaceType() == ScsiInterface.SCSI_IFACE_TYPE_ISCSI

If you have not used vi before, move the cursor to the end of "TYPE_IDE" and the press the Insert key. The press backspace to delete IDE and type in ISCSI. Then press the ESC key, type in the command :wq and press Enter to save the file and exit.

4) You will now be back at the console. If you had stopped the installer at the screen show below, you can press ALT-F2 to return to the screen and press Enter to start the install, but it will still generate the error shown in the image above. You will need to press ALT-F1 and then type in install and press enter.
5) When you run the install command, it is important to note that the installer will switch you back to the ALT-F2 (DCUI) screen. Press ALT-F1 to return to the console again. You will see the below screen again with the prompt to press Enter to install. Do so and the install will proceed.

6) Press F11 on the next screen and you should then see your IDE drive as show below. Press Enter to continue and after a few minutes the install should complete and you will be prompted to reboot.

7) After the reboot, you can see that ESXi has installed to and created a VMFS partition on your IDE drive.

8)Config ESXi for remote management

<F2> Customize System //config ESXi

<F12> Shut Down / Restart

Press “F2”, enter the management interface. Here, you need config tow items:

1. Set the password of “root”;

2. Set the IP address.

1.Set the password of “root”. Because the first time set the password , the “Old Password” is none..

2.Set IP address

Select static IP

9)Thus, you will be able to connect with the VI client and remote manage the Vmware ESXi.

启用VMware ESXi 3.5的SSH服务

ESXi 3.5封装有SSH服务,但是默认是关闭的。打开的步骤如下:

  1. 在ESXi的控制台(物理机器面前)里输入Alt+F1。
  2. 在控制台输入unsupported并按下回车(你看不到输入的内容)。
  3. 如果你正确的输入了“unsupported”,就可以看到Tech Support模式的警告和下方的密码提示。输入root密码即可登陆。
  4. 现在你可以看到命令提示符“~ #” ,编辑inetd.conf文件(输入命令vi /etc/inetd.conf)。
  5. 找到开头是#ssh的那一行,删除注释符#,保存退出。
  6. 退出vi编辑器后,输入命令/sbin/services.sh restart来重启管理服务。然后你就可以使用SSH客户端连接ESXi主机了。

ESXi 3.5 Update 2 以上版本- 在Update 2 以后的版本中,services.sh已经不能重启控制SSH的inetd进程。你需要重启服务器或者使用下面的方法:执行ps | grep inetd来获取inetd的进程号,然后执行kill -HUP <进程号>使其重新读取配置文件,这时你就可以通过SSH连接服务器了。

ESX Server 3i 常见问题本文出自 51CTO.COM技术博客

产品问答

1. ESX Server 3i 同ESX Server 3相比有哪些差异?

• VMware ESX Server 3i 是业内首家把thin hypervisor集成到服务器硬件的产品。同ESX Server一样, ESX Server 3i 是一个纯粹的hypervisor(系统管理程序),它可以将一台物理服务器划分成多台既安全又方便的虚拟机

。ESX Server 3i支持整个VMware Infrastructure 3 的产品,完全兼容性。

• ESX Server 3i 拥有非常小的架构,同时提升了安全性、灵活性、可管理型。相对于在基于Linux系统的控制台进行管理,ESX Server 3i 使用集中管理工具,包括VirtualCenter, 远程命令行方式、通过CIM对硬件进行实时监控.

• 32MB package 直接集成到服务器的硬件,服务器可以快速启动ESX Server 3i. 因此,在为ESX Server 3i进行设计和优化的服务器上,hypervisor成为至关重要的硬件组成部分。

2. ESX Server 3i是否支持ESX Server 3.5的新特性?

• ESX Server 3i 将和ESX Server 3.5.同时发布,版本为3.5。它们使用同样的基于vmkernel的code,因此可以共享同样的特性,比如支持NPIV, 支持256GB内存, 支持64GB客户系统内存, TSO, 等等.

3. ESX Server 3i的版本是多少?

• ESX Server 3i 将首先发布version 3.5. 可以如下三种方式进行描述:

- ESX Server 3i version 3.5

- ESX Server 3i v3.5

- ESX Server 3i 3.5

4. VI3的哪个版本会与ESX Server 3i兼容?

• ESX Server 3i 与 VI3.5 和 VirtualCenter 2.5兼容。与以前版本的VI 或 VirtualCenter不兼容。为充分利用ESX Server 3i的特性, 目前的VI客户需要升级到VI3.5 和 VC 2.5

5. ESX Server 3i 是否会取代ESX Server? ESX Server还会有么?
• 不会取代的。ESX Server 3i 是ESX Server一个新的架构。我们将继续支持和升级ESX Server。ESX Server 和 ESX Server 3i 可以在数据中心共存。

6. ESX Server 3i 和ESX Server是否可以在同一环境中共存?

• 是的,ESX Server 和 ESX Server 3i 可以在数据中心共存。在虚拟环境中,既可以有运行ESX Server 3i 的主机,也可以有运行ESX Server的主机。两种主机可以存在于同样的

DRS, VMotion,和 HA cluster (HA is experimental in v3.5.0)。 VC版本不能低于VC2.5。

7. ESX Server 3i 与Lab Manager兼容吗?

• 不兼容。Lab Manager 需要在service console运行一个agent程序,ESX Server 3i不支持。

8. ESX Server 3i 与Site Recovery Manager兼容吗?

• 兼容。

价格相关问答

1. standalone version of ESX Server 3i、 VMFS、VSMP的兼容性如何?

• ESX Server 3i 包括 full VMFS support across FC SAN, iSCSI SAN, and NAS

• ESX Server 3i 包括 4-way VSMP

• ESX Server 3i 包括所有ESX Sever在性能、灵活扩展、兼容性的特点。

• ESX Server 3i 需要额外的licensing才可以从VirtualCenter进行管理。

2. ESX Server 3i的licensing是如何工作的?

• 包括 ESX Server 3i 在内,VI bundle的licensing 与目前的Lincense一样都是用Flex Licenses

• 如果单独购买ESX Server 3i,它不能被VirtualCenter 管理,或者看license server,需要一个序列号。类似用于Workstation的序列号。This also enables ESX Server 3i systems licensed

by the OEMs to work out of the box with no user redemption required.

3. 目前使用VMware ESX/VI3的客户如果要使用3i,是否需要额外付费?

A:不需要额外付费。只要客户所购买的VI3产品技术支持和软件升级合同在有效期内,就可以免费获得3i的硬盘安装版本。

4. 如何从ESX Server 升级到 ESX Server 3i?

A:只要客户所购买的VI3的Subscription依然有效,就可以免费获得3i的硬盘安装版本。通过把VMs移动到指定的ESX Server,然后安装新版本的3i,启动3i并把VMs移动回来,这样升级过程不会导致应用程序的中断。升级的前提是使用VirtualCenter 2.5。

5. ESX 3i的客户是否可以从VMware或者其OEM厂家获得技术支持?

A:技术支持与产品升级(Support and Subscription (SnS))需要从OEM厂家购买。也可以从VMware购买。

6. 现有VI3的licenses是否可以直接转给ESX Server 3i

A:可以的。现有VMware Infrastructure 3 的licenses 可以用于ESX Server 3i以启用像VMotion、集中管理等高级功能。

Availability Questions

1. ESX Server 3i 是否可以独立安装,而不是集成到服务器硬件。

A:可以单独安装。ESX Server 3i 也有安装到硬盘的版本。

2. ESX Server 3i支持哪些服务器硬件平台?

A:ESX Server 3i 的硬件兼容性列表(HCL)不会少于ESX Server HCL内容。目前还没有确切的信息,但是最终ESX Server 3i 和ESX Server的HCL会整合为一个表。

技术问答

1. 目前在ESX Server 3 的Service Console做的操作,在3i下如何完成?

A: 客户通常用Service Console 下的命令行方式进行管理,执行脚本、运行硬件代理程序以及执行第三方的代理程序。

通过远程命令行方式可以执行通过API方式执行的大部分常用命令。其中包括ESX 配置和VM 的管理。

ESX Server 3i 支持通过CIM标准进行agent-less的管理。硬件信息可以通过VirtualCenter 或第三方的管理工具进行收集。

VMware正在与ISV合作把在Service Console可执行的操作移植到远程环境。

这些附加的功能基本可以满足大部分客户的需求。假如客户需要其他功能,则需要访问到ESX Server 3.

2. ESX Server 3i 如何升级补丁?

A:所有的补丁都是映像文件格式,就像刷新微码。可以通过远程命令行方式、更新工具或VMware Update Manager进行升级。

2. 运行在Service Console 的hardware agents 发生哪些情况?

A:如果没有service console,hardware agents就无法运行。因此,VMware正与服务器硬件厂家合作,通过实现CIM标准提供硬件健康状况的信息。

4. 是否支持在SAN存储安装ESX主机,而无需在ESX Server上安装本地存储?

A:是的!事实上,许多客户都希望实现“diskless” setups 以避免硬盘故障并节省电源及冷却系统的消耗。

5. ESX Server 3 和 ESX Server 3i的性能是否有差异?

A:Service Console占用极少的资源,所以二者的性能和扩展性都差不多。

6. logs存在哪里?

A:Log文件保存在内存里,系统重启后不复存在。使用内置系统log功能的最好办法是把log信息发送到外部的log server

7. 配置信息保存在哪里?

A:当ESX Server 3i 被内嵌到服务器时,有一部的微码是可以读/写的。配置文件就保存在这部分空间里,系统重启时也不会丢失。这种内嵌的技术的好处是,你无需再为此作其他任何设置。

8. Where will the VPX agent go when adding a server to VirtualCenter?

A:当ESX Server 3i 被内嵌到服务器时,有一部的微码是可以读/写的。连接到VirtualCenter时,VPX 被保存到这里。

9. ESX Server 3i支持SNMP 吗?

A:支持,但是有限。

10. NTP是运行在console上的关键服务,NTP在ESX 3i上是如何的?

A:可以从VI Client和远程CLI方式进行NTP的配置

11. 在ESX Server 3i下,如果需要更换不同厂家的服务器硬件(如磁盘、NIC、Raid卡等),会有什么问题么?

A:ESX Server 3i 的驱动在vmkernel中。只要新设备兼容VMware,ESX Server 3i 就也可以用。

12. 如何配置virtual switches, datastores, 等?

A:可以通过VI Client 和 Remote CLI进行配置。

13. 既然Storage Vmotion 基于 CLI, 且仅限于3.5,请问3i支持该功能么?

A:支持,可以通过Remote CLI 实现。

14. 能否在3.5和3i之间实现虚机的VMotion?

A:可以,ESX Server 3i 需要VirtualCenter 2.5。

15. VMware 向USB key写入的是什么内容? USB key保存哪些状态信息?

• ESX Server 3i 将当前系统状态的信息保存在USB或Flash device,包括配置文件、SSL keys、服务器网络设置、本地用户信息等。总之,任何出厂默认的用来定制VMware3i的信息都被保存。

16. 是否可以用TFTP或者其他协议备份和恢复这些设置?如何恢复出厂的默认值?

• 可以用Remote Command Line (RCLI) 命令来备份、复制、恢复这些设置,尤其是vicfg-cfgbackup. 该命令具有如下主要特性:

save保存:所有状态信息都保存到一个本地文件 (local to the RCLI system)

load加载:从本地文件恢复状态信息

reset重置:恢复到出厂设置

• 只能通过RCLI 完成这些任务,其他协议比如TFTP是无法做到的。

17. ESX Server 3i 如何在没有Service console 网络接口的情况下支持software initiated iSCSI ?

A:iSCSI software initiator 可以通过vmkernel management port进行配置,3i支持software initiated iSCSI。

18. 如果USB key或者flash drive被移除或出现故障,是否会导致ESX Server 3i异常?

A:不会的。如果USB key或 Flash drive 被移除或出现故障,所有ESX Server功能及其VMs都将继续正常运行。但是,将配置信息写入固定存储的操作会失败。

IBM相关产品问答

1) IBM是否有计划提供集成到System x和BladeCenter Server的ESX Server 3i?

A:回答是肯定的。IBM已经发布将ESX Server 3i 内嵌到System x3850 M2和IBM BladeCenter HS21 XM。ESX Server 3i 可以配置到指定的型号或者按订单配置。

2) VMware ELA 用户可以订购内嵌的ESX Server 3i吗?

A:可以。VMware ELA 用户可以从工厂订购内嵌ESX Server 3i 的服务器。

3) IBM是否会提供可以安装到硬盘的ESX Server 3i ?

A:VMware 公司提供可单独安装到硬盘的ESX Server 3i。除此之外,IBM计划在一些systemx和BladeCenter机型上支持硬盘版本的ESX Server 3i, IBM’s ServerProven 网站将提供详细机型列表。ESX Server 3i 已成为VMware基础架构的一个组件,ESX Server 3 的标准版、企业版都可以从IBM订购。

4) 同ESX Server 3相比,什么时候需要选用ESX Server 3i?

A:VMware ESX Server 3i更简单易用。 will provide a very simple on ramp to if

you are new to or evaluating virtualization. 如果当前是VMware中高端用户,你也可以受益于ESX Server 3i的新架构,即独立于操作系统的平台、32MB的模块、更好的安全性、可靠性、易管理性。同时,ESX Server 3i 也可以做为一个独立的产品存在, 你也可以把ESX Server 3i 做为VMware Infrastructure 3 Enterprise 整套系统的一个组件来使用,与VMotion, DRS, 和 HA完全兼容。

ESX Server 3i 和ESX Server 3.5使用同样的基于vmkernel的code,因此具有相同的特性,比如支持256GB内存, 支持64GB客户系统内存等。有个例外就是在Service Console进行配置的一组增强的网络特性在3i上无法实现,这主要是因为这些特性必须从Service Conssole进行配置。(详情可察看Vmware KB 1003345)。

对于ESX Server 3,考虑到目前运行在service console的系统管理工具和脚本兼容性,可以继续用ESX Server 3 ,等完成管理工具的迁移再使用ESX Server 3i 。

5) 取消了Service Console后,IBM Director 是如何工作的?

A:由于取消了Service Console,在ESX Server 3 和 ESX Server 3i环境下,IBM Director的功能会有所变化。没有console ,就没有支持在hypervisor一级执行管理agent的OS。对于内嵌3i的IBM System x 和BladeCenter servers,将具备如下管理功能:

硬件和RAID的报警(Standards-based alerting for hardware and RAID)

IPMI 2.0 compliant

SNMP traps and CIM indications from VMware 3i

可以通过IBM Director 5.20.2 Update 1(可以下载)进行管理的内容

Discovery, basic inventory, 硬件故障和阵列事件,color-coded hardware 状态

Manageable by VMware Infrastructure 3

VI Console, VirtualCenter

Remote CLI

通过RSAII对硬件进行带外管理

远程键盘、鼠标、显示 (KVM) 切换器

挂载虚拟介质

远程电源管理

电源管理

IBM Active Energy Manager v3.1

6) 可否提供一个实例说明ESX Server 和 ESX Server 3i 在管理方面的差异?

A:下表列出了二者之间的差异

特性 / VMware ESX Server 3 / VMware ESX Server 3i (内嵌的)
ESX Service Console / 安装管理agent和执行硬件工具支持SSH连接到service console / 不支持。3i提供安全、锁定的环境。免去管理和维护Service Console的工作。
IBM system Director / 完全支持 / Discover、basic inventory、硬件和阵列事件、color coded status
Virtualization 管理 / VI client and VirtualCenter,
IBM virtualization Manger 1.2 / VI client and VirtualCenter
带外管理 / 支持——IBM RSAII和刀片中心高级管理模块 / 支持——IBM RSAII和刀片中心高级管理模块
远程功能(remote cosole
KVM、virtual media) / 支持——IBM RSAII和刀片中心高级管理模块 / 支持——IBM RSAII和刀片中心高级管理模块
电源管理 / 支持——IBM Active Energy Manager / 支持——IBM Active Energy Manager
微码升级 / 在线升级——ESX Service Console utility;
离线升级 / 离线升级
故障检测 / 支持IBM Dynamic System Analysis和IBM Preboot Diagnostics / 支持IBM Preboot Diagnostics

7) IBM 是否提供从ESX Server 3i 到VMware Infrastructure Foundation, Standard,

和 Enterprise的升级?

A:会的。IBM提供两种升级方式。第一种是升级安装了ESX Server3i的服务器的SKU,该服务器需要升级为Foundation, Standard, and Enterprise。另外,对于初次购买者,IBM会在出厂前为支持内嵌ESX Server 3i 的机型(包括System x和BladeCenter)安装3i的升级版。3 year subscription升级在工厂就已经安装完毕。

1