Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite wird die Offlinebewertung beschrieben, die Sie mit dem Discovery-Client und der mcdc-Befehlszeile erstellen können.
Übersicht
Mit dem Discovery-Client und der mcdc-Befehlszeile können Sie mit den Informationen, die Sie in der Discovery-Phase erfasst haben, eine Offlinebewertung ausführen. Mit der Offlinebewertung werden Berichte erstellt, die eine grundlegende Eignungsbewertung für die Migration bieten und potenzielle Hindernisse für verschiedene Migrationsvorgänge benennen. Die Offlinebewertung gibt auch alle Probleme an, die vor der Migration behoben werden müssen.
Sie bietet eine Eignungsbewertung mit einer der folgenden Punktzahlen:
Hervorragend geeignet
Gut geeignet mit einigen Ergebnissen, die Ihre Aufmerksamkeit erfordern könnten
Sie müssen vor der Migration minimale Änderungen vornehmen
Sie müssen vor der Migration moderate Änderungen vornehmen
Sie müssen vor der Migration viele Änderungen vornehmen
Nicht geeignet
Nicht genügend Daten
Sie können Berichte im HTML-, Microsoft Excel-, CSV- und JSON-Format erstellen.
Hinweise
Um einen Offlinebewertungsbericht zu erstellen, müssen Sie mit dem Discovery-Client oder der mcdc-Befehlszeile Daten aus Ihren Assets ermitteln und erfassen.
Bericht mit dem Discovery-Client erstellen
So erstellen und laden Sie einen Offlinebericht mit dem Discovery-Client herunter:
Rufen Sie in der Discovery-Clientanwendung den Tab Berichte auf.
Klicken Sie auf Neuer Bericht.
Geben Sie einen Namen für den Bericht ein und wählen Sie das Format aus, in dem Sie ihn exportieren möchten.
Klicken Sie zur Bestätigung auf Erstellen.
Wenn Ihr Bericht fertig ist, klicken Sie auf Herunterladen.
Bericht mit der mcdc-Befehlszeile erstellen
Mit der mcdc-Befehlszeile können Sie den Offlinebewertungsbericht als HTML-, JSON-, CSV- oder XLSX-Datei ausgeben lassen. HTML- und CSV-Berichte sind als Zusammenfassungs- und Detailversionen verfügbar.
HTML
Zusammenfassung
Führen Sie im Verzeichnis, in dem Sie die mcdc-CLI heruntergeladen haben, den folgenden Befehl aus:
Das Tool gibt eine HTML-Datei namens REPORT_NAME.html im aktuellen Verzeichnis aus.
Öffnen Sie REPORT_NAME.html in einem Browser, um den Bericht anzuzeigen.
Dieser Bericht enthält einen Abschnitt zur Kostenanalyse.
Verwenden Sie diesen Bericht, um die Kosten für die Ausführung modernisierter Arbeitslasten inGoogle Cloudzu schätzen. Im Bericht werden VMs nach Modernisierungsstrategie gruppiert und die Kosten nach Modernisierungsstrategie und nach Gesamtkosten zusammengefasst. Die Kostenanalyse hilft Ihnen bei der Entscheidung, welche Modernisierungsstrategie Sie verfolgen möchten, abhängig davon, wie umfassend Sie Ihre Arbeitslasten modernisieren möchten und wie viel Aufwand Sie investieren möchten.
Die Berechnung basiert auf den Konfigurationsdetails der VMs, z. B. Anzahl der CPUs, Arbeitsspeicher und Speicher, und schließt VMs aus, die nicht zu den Modernisierungszielen passen.
Detailliert
Führen Sie im Verzeichnis, in dem Sie die mcdc-CLI heruntergeladen haben, den folgenden Befehl aus:
Das Tool gibt eine HTML-Datei namens REPORT_NAME.html im aktuellen Verzeichnis aus.
Öffnen Sie REPORT_NAME.html in einem Browser, um den Bericht anzuzeigen.
Der Bericht enthält eine Tabelle mit allen erkannten VMs.
Sie können der Tabelle weitere Spalten hinzufügen.
Sie können auch einen Textfilter auf die Tabelle anwenden.
Sie können jede VM in der Tabelle öffnen, um die zugehörigen Attribute, Zielprozesse und Anwendungskomponenten aufzurufen. Sie können dann jede der Anwendungskomponenten von der VM öffnen, um die zugehörigen Attribute und Zielprozesse zu sehen.
Es kann vorkommen, dass der detaillierte HTML-Bericht bei einer sehr großen Anzahl von VMs (normalerweise mehr als 10.000 VMs) nicht geöffnet werden kann. Die genaue Anzahl hängt von Ihrem Computer, Ihrem Browser und dem Inhalt des Berichts ab. Der XLSX-Bericht ist in diesen Fällen eine gute Alternative.
JSON
Führen Sie im Verzeichnis, in dem Sie die mcdc-CLI heruntergeladen haben, den folgenden Befehl aus:
Das Tool gibt eine Tabelle mit dem Namen REPORT_NAME.xlsx in das aktuelle Verzeichnis aus.
Öffnen Sie die Tabelle.
Die Tabelle enthält eine Reihe von Arbeitsblättern, die Folgendes anzeigen:
Informationen zu allen erkannten VMs
Informationen zu allen erkannten Anwendungskomponenten
Eignungspunktzahl für alle Prozesse für jede VM und jede Anwendungskomponente
Ein Arbeitsblatt pro Prozess, das die Ergebnisse aller Regeln für diesen Prozess enthält
Die mcdc-CLI speichert Bewertungsdaten und Loginformationen im Verzeichnis ~/.mcdc auf dem Hostcomputer.
Informationen zum Entfernen dieser Daten finden Sie unter Erfasste Daten vom Hostcomputer löschen.
Zielplattform angeben
Verwenden Sie beim Generieren eines Berichts das Flag --target-platform, um die spezifische Plattform anzugeben, zu der Sie Ihre VMs migrieren möchten.
Verfügbare Optionen sind gcp, gdc, containers und all.
Bei jeder Option können Sie einen anderen Satz von Prozessen angeben, die ausgewertet werden sollen:
gcp bewertet Lift-and-Shift-Prozesse zu Compute Engine und Google Cloud VMware Engine sowie Containerisierungsprozesse zu Google Kubernetes Engine, GKE Autopilot und Cloud Run.
gdc bewertet Lift-and-Shift-Prozesse für Google Distributed Cloud und Containerisierungsprozesse für GKE und Cloud Run.
containers bewertet die Modernisierung auf Google Distributed Cloud, Google Kubernetes Engine, GKE Autopilot und Cloud Run.
all bewertet alle möglichen Prozesse.
Wenn Sie den Bericht beispielsweise auf den Migrationspfad gcp beschränken möchten, führen Sie den folgenden Befehl aus:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-11 (UTC)."],[],[],null,["# Run an offline assessment\n\nThis page describes the offline assessment that you can generate with the\ndiscovery client and the `mcdc` CLI.\n\nOverview\n--------\n\nThe discovery client and the `mcdc` CLI\nlet you run an offline assessment with the information that you collect\nin the discovery phase. The offline assessment creates reports that provide\nyou with a high-level fit assessment result for migration and potential\nblockers for different migration journeys. The offline assessment also\ndescribes any issues that must be resolved before the migration.\n\nIt provides an overall fit assessment using one of the following scores:\n\n- Excellent fit\n- Good fit, with some findings that might require attention\n- Needs minimal work before migrating\n- Needs moderate work before migrating\n- Needs major work before migrating\n- No fit\n- Insufficient data\n\nYou can generate reports in HTML, Microsoft Excel, CSV, and JSON format.\n\nBefore you begin\n----------------\n\n- To generate an offline assessment report, discover and collect data from your assets with the [discovery client](/migration-center/docs/add-servers) or the [`mcdc` CLI](/migration-center/docs/run-inventory-discovery).\n\nGenerate a report with the discovery client\n-------------------------------------------\n\nTo generate and download an offline report with the discovery client,\nfollow these steps:\n\n1. In the discovery client application, go to the **Reports** tab.\n2. Click **New report**.\n3. Enter a name for your report, then select the format that you want to export.\n4. To confirm, click **Create**.\n\nWhen your report is ready, click **Download**.\n\nGenerate a report with the `mcdc` CLI\n-------------------------------------\n\nThe `mcdc` CLI lets you output the offline assessment report\nas HTML, JSON, CSV, or XLSX file format. HTML and CSV reports are available\nas summary and detailed versions. \n\n### HTML\n\n### Summary\n\n1. In the directory where you downloaded `mcdc` CLI,\n run the following command:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc report --format html --file REPORT_NAME.html\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe report --format html --file REPORT_NAME.html\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n The tool outputs to the current directory an HTML file named\n \u003cvar scope=\"REPORT_NAME\" translate=\"no\"\u003eREPORT_NAME\u003c/var\u003e.html.\n2. To view the report, open\n \u003cvar scope=\"REPORT_NAME\" translate=\"no\"\u003eREPORT_NAME\u003c/var\u003e.html in a\n browser.\n\n This report includes a cost analysis section.\n\n Use this report to estimate the cost of running modernized workloads in\n Google Cloud. The report groups VMs by modernization strategy, and\n sums the cost by modernization strategy, and by overall cost. The cost\n analysis helps you decide what modernization strategy to purse,\n depending on how much you want to modernize your workloads, and\n how much effort you plan to invest.\n\n The calculation is based on the VMs configuration details, such as\n number of CPUs, memory, and storage, and excludes VMs that don't fit\n modernization targets.\n\n### Detailed\n\n1. In the directory where you downloaded `mcdc` CLI,\n run the following command:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc report --format html --full --file REPORT_NAME.html\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe report --format html --full --file REPORT_NAME.html\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n The tool outputs to the current directory an HTML file named\n \u003cvar scope=\"REPORT_NAME\" translate=\"no\"\u003e REPORT_NAME\u003c/var\u003e.html.\n2. To view the report, open\n \u003cvar scope=\"REPORT_NAME\" translate=\"no\"\u003eREPORT_NAME\u003c/var\u003e.html in a\n browser.\n\n The report contains a table listing all of the discovered VMs.\n It is possible to add further columns to the table.\n You can also apply a text filter to the table.\n\n You can open any VM in the table to see its attributes, target\n journeys, and app components. You can then open any of the app\n components from the VM to see their attributes and target journeys.\n\n The detailed HTML report can fail to open when reporting on a very\n large number of VMs--typically more than 10,000 VMs, but the exact\n number depends on your machine, on your browser, and on the content\n of the report. The XLSX report is a good alternative in such cases.\n\n### JSON\n\n1. In the directory where you downloaded `mcdc` CLI,\n run the following command:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc report --format json --file REPORT_NAME.json\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe report --format json --file REPORT_NAME.json\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n The tool outputs a JSON file named\n \u003cvar scope=\"REPORT_NAME\" translate=\"no\"\u003eREPORT_NAME\u003c/var\u003e.json to\n the current directory.\n2. Open the file with a text editor.\n\n### CSV\n\n### Summary\n\n1. In the directory where you downloaded `mcdc` CLI,\n run the following command:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc report --format csv --file REPORT_NAME.csv\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe report --format csv --file REPORT_NAME.csv\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n The tool outputs a CSV file named\n \u003cvar scope=\"REPORT_NAME\" translate=\"no\"\u003eREPORT_NAME\u003c/var\u003e.csv to the\n current directory.\n2. Import the CSV report into your data visualization utility.\n\n The report contains the fit score for each journey for each VM, but\n doesn't include results for individual rules.\n\n### Detailed\n\n1. In the directory where you downloaded `mcdc` CLI,\n run the following command:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc report --format csv --full --file REPORT_NAME.csv\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe report --format csv --full --file REPORT_NAME.csv\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n The tool outputs a CSV file named\n \u003cvar scope=\"REPORT_NAME\" translate=\"no\"\u003eREPORT_NAME\u003c/var\u003e.csv to the\n current directory.\n2. Import the CSV report into your data visualization utility.\n\n The report contains the results for all rules for each VM and\n application component.\n\n### XLSX\n\n1. In the directory where you downloaded `mcdc` CLI,\n run the following command:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc report --format xlsx --file REPORT_NAME.xlsx\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe report --format xlsx --file REPORT_NAME.xlsx\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n The tool outputs a spreadsheet named\n \u003cvar scope=\"REPORT_NAME\" translate=\"no\"\u003eREPORT_NAME\u003c/var\u003e.xlsx to the\n current directory.\n2. Open the spreadsheet.\n\n The spreadsheet contains a number of worksheets displaying the following:\n - Information about all discovered VMs\n - Information about all discovered application components\n - Fit score for all journeys for each VM and app component\n - A worksheet per journey containing the results for all rules for that journey\n\nThe `mcdc` CLI stores assessment data and log information\nin the `~/.mcdc` directory on the host machine.\nFor information on how to remove this data, see\n[Delete collected data from host machine](/migration-center/docs/manage-collector-cli#delete_collected_data_from_host_machine).\n\n### Specify the target platform\n\nWhen generating a report, use the `--target-platform` flag to indicate the\nspecific platform to which you want to migrate your VMs.\nThe available options are: `gcp`, `gdc`, `containers`, and `all`.\nEach option lets you specify a different set of journeys to evaluate:\n\n- `gcp` assesses lift and shift journeys to Compute Engine, Google Cloud VMware Engine, and containerization journeys to Google Kubernetes Engine, GKE Autopilot, and Cloud Run.\n- `gdc` assesses lift and shift journeys to Google Distributed Cloud and containerization journeys to GKE and Cloud Run.\n- `containers` assesses modernization to Google Distributed Cloud, Google Kubernetes Engine, GKE Autopilot, and Cloud Run.\n- `all` assesses all possible journeys.\n\nFor example, to limit the report to the `gcp` migration journey, run\nthe following command: \n\n### Linux\n\n\u003cbr /\u003e\n\n```\n./mcdc report --format FORMAT --target-platform gcp --file REPORT_NAME\n```\n\n\u003cbr /\u003e\n\n### Windows\n\n\u003cbr /\u003e\n\n```\nmcdc.exe report --format FORMAT --target-platform gcp --file REPORT_NAME\n```\n\n\u003cbr /\u003e\n\nIf you use the `mcdc` CLI in a\n[Google Distributed Cloud environment](/distributed-cloud/hosted/docs/latest/gdch/overview),\nthen specify the `gdc` value for the target platform: \n\n### Linux\n\n\u003cbr /\u003e\n\n```\n./mcdc report --format FORMAT --target-platform gdc --file REPORT_NAME\n```\n\n\u003cbr /\u003e\n\n### Windows\n\n\u003cbr /\u003e\n\n```\nmcdc.exe report --format FORMAT --target-platform gdc --file REPORT_NAME\n```\n\n\u003cbr /\u003e\n\nWhat's next\n-----------\n\n- Learn how to generate a [total cost of ownership (TCO) report](/migration-center/docs/generate-tco-report)."]]