mcdc CLI 用于执行脚本的虚拟机用户凭据必须具有 Windows 虚拟机的目标客户机的管理员权限。
对于 mcdc CLI Linux 工作站到所有 ESXI 主机,端口 443 必须打开。
SSH 收集要求
如需使用 mcdc CLI 通过 SSH 远程运行客机收集脚本,请执行以下操作:
托管 mcdc CLI 的机器必须具有对目标 Linux 机器的 SSH 访问权限。
IP 范围扫描的要求
如需使用 mcdc CLI 运行 IP 地址范围扫描,请执行以下操作:
配置网络防火墙,以便在基础架构中的网络或计算机上启用 ICMP 请求。
向非特权用户授予从主机执行 ping 的权限。或者,在运行 IP 地址范围扫描之前,运行 sudo setcap cap_net_raw-ep ./mcdc。
下载和运行客机收集脚本的要求
mcdc-linux-collect.sh 可以在所有 Linux 版本上运行。
mcdc-windows-collect.ps1 要求拥有 PowerShell 2.0 或更高版本(非 PowerShell Core),以及 GUI shell(非 Server Core)或 .NET Framework 4.5 或更高版本。高于或等于 Windows 8 和 Windows Server 2012 的所有 Windows 版本,以及大多数 Windows 7 和 Windows Server 2008 R2 机器均支持这些要求。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-11。"],[],[],null,["# Review requirements\n\nThis document lists the requirements for downloading and running the\nMigration Center discovery client CLI and guest collection scripts.\n\nRequirements for downloading and running `mcdc` CLI\n---------------------------------------------------\n\nTo download and run the `mcdc` CLI, you need to meet\nthe following requirements.\n\n### Hardware requirements\n\nTo optimize performance, make sure that the virtual machine (VM)\nhosting the discovery client meets these specifications:\n\n- 2 CPU cores\n- 4 GB RAM\n- 30 GB free space\n\n### Requirements for Linux\n\nThe `mcdc` CLI runs on all Linux machines with `glibc`\nversion 2.25 or later, which includes the following Linux operating systems:\n\n- Ubuntu 18 or later\n- CentOS 8 or later\n- RHEL 8 or later\n- Debian 11 or later\n- openSUSE Leap 15 or later\n\n### Requirements for Windows\n\nThe `mcdc` CLI runs on machines with the following\noperating systems:\n\n- Windows 10 or later\n- Windows Server 2016 or later\n\n| **Warning:** The local database is encrypted by using the [Windows Data Protection API](https://learn.microsoft.com/en-us/previous-versions/ms995355(v%3Dmsdn.10)). Resetting the Windows user password can cause the loss of all locally collected data.\n\n### Requirements for VMware VMs\n\nTo use the `mcdc` CLI to collect data using VMware\ninventory discovery:\n\n- The machine running the `mcdc` CLI must be able to connect to your vCenter and ESX hosts. This includes opening all necessary ports in firewall rules and ensuring network connectivity between the `mcdc` CLI host machine and target vCenter server and ESX hosts.\n- The vSphere vCenter server must be version 5.5 or later.\n- The vSphere vCenter server must support TLS version 1.2 or later.\n- The username you pass to the `mcdc` CLI must have read privileges on one or more VMs. The `mcdc` CLI is only able to discover information about VMs that are accessible to the specified user. The read privilege is typically assigned to all roles except for `No Access`.\n- The username you pass to the `mcdc` CLI must have read privileges on the host ESX. If there are multiple ESX servers, then read privileges are required for every ESX that hosts a discovered VM.\n- The user running `mcdc` CLI must have read, write, execute privileges on the machine running the `mcdc` CLI.\n\nTo use the `mcdc` CLI to run the guest collection\nscripts remotely for VMware VMs:\n\n- You need the same permissions to run VMware discovery described earlier.\n- The username you pass to the `mcdc` CLI to connect to vSphere must have the following privileges on the VM: Guest operation modifications, Guest operation program execution, and Guest operation queries.\n- The VM user credentials used by the `mcdc` CLI to execute the script must have administrator privileges on the target guest machine for Windows VM.\n- Port 443 must be open from the `mcdc` CLI Linux station to all ESXI hosts.\n\n### Requirements for SSH collection\n\nTo use the `mcdc` CLI to run the guest collection scripts\nremotely using SSH:\n\n- The machine hosting the `mcdc` CLI must have\n SSH access to the target Linux machines.\n\n | **Note:** `mcdc` CLI doesn't support running the guest collection scripts remotely using SSH on Windows machines.\n\n### Requirements for IP range scan\n\nTo use the `mcdc` CLI to run an IP range scan:\n\n- Configure your network firewalls to enable ICMP requests on the network or machines in your infrastructure.\n- Give permissions to unprivileged users to perform a ping from the host machine. Alternatively, before running an IP range scan, run `sudo setcap cap_net_raw-ep ./mcdc`.\n\nRequirements for downloading and running guest collection scripts\n-----------------------------------------------------------------\n\n- `mcdc-linux-collect.sh` runs on all Linux versions.\n- `mcdc-windows-collect.ps1` requires PowerShell 2.0 or later (not PowerShell Core), and either a GUI shell (not server core) or .Net framework 4.5 or later. All Windows versions greater than or equal to Windows 8 and Windows Server 2012 support these requirements, as do the vast majority of Windows 7 and Windows Server 2008 R2 machines.\n\nWhat's next\n-----------\n\n- Learn how to [download the `mcdc` CLI](/migration-center/docs/download-collector-cli)."]]