Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Nesta página, descrevemos a avaliação off-line que pode ser gerada com o
cliente de descoberta e a CLI mcdc.
Visão geral
O discovery client e a CLI mcdc
permitem executar uma avaliação off-line com as informações coletadas
na fase de descoberta. A avaliação off-line cria relatórios que fornecem
um resultado de alto nível da avaliação de adequação para migração e possíveis bloqueadores
para diferentes jornadas de migração. A avaliação off-line também
descreve todos os problemas que precisam ser resolvidos antes da migração.
Ela fornece uma avaliação de adequação geral usando uma das pontuações a seguir:
Compatibilidade excelente
Boa adequação, algumas descobertas podem exigir atenção
Precisa de um trabalho mínimo antes da migração
Precisa de trabalho moderado antes da migração
Precisa de maior trabalho antes da migração
Sem compatibilidade
Dados insuficientes
É possível gerar relatórios nos formatos HTML, Microsoft Excel, CSV e JSON.
Antes de começar
Para gerar um relatório de avaliação off-line, descubra e colete dados dos seus
ativos com o
discovery client
ou a
CLI mcdc.
Gerar um relatório com o discovery client
Para gerar e baixar um relatório off-line com o cliente de descoberta, siga estas etapas:
No aplicativo cliente de descoberta, acesse a guia Relatórios.
Clique em Novo relatório.
Insira um nome para o relatório e selecione o formato que você quer
exportar.
Para confirmar, clique em Criar.
Quando o relatório estiver pronto, clique em Fazer o download.
Gerar um relatório com a CLI mcdc
A CLI mcdc permite gerar o relatório de avaliação off-line
nos formatos de arquivo HTML, JSON, CSV ou XLSX. Os relatórios em HTML e CSV estão disponíveis
como versões resumidas e detalhadas.
HTML
Resumo
No diretório em que você baixou a CLI mcdc,
execute o seguinte comando:
A ferramenta gera no diretório atual um arquivo HTML chamado REPORT_NAME.html.
Para visualizar o relatório, abra REPORT_NAME.html em um navegador.
Este relatório inclui uma seção de análise de custos.
Use este relatório para estimar o custo da execução de cargas de trabalho modernizadas no
Google Cloud. O relatório agrupa as VMs por estratégia de modernização e soma o custo pela estratégia de modernização
e pelo custo geral. A análise
de custos ajuda a decidir qual estratégia de modernização você quer
buscar, dependendo de quanto você quer modernizar suas cargas de trabalho e
quanto esforço planeja investir.
O cálculo é baseado nos detalhes de configuração das VMs, como número de CPUs, memória e armazenamento, e exclui as VMs que não se encaixam nas metas de modernização.
Detalhado
No diretório em que você baixou a CLI mcdc,
execute o seguinte comando:
A ferramenta gera no diretório atual um arquivo HTML chamado REPORT_NAME.html.
Para visualizar o relatório, abra REPORT_NAME.html em um navegador.
O relatório contém uma tabela que lista todas as VMs descobertas.
É possível adicionar mais colunas à tabela.
Também é possível aplicar um filtro de texto à tabela.
É possível abrir qualquer VM na tabela para ver os atributos, as jornadas de destino e os componentes do aplicativo. Em seguida, é possível abrir qualquer um dos componentes do aplicativo na VM para ver os atributos e as jornadas de destino.
O relatório HTML detalhado pode não ser aberto ao gerar relatórios sobre um número muito grande de VMs. Normalmente, mais de 10.000 VMs, mas o número exato depende da sua máquina, do seu navegador e do conteúdo. do relatório. O relatório XLSX é uma boa alternativa nesses casos.
JSON
No diretório em que você baixou a CLI mcdc,
execute o seguinte comando:
A ferramenta gera uma planilha chamada REPORT_NAME.xlsx para o diretório atual.
Abra a planilha.
A planilha contém várias planilhas que mostram:
Informações sobre todas as VMs descobertas
Informações sobre todos os componentes do aplicativo descobertos
Pontuação adequada para todas as jornadas de cada VM e componente do app
Uma planilha por jornada com os resultados de todas as regras da
jornada
A CLI mcdc armazena dados de avaliação e informações de registro
no diretório ~/.mcdc da máquina host.
Para saber como remover esses dados, consulte
Excluir dados coletados da máquina host.
Especificar a plataforma de destino
Ao gerar um relatório, use a flag --target-platform para indicar a
plataforma específica para onde você quer migrar as VMs.
As opções disponíveis são: gcp, gdc, containers e all.
Cada opção permite especificar um conjunto diferente de jornadas para avaliar:
O gcp avalia as jornadas de lift-and-shift para o Compute Engine, o Google Cloud VMware Engine e as jornadas de conteinerização para o Google Kubernetes Engine, o Autopilot do GKE e o Cloud Run.
O gdc avalia jornadas de lift-and-shift para o Google Distributed Cloud e de conteinerização para o GKE e o Cloud Run.
containers avalia a modernização para o Google Distributed Cloud, o Google Kubernetes Engine, o Autopilot do GKE e o Cloud Run.
all avalia todas as jornadas possíveis.
Por exemplo, para limitar o relatório à jornada de migração gcp, execute o seguinte comando:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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)."]]