如何运行 ESXi 4.1、5.x、6.x 和 7.x 的 EMCgrab/ESXi grab 实用程序

Summary: 如何运行 ESXi 4.1、5.x、6.x 和 7.x 的 EMCgrab/ESXi grab 实用程序:

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

客户端/服务器连接的要求:
                             - 适用于 ESXi 的 EMCgrab/ESXiGrab 要求运行 esxigrab.exe (Windows) 或 esxigrab.sh (Linux) 的客户端具有网络连接,并且可以与 ESXi 服务器通信以收集信息。
                            - 客户端计算机必须具有对 vCenter 的 HTTP 访问权限。
                             - 确保您的文件系统至少有 500M 的可用磁盘空间,用于处理过程中可能生成的临时文件。

指示:

  1. https://central.dell.com/solutions/ESXiGrab 下载最新的 esxigrab 收集脚本(需要戴尔帐户)。
  2. 上面的位置包含 32/64 位 Windows 和 64 位 Linux 客户端的二进制文件 + 用于说明的自述文件。
  3. 在客户端计算机上,创建一个文件夹并将下载的 ESXi-Grab 收集脚本移动到该文件夹中。
  4. 将客户端计算机上的收集脚本解压到创建的目录中。确保您的文件系统至少有 500M 的可用磁盘空间,用于处理过程中可能生成的临时文件。
  5. 使用以下选项运行 EMCgrab: 
在 Windows 客户端上:
esxigrab.exe -host <ESXi-ip-address> -user root -vmsupport -trust_rsa_cert
在 Linux 客户端上:
./esxigrab.sh -host <ESXi-ip-address> -user root -vmsupport -trust_rsa_cert

            哪里 -trust_rsa_cert 选项允许 SSH 连接收集特定的 esxcli、esxcfg 和 PowerPath 信息,以及 -vmsupport 选项包括.zip包中的 vm-support logbundle

  1. 收集完成后,cd 到输出文件夹并将收集的.zip包上传到服务请求。
与上面位于相同位置的自述文件包含可以使用的选项的完整列表,但上面应该是很好的起点。

或者 如果未安装 PowerPath/VE,您还可以创建 vm-support 日志捆绑包:

  1. 命令 [vm-support] 可以通过 ssh 会话直接在 ESXi 主机上运行,这会以 hostname-date.tgz> 格式<存入文件。
  2. 将日志从 ssh 会话中提及的位置下载到本地计算机,然后上传到 SR。
或查看

https://kb.vmware.com/kb/653https://kb.vmware.com/kb/2032892 

Additional Information

FTP 访问需要使用 Microsoft Internet Explorer 或具有 IETab 的 Google Chrome 或具有 IETab 的 Microsoft EDGE 或第三方 FTP 客户端。

Affected Products

PowerPath/VE for VMware
Article Properties
Article Number: 000188621
Article Type: How To
Last Modified: 20 Jan 2025
Version:  8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.