Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan penilaian offline yang dapat Anda buat dengan klien penemuan dan mcdc CLI.
Ringkasan
Discovery client dan mcdcCLI
memungkinkan Anda menjalankan penilaian offline dengan informasi yang Anda kumpulkan
pada fase penemuan. Penilaian offline membuat laporan yang memberikan hasil penilaian kesesuaian tingkat tinggi untuk migrasi dan potensi penghambat untuk berbagai perjalanan migrasi. Penilaian offline juga menjelaskan masalah apa pun yang harus diselesaikan sebelum migrasi.
Fitur ini memberikan penilaian kecocokan secara keseluruhan menggunakan salah satu skor berikut:
Sangat cocok
Kesesuaian baik, dengan beberapa temuan yang mungkin memerlukan perhatian
Membutuhkan sedikit penyesuaian sebelum dimigrasikan
Memerlukan sedikit penyesuaian sebelum dimigrasikan
Perlu banyak penyesuaian sebelum dimigrasikan
Tidak cocok
Data tidak memadai
Anda dapat membuat laporan dalam format HTML, Microsoft Excel, CSV, dan JSON.
Sebelum memulai
Untuk membuat laporan penilaian offline, temukan dan kumpulkan data dari aset Anda dengan
discovery client
atau
CLI mcdc.
Membuat laporan dengan discovery client
Untuk membuat dan mendownload laporan offline dengan klien penemuan,
ikuti langkah-langkah berikut:
Di aplikasi klien penemuan, buka tab Reports.
Klik Laporan baru.
Masukkan nama untuk laporan Anda, lalu pilih format yang ingin Anda ekspor.
Untuk mengonfirmasi, klik Buat.
Setelah laporan Anda siap, klik Download.
Membuat laporan dengan CLI mcdc
CLI mcdc memungkinkan Anda menghasilkan laporan penilaian offline
sebagai format file HTML, JSON, CSV, atau XLSX. Laporan HTML dan CSV tersedia
sebagai versi ringkasan dan mendetail.
HTML
Ringkasan
Di direktori tempat Anda mendownload mcdc CLI,
jalankan perintah berikut:
Alat ini akan menghasilkan file HTML bernama REPORT_NAME.html ke direktori saat ini.
Untuk melihat laporan, buka
REPORT_NAME.html di
browser.
Laporan ini mencakup bagian analisis biaya.
Gunakan laporan ini untuk memperkirakan biaya menjalankan workload yang dimodernisasi di
Google Cloud. Laporan mengelompokkan VM menurut strategi modernisasi, dan menjumlahkan biaya menurut strategi modernisasi, dan menurut biaya keseluruhan. Analisis biaya membantu Anda memutuskan strategi modernisasi yang akan diterapkan, bergantung pada seberapa banyak workload yang ingin Anda modernisasi, dan seberapa besar upaya yang ingin Anda investasikan.
Penghitungan didasarkan pada detail konfigurasi VM, seperti jumlah CPU, memori, dan penyimpanan, serta tidak termasuk VM yang tidak sesuai dengan target modernisasi.
Terperinci
Di direktori tempat Anda mendownload mcdc CLI,
jalankan perintah berikut:
Alat ini akan menghasilkan file HTML bernama REPORT_NAME.html ke direktori saat ini.
Untuk melihat laporan, buka
REPORT_NAME.html di
browser.
Laporan ini berisi tabel yang mencantumkan semua VM yang ditemukan.
Anda dapat menambahkan kolom lainnya ke tabel.
Anda juga dapat menerapkan filter teks ke tabel.
Anda dapat membuka VM apa pun dalam tabel untuk melihat atribut, perjalanan target, dan komponen aplikasinya. Kemudian, Anda dapat membuka komponen aplikasi mana pun dari VM untuk melihat atribut dan perjalanan targetnya.
Laporan HTML mendetail dapat gagal dibuka saat melaporkan sejumlah besar VM–biasanya lebih dari 10.000 VM, tetapi jumlah pastinya bergantung pada komputer, browser, dan konten laporan Anda. Laporan XLSX adalah alternatif yang baik dalam kasus tersebut.
JSON
Di direktori tempat Anda mendownload mcdc CLI,
jalankan perintah berikut:
Alat ini menghasilkan spreadsheet bernama
REPORT_NAME.xlsx ke
direktori saat ini.
Buka spreadsheet.
Spreadsheet berisi sejumlah worksheet yang menampilkan hal berikut:
Informasi tentang semua VM yang ditemukan
Informasi tentang semua komponen aplikasi yang ditemukan
Skor kecocokan untuk semua perjalanan untuk setiap komponen VM dan aplikasi
Satu sheet per perjalanan yang berisi hasil untuk semua aturan untuk perjalanan tersebut
CLI mcdc menyimpan data penilaian dan informasi log
di direktori ~/.mcdc pada mesin host.
Untuk mengetahui informasi tentang cara menghapus data ini, lihat
Menghapus data yang dikumpulkan dari mesin host.
Menentukan platform target
Saat membuat laporan, gunakan tanda --target-platform untuk menunjukkan platform tertentu yang ingin Anda gunakan untuk memigrasikan VM.
Opsi yang tersedia adalah: gcp, gdc, containers, dan all.
Setiap opsi memungkinkan Anda menentukan serangkaian perjalanan yang berbeda untuk dievaluasi:
gcp menilai perjalanan lift and shift ke Compute Engine, Google Cloud VMware Engine, dan perjalanan containerisasi ke Google Kubernetes Engine, GKE Autopilot, dan Cloud Run.
gdc menilai perjalanan lift and shift ke Google Distributed Cloud dan perjalanan containerization ke GKE dan Cloud Run.
containers menilai modernisasi ke Google Distributed Cloud, Google Kubernetes Engine, GKE Autopilot, dan Cloud Run.
all menilai semua kemungkinan perjalanan.
Misalnya, untuk membatasi laporan pada perjalanan migrasi gcp, jalankan
perintah berikut:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-03 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)."]]