vSphere API를 사용하여 mcdc CLI를 실행하는 사용자에게 표시되는 vCenter의 모든 VM 데이터를 수집합니다. 검색 범위를 특정 폴더, 클러스터 또는 데이터 센터로 지정할 수도 있습니다.
vCenter 구성
수집된 데이터를 Migration Center로 내보내려면 인벤토리 검색을 실행하기 전에 vCenter 환경을 구성해야 합니다.
사실 mcdc CLI로 수집하는 데이터는 vCenter의 통계 설정에 따라 달라집니다.
vCenter는 4가지 레벨의 통계를 지원합니다.
레벨 1은 CPU 및 메모리 성능만 노출합니다.
레벨 2는 네트워크 성능을 노출합니다.
레벨 3은 초당 입출력 작업 수(IOPS)를 노출합니다.
레벨 4는 사용 가능한 모든 측정항목을 노출합니다.
모든 통계 레벨에 사용할 수 있는 측정항목의 자세한 목록은 데이터 수집 레벨을 참조하세요.
기본적으로 통계 레벨은 1로 설정됩니다. 레벨 1과 레벨 2를 사용하면 인프라에 대한 부분 데이터를 수집할 수 있는 반면 레벨 3을 사용하면 총소유비용(TCO) 보고서를 생성하는 데 필요한 모든 항목을 수집할 수 있습니다.
vCenter에서 통계 레벨이 변경되면 성능 데이터를 사용할 수 있게 될 때까지 몇 시간이 걸릴 수 있습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["# Discover VM instances on VMware\n\nThis document describes the steps to run an inventory discovery on your\nVMware environment using the Migration Center discovery client CLI.\n\nBefore you begin\n----------------\n\n1. Review the [requirements for downloading and running the `mcdc` CLI](/migration-center/docs/review-collector-cli-requirements).\n2. Complete the steps to [download `mcdc` CLI](/migration-center/docs/download-collector-cli).\n\nRun an inventory discovery on VMware using vSphere API\n------------------------------------------------------\n\nUse the vSphere API to collect data about all VMs in a vCenter visible to\nthe user running the `mcdc` CLI. You can also scope a\ndiscovery to a specific folder, cluster, or data center.\n\n### Configure vCenter\n\nIf you plan to export the collected data to Migration Center,\nbefore you run an inventory discovery, you need to configure your vCenter\nenvironment.\nThe data you collect with `mcdc` CLI, in fact, depend on\nthe settings for statistics in vCenter.\n\nvCenter supports four levels of statistics:\n\n- Level 1 exposes only CPU and memory performance.\n- Level 2 exposes the network performance.\n- Level 3 exposes input/output operations per second (IOPS).\n- Level 4 exposes all the available metrics.\n\nFor a detailed list of the available metrics for all statistics levels, see\n[Data collection levels](https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.monitoring.doc/GUID-25800DE4-68E5-41CC-82D9-8811E27924BC.html).\n\nBy default, the statistics level is set to level 1. Levels 1 and 2 let you\ncollect partial data about your infrastructure, while level 3 lets you\ncollect everything you need to generate a complete total cost of ownership (TCO)\nreport.\nAfter the statistics level is changed in vCenter, it might take several\nhours for performance data to become available.\n\nFor more information on how to change statistics levels in vCenter, see\n[Configure statistics collection intervals in the vSphere client](https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vcenterhost.doc/GUID-5D85751A-2CE8-4FD5-83C8-90A17060631E.html).\n\n### Run the discovery\n\n1. In the command line terminal, change to the directory where you downloaded the `mcdc` CLI.\n2. Run the discovery:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc discover vsphere -u USERNAME --url https://VSPHERE_URL\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe discover vsphere -u USERNAME --url https://VSPHERE_URL\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\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 To avoid a certificate check for connecting to the vCenter,\n include the `-i` (insecure) flag in the command.\n3. When prompted, enter the vCenter password.\n\nAfter the inventory discovery is complete, the collected data is stored in the\nlocal database.\n\n### Scope a discovery\n\n- Run the discovery at the root:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc discover vsphere --url https://VSPHERE_URL -u USERNAME --path /\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe discover vsphere --url https://VSPHERE_URL -u USERNAME --path /\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n- Run the discovery at a specific folder:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc discover vsphere --url https://VSPHERE_URL -u USERNAME --path DATACENTER/vm/FOLDER\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe discover vsphere --url https://VSPHERE_URL -u USERNAME --path DATACENTER/vm/FOLDER\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eDATACENTER\u003c/var\u003e: the name of the data center\n - \u003cvar translate=\"no\"\u003eFOLDER\u003c/var\u003e: the path to the folder\n- Run the discovery at a specific cluster:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc discover vsphere --url https://VSPHERE_URL -u USERNAME --path DATACENTER/host/CLUSTER\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe discover vsphere --url https://VSPHERE_URL -u USERNAME --path DATACENTER/host/CLUSTER\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eCLUSTER\u003c/var\u003e: the name of the cluster\n- Run the discovery at a specific data center:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc discover vsphere --url https://VSPHERE_URL -u USERNAME --path DATACENTER\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe discover vsphere --url https://VSPHERE_URL -u USERNAME --path DATACENTER\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\nTo avoid a certificate check for connecting to the vCenter, include the\n`-i` (insecure) flag in the command.\n\nRun an inventory discovery on VMware using RVTools\n--------------------------------------------------\n\nFor VMs running on VMware, the `mcdc` CLI lets you analyze\nthe XLSX report files generated with\n[RVTools](https://www.robware.net/rvtools/).\n\n- Collect data based on your existing RVTools export:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc discover rvtools REPORT_NAME.xlsx\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe discover rvtools REPORT_NAME.xlsx\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n Replace \u003cvar translate=\"no\"\u003eREPORT_NAME\u003c/var\u003e with the path to the XLSX generated\n with RVTools.\n\nHowever, this method has following limitations:\n\n- The `mcdc` CLI doesn't support tables generated with the `--DBColumnNames` flag in RVTools.\n- The `mcdc` CLI doesn't support exporting the data collected using this method to Migration Center. However, you can use it to [run an offline assessment](/migration-center/docs/run-offline-assessment).\n\nWhat's next\n-----------\n\n- Learn how to [run a guest discovery](/migration-center/docs/run-guest-discovery).\n- Learn how to [export collected data to Migration Center](/migration-center/docs/export-collected-data)."]]