Updated on 2025-08-19 GMT+08:00

Intranet Discovery

MgC enables you to discover resources running in on-premises IDCs and vCenters. Before getting started, you need to install the MgC Agent in the source intranet.

Precautions

  • Only VMs in VMware vSphere 5.0 to 7.0 can be discovered.
  • When the system scans for VMware VMs or scans for servers on specific network ranges, it uses the servers' private IP addresses and the ID of the used MgC Agent to identify discovered servers. If a server's private IP address changes after the server is discovered, the server will be identified as a new one during the next discovery, and the total number of discovered servers will increase. To avoid this, do not change private IP addresses for source servers before the migration is complete.
  • Performance data of VMware VMs within a specified period can be collected during the automatical scan. For discovered VMs, a separate performance collection is not necessary.
  • The performance data collected during the VMware VM scanning comes from the historical data stored in the vCenter. The default data retention policy in the vCenter is as follows:
    • One day: Data points are collected every 5 minutes.
    • One week: Data points are collected every 30 minutes.
    • One month: Data points are collected every two hours.

Prerequisites

You have installed the MgC Agent in the source intranet environment and have connected the MgC Agent to MgC.

Creating an IDC Discovery Task

  1. Sign in to the MgC console. In the navigation pane, under Project, select an application migration project from the drop-down list.
  2. In the navigation pane, choose Source Resources.
  3. On the Intranet Discovery tab, click the IDC Discovery card.

    Figure 1 IDC discovery

  4. Configure the parameters based on Table 1.

    Table 1 Parameters for configuring an IDC discovery task

    Area

    Parameter

    Description

    MgC Agent

    MgC Agent

    Select the MgC Agent installed in the source intranet environment.

    NOTE:

    Ensure that the MgC Agent is always online.

    Scan Network Range

    Protocol

    Only TCP is available.

    Network Range

    Enter an IP address range which must fall within:

    • 10.0.0.0 – 10.255.255.255
    • 172.16.0.0 – 172.31.255.255
    • 192.168.0.0 – 192.168.255.255

    Linux

    Enter the port for scanning for Linux servers. If you do not need to scan for Linux servers, set the port number to 0.

    Windows

    Enter the port for scanning Windows servers. If you do not need to scan for Windows servers, set the port number to 0.

    Basic Settings

    Task Name

    The default naming rule is Task type-Current time. You can also customize a name.

    Task Description (Optional)

    Describe the task.

    Application (Optional)

    Select the application that you want to group the discovered resources into. If no applications are available, perform the following steps to create one:

    1. Click Create Application. Enter an application name and description.
    2. Configure Business Scenario and Environment, and set Region to the region that you want to migrate to.
    3. Click OK.

  5. Click Confirm. After the IDC discovery task is created, MgC starts discovering source resources.
  6. Wait until the discovery task succeeds, return to the Source Resources page and perform a deep collection for the discovered servers.

    1. On the Source Resources page, in the server list, for each server whose details need to be collected, click Configure in the MgC Agent column.
    2. Configure the parameters listed in Table 2.
      Table 2 Parameters for configuring a deep collection

      Parameter

      Configuration

      Type

      Set this parameter based on the source server OS type.

      MgC Agent

      Select the MgC Agent installed in the source environment.

      Access IP Address

      Select the IP address for accessing the source server. It can be a public or private IP address. After the pre-migration check is passed, the IP address you select here will be used for migration.

      Port

      Enter the port on the source server that allows access from the MgC Agent.

      • The port defaults to 5985 on Windows and can be modified.
      • The port defaults to 22 on Linux and can be modified.

      Credential

      Select the server credential. If the credential is not displayed in the list, go to the MgC Agent console, add the server credential, and synchronize it to MgC.

      NOTICE:

      The credential you provided must have sufficient permissions, so the MgC Agent can collect necessary server details. To perform a deep collection for the discovered servers to collect as much as details, the credential you provided must meet the following requirements:

      • Linux: root and its password
      • Windows: administrator and its password
    3. Click Confirm. Then the system automatically starts executing a deep collection. When Collected shows up in the Deep Collection column, the collection is complete.

Creating a VMware Discovery Task

  1. Sign in to the MgC console. In the navigation pane, under Project, select an application migration project from the drop-down list.
  2. In the navigation pane, choose Source Resources.
  3. On the Intranet Discovery tab, click the VMware Discovery card.

    Figure 2 VMware discovery

  4. Configure the parameters based on Table 3.

    Table 3 Parameters for configuring a VMware discovery task

    Area

    Parameter

    Description

    MgC Agent

    MgC Agent

    Select the MgC Agent installed in the source intranet environment.

    NOTE:

    Ensure that the MgC Agent is always online.

    Scan VMware VMs

    IP Address

    Enter the IP address of the vCenter Server for discovering the managed VMs.

    Port

    Enter the port for accessing the vCenter Server.

    Credential

    Select the credential for accessing the vCenter Server. If the drop-down list is empty, go to the MgC Agent console and add the credential. Set the resource type to Private cloud and enter the username and password for logging in to the vCenter Server.

    Performance History

    Select the time range for collecting performance data.

    Basic Settings

    Task Name

    The default naming rule is Task type-Current time. You can also customize a name.

    Task Description (Optional)

    Describe the task.

    Application (Optional)

    Select the application that you want to group the discovered resources into. If no applications are available, perform the following steps to create one:

    1. Click Create Application. Enter an application name and description.
    2. Configure Business Scenario and Environment, and set Region to the region that you want to migrate to.
    3. Click OK.

  5. Click Confirm. After the VMware discovery task is created, MgC starts discovering source resources.
  6. Wait until the discovery task succeeds, return to the Source Resources page and perform a deep collection for the discovered servers.

    1. On the Source Resources page, in the server list, for each server whose details need to be collected, click Configure in the MgC Agent column.
    2. Configure the parameters listed in Table 4.
      Table 4 Parameters for configuring a deep collection

      Parameter

      Configuration

      Type

      Set this parameter based on the source server OS type.

      MgC Agent

      Select the MgC Agent installed in the source environment.

      Access IP Address

      Select the IP address for accessing the source server. It can be a public or private IP address. After the pre-migration check is passed, the IP address you select here will be used for migration.

      Port

      Enter the port on the source server that allows access from the MgC Agent.

      • The port defaults to 5985 on Windows and can be modified.
      • The port defaults to 22 on Linux and can be modified.

      Credential

      Select the server credential. If the credential is not displayed in the list, go to the MgC Agent console, add the server credential, and synchronize it to MgC.

      NOTICE:

      The credential you provided must have sufficient permissions, so the MgC Agent can collect necessary server details. To perform a deep collection for the discovered servers to collect as much as details, the credential you provided must meet the following requirements:

      • Linux: root and its password
      • Windows: administrator and its password
    3. Click Confirm. Then the system automatically starts executing a deep collection. When Collected shows up in the Deep Collection column, the collection is complete.