This document lists the requirements for downloading and running the Migration Center discovery client CLI and guest collection scripts.
Requirements for downloading and running mcdc
CLI
To download and run the mcdc
CLI, you need to meet
the following requirements.
Requirements for Linux
The mcdc
CLI runs on all Linux machines with glibc
version 2.25 or later, which includes the following Linux operating systems:
- Ubuntu 18 or later
- CentOS 8 or later
- RHEL 8 or later
- Debian 11 or later
- openSUSE Leap 15 or later
Requirements for Windows
The mcdc
CLI runs on machines with the following
operating systems:
- Windows 10 or later
- Windows Server 2016 or later
Requirements for VMware VMs
To use the mcdc
CLI to collect data using VMware
inventory discovery:
- 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 themcdc
CLI host machine and target vCenter server and ESX hosts. - The vSphere vCenter server must be version 5.5 or later.
- The vSphere vCenter server must support TLS version 1.2 or later.
- The username you pass to the
mcdc
CLI must have read privileges on one or more VMs. Themcdc
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 forNo Access
. - 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. - The user running
mcdc
CLI must have read, write, execute privileges on the machine running themcdc
CLI.
To use the mcdc
CLI to run the guest collection
scripts remotely for VMware VMs:
- You need the same permissions to run VMware discovery described earlier.
- 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. - 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. - Port 443 must be open from the
mcdc
CLI Linux station to all ESXI hosts.
Requirements for SSH collection
To use the mcdc
CLI to run the guest collection scripts
remotely using SSH:
The machine hosting the
mcdc
CLI must have SSH access to the target Linux machines.
Requirements for IP range scan
To use the mcdc
CLI to run an IP range scan:
- Configure your network firewalls to enable ICMP requests on the network or machines in your infrastructure.
- 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
.
Requirements for downloading and running guest collection scripts
mcdc-linux-collect.sh
runs on all Linux versions.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.
What's next
- Learn how to download the
mcdc
CLI.