Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Scopri, raccogli e valuta le VM VMware per la migrazione
Scopri come scaricare l'interfaccia a riga di comando del client di rilevamento di Migration Center e utilizzarla per rilevare, raccogliere e valutare da remoto le istanze di macchine virtuali (VM) in esecuzione su VMware per la migrazione e la containerizzazione.
Puoi generare report di valutazione offline in un formato HTML intuitivo.
Questi report mostrano i risultati per ciascuno dei target di migrazione e illustrano le azioni da intraprendere per eliminare blocchi e rischi.
Prima di iniziare
Esegui il provisioning di una macchina Linux per scaricare ed eseguire l'interfaccia a riga di comando mcdc. La macchina Linux deve avere i seguenti requisiti minimi:
glibc versione 2.25 o successive
4 GB di RAM e 10 GB di spazio su disco
Connettività di rete agli host vCenter ed ESX
Assicurati di disporre di un utente vSphere con le seguenti autorizzazioni:
Privilegi di lettura per le VM
Privilegi di lettura per tutti gli host ESX
Modifiche all'operazione ospite
Esecuzione del programma di operazioni ospite
Query sulle operazioni guest
Assicurati di avere un utente con diritti di amministratore o root per tutte le VM guest di destinazione.
Scarica l'interfaccia a riga di comando mcdc
Connettiti alla macchina Linux:
sshMACHINE_IP
Sostituisci MACHINE_IP con l'indirizzo IP della tua macchina Linux.
Scarica la versione più recente dell'interfaccia a riga di comando mcdc e rendila eseguibile:
Vengono creati i file HTML denominati Summary_Report.html e Detailed_Report.html. Apri i report in un browser.
Esegui la pulizia
L'esecuzione della CLI mcdc non comporta costi.
Tuttavia, puoi eliminare i dati raccolti dal database locale.
Elimina i dati dell'interfaccia a riga di comando mcdc:
./mcdcdiscoverpurge-db-dbDATABASE_NAME
Sostituisci DATABASE_NAME con il percorso del database in cui sono memorizzati i dati raccolti. In genere si trova nella stessa directory in cui hai scaricato l'interfaccia a riga di comando mcdc.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# Discover, collect, and assess VMware VMs for migration\n======================================================\n\nLearn how to download the Migration Center discovery client CLI and use it to remotely\ndiscover, collect, and assess virtual machine (VM) instances running on VMware\nfor migration and containerization.\n| **Note:** The `mcdc` CLI can discover, collect, and assess up to 10,000 VMs in a single deployment.\n\nYou can generate offline assessment reports in a user-friendly HTML format.\nThese reports display the results for each of the migration targets and outlines\nactions to take to eliminate blockers and risks.\n\nBefore you begin\n----------------\n\n1. Provision a Linux machine to download and run the\n `mcdc` CLI. The Linux machine must have the\n following minimum requirements:\n\n - `glibc` version 2.25 or later\n - 4 GB RAM and 10 GB disk space\n - Network connectivity to vCenter and ESX hosts\n2. Ensure that you have a vSphere user with the following permissions:\n\n - Read privileges to VMs\n - Read privileges to all the ESX hosts\n - Guest operation modifications\n - Guest operation program execution\n - Guest operation queries\n3. Ensure that you have a user with administrator or root rights to all the\n target guest VMs.\n\nDownload `mcdc` CLI\n-------------------\n\n1. Connect to the Linux machine:\n\n ssh \u003cvar translate=\"no\"\u003eMACHINE_IP\u003c/var\u003e\n\n Replace \u003cvar translate=\"no\"\u003eMACHINE_IP\u003c/var\u003e with the IP address of your Linux machine.\n2. Download the latest version of the `mcdc` CLI and make it\n executable:\n\n curl -O \"https://mcdc-release.storage.googleapis.com/$(curl -s https://mcdc-release.storage.googleapis.com/latest)/mcdc\"\n chmod +x mcdc\n\nPerform VMware inventory discovery\n----------------------------------\n\n- Run the inventory discovery:\n\n ./mcdc discover vsphere -u \u003cvar translate=\"no\"\u003eUSERNAME\u003c/var\u003e --url https://\u003cvar translate=\"no\"\u003eVSPHERE_URL\u003c/var\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eUSERNAME\u003c/var\u003e: your vCenter username\n - \u003cvar translate=\"no\"\u003eVSPHERE_URL\u003c/var\u003e: the URL for your vCenter Server instance or the vSphere Client\n\n The output of the `discover` command looks like the following: \n\n ```\n [+] Found 13 VMs\n Collecting data...\n 13 / 13 [---------------------------------------------------] 100.00% 5 p/s\n [✓] Collection completed.\n ```\n\nPerform guest discovery on all discovered VMs\n---------------------------------------------\n\n- Run the guest discovery:\n\n ```\n ./mcdc discover vsphere guest all --url https://VSPHERE_URL \\\n -u VCENTER_USER --vm-user VM_USER\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eVCENTER_USER\u003c/var\u003e: the vCenter server user\n - \u003cvar translate=\"no\"\u003eVM_USER\u003c/var\u003e: the VM user\n\n When prompted, enter the password for the \u003cvar translate=\"no\"\u003eVCENTER_USER\u003c/var\u003e\n and \u003cvar translate=\"no\"\u003eVM_USER\u003c/var\u003e.\n\nGenerate reports to visualize the assessment\n--------------------------------------------\n\n- Generate a summary report:\n\n ./mcdc report --format html \u003e Summary_Report.html\n\n- Generate a detailed report:\n\n ./mcdc report --format html --full \u003e Detailed_Report.html\n\n HTML files named `Summary_Report.html` and `Detailed_Report.html` are\n created. Open the reports in a browser.\n\nClean up\n--------\n\nThere are no charges associated with running the `mcdc` CLI.\nHowever, you can delete the collected data from the local database.\n\n- Delete the `mcdc` CLI data:\n\n ./mcdc discover purge-db -db \u003cvar translate=\"no\"\u003eDATABASE_NAME\u003c/var\u003e\n\n Replace \u003cvar translate=\"no\"\u003eDATABASE_NAME\u003c/var\u003e with the path to the database where the\n collected data is stored. Typically, it is in the same directory where you\n downloaded the `mcdc` CLI.\n\nWhat's next\n-----------\n\n- Learn how to [migrate a Linux VM](/migrate/containers/docs/migrate-vm).\n- Learn more about the [`mcdc` CLI](/migration-center/docs/discovery-client-cli-overview)."]]