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.
Collect performance data of host resources in an application on the application details page.
Notes
- 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.
- 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.
- If a metric is collected multiple times, the data from the most recent collection is used.
- Collected performance data will be retained for 180 days and automatically deleted after that.
- It is recommended that the MgC Agent (formerly Edge) be installed on an independent server to ensure collection stability and efficiency.
- The MgC Agent 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 the MgC Agent is installed must have at least 8 CPUs and 16 GB of memory with at least 8 GB available.
- The MgC Agent 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 the MgC Agent is installed must have at least 16 CPUs and 32 GB of memory with at least 8 GB available.
Prerequisites
- You have manually added custom source resources or added discovered source resources.
- You have installed the MgC Agent in the source intranet environment and have connected it to MgC.
- You have added source server credentials to the MgC Agent.
Procedure
- Sign in to the MgC console. In the navigation pane, under Project, choose a project from the drop-down list.
- In the navigation pane, choose Discover > Applications.
- In the application list, click an application name.
- On the Servers tab, configure MgC agents and credentials for the servers whose performance data needs to be collected.
- If the Start button in the Performance Collection column is dimmed, move the cursor to the Start button. In the dialog box that is displayed, click Configure Now.
- 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.
- If the Start button in the Performance Collection column is dimmed, move the cursor to the Start button. In the dialog box that is displayed, click Configure Now.
- 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.
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. 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 that allows access from the MgC Agent.
- By default, port 5985 on Windows source servers must be opened to the MgC Agent. The port cannot be changed.
- By default, port 22 on Linux source servers must be opened to the MgC Agent. You can specify a different port if needed.
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.
- Click Confirm. The system will verify the correctness of the configuration.
- 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 starts, you can:
- View the collected data.
- Click a server name to go to its details page. In the Performance Info area, you can view the collected performance data.
- Aggregated values for 7-day and 30-day periods are calculated only after performance data collection has stopped.
- If data is collected for less than 1 hour, the system waits 1 hour after the collection stops before aggregating the data.
- If a metric is collected multiple times, the data from the most recent collection is used.
- Click View in the Operation column to view the details and line chart about the performance metric in the collection period.
- Click a server name to go to its details page. In the Performance Info area, you can view the collected performance data.
- Stop the collection.
- View the collected data.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot