Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Migration Center/ MgC Agent Usage Guide/ Local Discovery and Collection

Local Discovery and Collection

Updated on 2025-02-17 GMT+08:00

The MgC Agent (formerly Edge) allows you to discover local servers and collect their details without the need of a connection to MgC.

Notes

  • If local collection is required, do not connect the MgC Agent to MgC, or local collection will be unavailable. After being connected to MgC, the MgC Agent can only execute tasks issued from MgC and can no longer execute local collection .
  • You are advised to connect the MgC Agent to MgC after all necessary local collection tasks are complete.

Methods for Discovering Servers

There are three methods for using the MgC Agent to discover servers locally.

  • VMware collection: You provide the IP addresses and credentials of vCenter Servers to discover all VMs they manage.
  • RVTools data import: You can import the report generated by RVTools to the MgC Agent. Then the MgC Agent can extract information about servers.
  • CIDR block scanning: You can use the MgC Agent to scan for servers on a specific network range over the intranet.

Prerequisites

You have installed the MgC Agent and registered an account.

VMware Collection

Only VMware vSphere 5.0 to 7.0 are supported.

  1. Use the registered account to log in to the MgC Agent console.
  2. In the navigation pane, choose Agent-based Discovery > Credentials.
  3. Click Discover Servers above the list.
  4. Set Discovery Mode to VMware collection and set Connection Address to the IP address of your vCenter Server.
  5. Select Create for Credential and enter the username and password for logging in to the vCenter Server.
  6. Click OK. The MgC Agent starts to discover your server resources.
  7. Click View Task in the upper right corner of the page. On the Task List page, view the task status. When the task is complete, you can view the discovered servers in the list.

    If these servers need to be migrated, perform a deep collection for them.

    NOTICE:

    To perform a deep collection for your source servers to collect as much as details, provide server credentials that meet the following requirements:

    • Linux: root and its password
    • Windows: administrator and its password

RVTools Data Import

You need to export resources details from RVTools.

Then import the RVTools data to the MgC Agent by following the requirements below:

  • The supported RVTools versions include 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.5.0, 4.5.1, and 4.6.1.
  • The file to be imported must be in XLSX format.
  • The file to be imported cannot be larger than 100 MB, and the compression ratio cannot be lower than 5%.
  1. Use the registered account to log in to the MgC Agent console.
  2. In the navigation pane, choose Agent-based Discovery > Credentials.
  3. Click Discover Servers above the list.
  4. Set Discovery Mode to RVTools import, click Select File, and select the file exported from RVTools.
  5. Click OK to upload the file to the MgC Agent.
  6. Click View Task in the upper right corner of the page. On the Task List page, view the task status. When the task is complete, you can view the imported servers in the list.

    If these servers need to be migrated, perform a deep collection for them.

    NOTICE:

    To perform a deep collection for your source servers to collect as much as details, provide server credentials that meet the following requirements:

    • Linux: root and its password
    • Windows: administrator and its password

Network Range Scan

  1. Use the registered account to log in to the MgC Agent console.
  2. In the navigation pane, choose Agent-based Discovery > Credentials.
  3. Click Discover Servers above the list.
  4. Set Discovery Mode to Network Range Scan and set parameters based on Table 1.

    Table 1 Parameters for scanning a network range

    Parameter

    Description

    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 used to scanning for Linux servers. If you do not need to scan for Linux servers, set the port number to 0.

    Windows

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

  5. Click OK. The MgC Agent starts to discover your server resources.
  6. Click View Task in the upper right corner of the page. On the Task List page, view the task status. When the task is complete, you can view the discovered servers in the list.

    If these servers need to be migrated, perform a deep collection for them.

    NOTICE:

    To perform a deep collection for your source servers to collect as much as details, provide server credentials that meet the following requirements:

    • Linux: root and its password
    • Windows: administrator and its password

Performing a Deep Collection for Servers

After server resources are discovered, perform the following steps to perform a deep collection for them:

  1. In the server list, click Configure Credential in the Operation 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.

    IP Address

    Select the IP address for accessing the source server. It can be a public or private IP address.

    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 server credential has been added to the MgC Agent, select it from the drop-down list.
    • If the server credential has not been added to the MgC Agent, click Create Credential and add the server credential. Then select it from the drop-down list.
    NOTICE:

    The account provided in the credential must have sufficient permissions, so the MgC Agent can collect necessary server details. The credential you provided must meet the following requirements:

    • Linux: root account and its password
    • Windows: administrator account and its password

  3. After the credential is configured, click Deep Collection in the Operation column. When Collected shows up in the Deep Collection column, the collection is complete.

Exporting Server Information

On the server list page, click Export in the upper right corner to export all server information to a CSV file and download the file to the local PC.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback