ESXi嵌套ESXi安装VMware Tools

     从事VMware产品相关的IT,会需要经常做相关测试,如vSphere、Horizon View、Workspace、NSX、vSAN等产品的测试,而测试这些实验都需要多台ESXi。但大多数的IT同学们都没有这样的环境,所以基本上都只能在一台ESXi服务器上运行ESXi虚拟机,也就所谓的ESXi嵌套。借助VMware强大的虚拟功能,就是让我们IT苦工也能做自己想做的实验。

    但安装嵌套esxi的vmware tools和普通的windows、linux虚拟机安装VMware tools还是有一定的区别,具体过程如下:

说明

This VIB package provides a VMware Tools service (vmtoolsd) for running inside a nested ESXi virtual machine. The following capabilities are exposed through VMware Tools:

  • Provides guest OS information of the nested ESXi Hypervisor (eg. IP address, configured hostname, etc.).

  • Allows the nested ESXi VM to be cleanly shut down or restarted when performing power operations with the vSphere Web/C# Client or vSphere APIs.

  • Executes scripts that help automate ESXi guest OS operations when the guest’s power state changes.

  • Supports the Guest Operations API (formally known as the VIX API).

New in version 1.1:

– Now reports IPv6 addresses as well as IPv4 addresses for nested ESXi guests.

clip_image001

 

系统要求

  • A VMware product on the host that is compatible with VMware Tools 9.7.

  • Nested ESXi running vSphere 5.x

 

安装

      VMware Tools for Nested ESXi can be installed on any ESXi 5.x guest. This Fling is packaged as a VIB that can be installed using the esxcli command from the guest's ESXi shell (which can be enabled in the DCUI under Troubleshooting Options).

There are two methods in which you can install the VIB:

 

方法1:离线安装(vib包下载到esxi主机)

  1. Download VIB and upload to an ESXi datastore:

  2. Download the VIB file and upload to an ESXi datastore

  3. esxcli software vib install -v /vmfs/volumes/[DATASTORE]/esx-tools-for-esxi-9.7.1-0.0.00000.i386.vib -f(安装命令)

 

方法2: 在线安装(Esxi从互联网下载vib包)

esxcli software vib install -v http://download3.vmware.com/software/vmw-tools/esxi_tools_for_guests/esx-tools-for-esxi-9.7.1-0.0.00000.i386.vib -f

删除

To uninstall the VIB:

esxcli software vib remove -n esx-tools-for-esxi

效果

clip_image002

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章