Help Center/ Migration Center/ User Guide/ Application Discovery/ Collecting Server Performance Data
Updated on 2024-10-21 GMT+08:00

Collecting Server Performance Data

MgC can collect server performance data, including the CPU usage, memory usage, disk IOPS, inbound and outbound traffic, inbound and outbound packets, and the number of network connections. The collected performance data will be used by MgC to recommend rightsized servers.

Precautions

  • After a collection starts, performance data is collected every 5 minutes by default.
  • The collection duration should be at least 1 hour. If the collection duration is too short, the maximum and average values in 7- and 30-day history cannot be calculated.
  • A performance collection runs for seven days by default and stops after the period ends. You can stop or restart the collection at any time. After the collection is restarted, the collection period is recalculated.
  • Collected performance data will be retained for 180 days and automatically deleted after that.
  • It is recommended that Edge be installed on an independent server to ensure collection stability and efficiency.
  • Edge can collect performance data from up to 1,000 Linux servers at the same time. If there are 1,000 or more Linux servers to be collected, the server where Edge is installed must have at least 8 CPUs and 16 GB of memory with at least 8 GB available.
  • Edge can collect performance data from up to 500 Windows servers at the same time. If there are 500 or more Windows servers to be collected, the server where Edge is installed must have at least 16 CPUs and 32 GB of memory with at least 8 GB available.

Prerequisites

  • You have completed a discovery task over the Internet or intranet, or you have manually added servers to MgC.
  • You have installed Edge in the source intranet environment and have connected the Edge device to MgC.
  • You have added source server credentials to Edge.

Procedure

  1. Sign in to the MgC console.
  2. In the navigation pane on the left, choose Research > Application Discovery. Select a migration project.
  3. Click the Resources tab and click the number in the Server row.
  4. Configure an Edge device and credentials for the server whose performance data needs to be collected. If the Start button in the Performance Collection column is available, the configuration is complete. In this case, skip this step and go to Step 7.

    Move the cursor to the Start button in the Performance Collection column. In the dialog box that is displayed, click Configure. The configuration window is displayed.

  5. Configure the parameters listed in Table 1.

    Table 1 Parameters for configuring a migration pre-check

    Parameter

    Configuration

    Type

    Set this parameter based on the source server OS type.

    Edge Device

    Select the Edge device in the source environment.

    IP Address

    Select the IP address used for accessing the source server. It can be a public or private IP address. If you need to use a proxy to access the server, enter the proxy IP address. After the migration pre-check passes, the IP address will be used for subsequent migration.

    Port

    Enter the port on the source server opened to the Edge device.

    • By default, port 5985 on Windows source servers must be opened to the Edge device. The port cannot be changed.
    • By default, port 22 on Linux source servers must be opened to the Edge device. You can specify a different port if needed.

    Credential

    Select the server credential. If the credential has not been added to MgC, go to the Edge console and add the server credential to Edge and synchronize it to MgC.

  6. Click Confirm. The system will verify the correctness of the configuration.
  7. After the configuration is verified, click Start in the Performance Collection column to start collecting server performance data. The collection status will change to Collecting.

    After performance data collection is complete, you can perform the following operations:

    • Viewing Collected Data
      1. Click a server name to go to its details page. In the Performance Info area, you can view the collected performance data. The maximum values in 7 days and 30 days are hourly aggregated data. To view these maximum values, ensure the collection duration exceeds 1 hour.
      2. Click View in the Operation column to view the details and line chart about the performance metric in the collection period.
    • Stoping Collection

      Click Stop to pause performance data collection.