Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Se você não quiser instalar e executar uma coleta de dados automática com o Discovery Client na sua infraestrutura, faça o upload manual dos dados da sua infraestrutura para a Central de migração.
Primeiro, use o RVTools para coletar dados do sistema e de desempenho das instâncias de máquina virtual (VM) executadas no vCenter.
Em seguida, importe a tabela gerada pelas ferramentas do RV diretamente no
Migration Center para adicionar seus recursos.
Limitações
Para importar dados, crie uma tabela com a RVTools 4.3.1 ou
mais recente. Versões anteriores do RVTools não são compatíveis.
Não é possível usar tabelas geradas com a flag --DBColumnNames.
Quando você faz upload de uma tabela gerada com o RVTools, a Central de migração
usa apenas os dados das seguintes guias:
tabvInfo (obrigatório para XLSX e CSV)
tabvCPU (obrigatório para XLSX e opcional para CSV)
tabvDisk (obrigatório para XLSX e opcional para CSV)
tabvPartition (obrigatório para XLSX e opcional para CSV)
tabvNetwork (obrigatório para XLSX e opcional para CSV)
tabvHost (obrigatório para XLSX e opcional para CSV)
Fazer upload de dados do RVTools
Para fazer o upload manual de uma tabela gerada com o RVTools, siga estas etapas:
Clique em Adicionar dados > Fazer upload de arquivos.
Na seção Configurar o upload de arquivos, insira o nome do upload de arquivos.
Na lista Formato do arquivo, selecione Excel exportado do RVTools ou
CSV exportado do RVTools.
Clique em Selecionar arquivos para fazer upload e selecione todos os arquivos que você
quer enviar.
Para confirmar e começar a fazer upload dos arquivos, clique em Fazer upload de arquivos.
Se os arquivos forem validados corretamente, para criar os recursos com base neles, clique em Importar dados e em Confirmar.
API
Crie um job de importação.
POST https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs?importJobId=IMPORT_JOB_ID
{
"asset_source": "projects/PROJECT_ID/locations/REGION/sources/SOURCE_ID"
}
Substitua:
PROJECT_ID: ID do projeto para criar o
serviço de importação.
REGION: região para criar o job de importação.
IMPORT_JOB_ID: ID do novo job de importação.
SOURCE_ID: ID de uma origem existente a ser
associada ao job de importação.
Opcional: para confirmar se o job de importação foi criado corretamente,
acesse o job de importação.
GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID
Crie um arquivo de dados de importação anexado ao job de importação.
POST https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID/importDataFiles?import_data_file_id=DATA_FILE_ID
{
"format": "IMPORT_JOB_FORMAT"
}
Substitua:
DATA_FILE_ID: ID do novo arquivo de dados
IMPORT_JOB_FORMAT:
IMPORT_JOB_FORMAT_RVTOOLS_CSV ou
IMPORT_JOB_FORMAT_RVTOOLS_EXCEL.
Acesse o arquivo de dados.
GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID/importDataFiles/DATA_FILE_ID
Copie o URL do campo signedUrl da resposta.
Faça upload de um arquivo para o URL copiado.
PUT -H 'Content-Type: application/octet-stream' --upload-file UPLOAD_FILE_PATH 'COPIED_URL'
Substitua:
UPLOAD_FILE_PATH: o caminho local do
arquivo enviado.
COPIED_URL: o URL assinado copiado das
etapas de visualização.
Opcional: repita as etapas 3 a 6 para criar mais arquivos de dados no mesmo job de importação.
Opcional: acesse todos os arquivos de dados de um job de importação.
GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID/importDataFiles
Valide o job de importação.
POST https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID:validate
Acesse o job de importação e confira o relatório de validação.
Se o estado for READY, será possível continuar para as próximas etapas.
Caso contrário, você precisa corrigir o job ou arquivos específicos. Isso pode exigir
a exclusão de arquivos ou o upload de novos.
GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID
Execute o job de importação.
POST https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID:run
Acesse o job de importação e confira o relatório de execução.
Se o estado for COMPLETED, o job foi executado.
Caso contrário, se o job falhar e estiver em um estado terminal, o relatório de execução
vai incluir os erros.
Crie um novo job de importação e aplique as mudanças necessárias.
GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID
Depois de fazer upload dos arquivos, a Central de migração os valida
para verificar se eles estão formalmente corretos. Se a validação for bem-sucedida,
o Migration Center processará os dados para criar novos recursos
ou atualizar os existentes. É possível verificar o status dos jobs de upload
no console Google Cloud .
Para analisar o status do job de envio, siga estas etapas:
Acesse a página Importação de dados e clique em Envios de arquivos.
Na lista de importações de arquivos, selecione o upload que você quer revisar.
Na página de envio de arquivos, em Progresso da importação de dados,
confira o Status dos arquivos enviados.
Seus arquivos podem estar em um dos seguintes status.
Lista de status
Concluído. A importação do arquivo foi concluída.
Pronto. Seu arquivo passou na validação e está pronto para ser importado.
Pendente. Seu arquivo está aguardando outro arquivo terminar o processamento.
Em execução. Seu arquivo está sendo processado.
Validação. Seu arquivo está na fase de validação.
Falha na validação. Seu arquivo contém alguns erros. Corrija os erros e tente fazer o upload do arquivo novamente.
Falhou. Não foi possível importar seu arquivo.
Analisar detalhes do erro
Se você encontrar erros após a importação dos arquivos, analise
a mensagem de erro diretamente no Google Cloud console.
Para analisar os erros do seu job de upload, siga estas etapas:
Acesse a página Importação de dados e clique em Envios de arquivos.
Clique no arquivo de importação que mostra um aviso ou erro.
A página de detalhes do arquivo de importação mostra a lista completa de erros.
Na página de detalhes do arquivo de importação, é possível analisar os recursos e campos de dados
que causam os erros e conferir uma descrição deles.
Erros no job de importação de arquivos podem impedir que o Migration Center
crie novos recursos ou atualize os existentes com as novas mudanças.
Para corrigir o erro, edite seus arquivos e crie um novo job de importação de arquivos para fazer o upload
deles de novo.
[[["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,["# Import RVTools data\n\nIf you don't want to install and run an automatic data collection with\ndiscovery client in your infrastructure, you can manually upload your\ninfrastructure data into Migration Center.\n\nFirst, use RVTools to gather system data and performance data from your virtual\nmachine (VM) instances running on vCenter.\nThen, import the table generated by RVTools directly in\nMigration Center to add your assets.\n\nLimitations\n-----------\n\n- To successfully import data, create a table with RVTools version 4.3.1 or later. Previous versions of RVTools are not supported.\n- Tables generated with the `--DBColumnNames` flag are not supported.\n- When you upload a table generated with RVTools, Migration Center uses only the data from the following tabs:\n - `tabvInfo` (required for XLSX and CSV)\n - `tabvCPU` (required for XLSX, optional for CSV)\n - `tabvDisk` (required for XLSX, optional for CSV)\n - `tabvPartition` (required for XLSX, optional for CSV)\n - `tabvNetwork` (required for XLSX, optional for CSV)\n - `tabvHost` (required for XLSX, optional for CSV)\n\nUpload data from RVTools\n------------------------\n\nTo manually upload a table generated with RVTools, follow these steps: \n\n### Console\n\n1. Go to the **Data import** page.\n\n [Go to Data import](https://console.cloud.google.com/migration/discovery/dataImport)\n2. Click **Add data \\\u003e Upload files**.\n\n3. In the **Set up file upload** section, enter the name of the file upload.\n\n4.\n From the **File format** list, select **Excel exported from RVTools** or\n **CSV exported from RVTools**.\n\n5. Click **Select files to upload**, then select all the files that you\n want to upload.\n\n \u003cbr /\u003e\n\n6. To confirm and start uploading the files, click **Upload files**.\n\n7. If the files are validated correctly, to create the assets from the\n files, click **Import data** , then click **Confirm**.\n\n### API\n\n1. Create an import job.\n\n ```\n POST https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs?importJobId=IMPORT_JOB_ID\n\n {\n \"asset_source\": \"projects/PROJECT_ID/locations/REGION/sources/SOURCE_ID\"\n }\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: ID of the project to create the import job.\n - \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e: Region to create the import job.\n - \u003cvar translate=\"no\"\u003eIMPORT_JOB_ID\u003c/var\u003e: ID of the new import job.\n - \u003cvar translate=\"no\"\u003eSOURCE_ID\u003c/var\u003e: ID of an **existing** source to be associated with the import job.\n2. Optional: To confirm that the import job was correctly created,\n get the import job.\n\n ```\n GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID\n ```\n3. Create a import data file attached to the import job.\n\n ```\n POST https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID/importDataFiles?import_data_file_id=DATA_FILE_ID\n\n {\n \"format\": \"IMPORT_JOB_FORMAT\"\n }\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eDATA_FILE_ID\u003c/var\u003e: ID of the new data file\n - \u003cvar translate=\"no\"\u003eIMPORT_JOB_FORMAT\u003c/var\u003e: Either `IMPORT_JOB_FORMAT_RVTOOLS_CSV` or `IMPORT_JOB_FORMAT_RVTOOLS_EXCEL`\n4. Get the data file.\n\n ```\n GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID/importDataFiles/DATA_FILE_ID\n ```\n5. Copy the URL from the `signedUrl` field from the response.\n\n6. Upload a file to the copied URL.\n\n ```\n PUT -H 'Content-Type: application/octet-stream' --upload-file UPLOAD_FILE_PATH 'COPIED_URL'\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eUPLOAD_FILE_PATH\u003c/var\u003e: The local path of the file that is uploaded.\n - \u003cvar translate=\"no\"\u003eCOPIED_URL\u003c/var\u003e: The copied signed URL from the previews steps.\n7. Optional: Repeat steps 3-6 to create more data files under the same\n import job.\n\n8. Optional: Get all data files of an import job.\n\n ```\n GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID/importDataFiles\n ```\n9. Validate the import job.\n\n ```\n POST https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID:validate\n ```\n10. Get the import job and view the validation report.\n If the state is `READY`, it is possible to continue to the next steps.\n Otherwise, you need to fix the job or specific files, this might require\n deleting files or uploading new ones.\n\n ```\n GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID\n ```\n11. Run the import job.\n\n ```\n POST https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID:run\n ```\n12. Get the import job and view the execution report.\n If the state is `COMPLETED`, the job was executed successfully.\n Otherwise, if the job failed and in a terminal state, the execution report\n includes the errors.\n Create a new import job and apply the required changes.\n\n ```\n GET https://migrationcenter.googleapis.com/v1alpha1/projects/PROJECT_ID/locations/REGION/importJobs/IMPORT_JOB_ID\n ```\n\nIf you experience problems with your file upload, see how to\n[troubleshoot common error messages](/migration-center/docs/troubleshooting/file-import-errors).\n\nReview the upload\n-----------------\n\nAfter you upload your files, Migration Center validates them\nto check if they are formally correct. If the validation is successful,\nMigration Center then processes the data to create new assets,\nor update existing ones. You can check the status of your upload jobs\nfrom the Google Cloud console.\n\nTo review the status of your upload job, follow these steps:\n\n1. Go to the **Data import** page, then click **File uploads**.\n2. From the list of file imports, select the upload you want to review.\n3. On the file upload page, under **Data import progress** , review the **Status** for your uploaded files.\n\nYou can see your files in one of the following statuses.\n\n### List of statuses\n\n- **Completed**. The import of your file was successful.\n- **Ready**. Your file passed validation, and is ready to be imported.\n- **Pending**. Your file is waiting for another file to finish processing.\n- **Running**. Your file is processing.\n- **Validating**. Your file is in the validation stage.\n- **Failed validation**. Your file contains some errors. Fix the errors then try to upload your file again.\n- **Failed**. Your file couldn't be imported.\n\n### Review error details\n\nIf you encounter errors after importing your files, you can review\nthe error message directly in the Google Cloud console.\n\nTo review the errors of your upload job, follow these steps:\n\n1. Go to the **Data import** page, then click **File uploads**.\n2. Click the import file that shows a warning or error. The import file details page shows the complete list of errors.\n\nOn the import file details page, you can review the assets and data fields\nthat cause the errors, and view a description of the error.\nErrors in the file import job might prevent Migration Center from\ncreating new assets or update existing ones with the new changes.\nTo fix the error, edit your files and create a new file import job to upload\nthem again.\n\nFor more information about the possible error messages, see\n[Troubleshoot file import errors](/migration-center/docs/troubleshooting/file-import-errors).\n\nWhat's next\n-----------\n\n- Learn more about [Migration Center collection methods](/migration-center/docs/start-asset-discovery#collection_methods).\n- Learn how to [manage your file uploads](/migration-center/docs/manage-file-uploads)."]]