هذه الصفحة غير متوفرة حاليًا بلغتك المحلية. نحن نعمل جاهدين على إضافة المزيد من اللغات. شاكرين تفهمك ودعمك المستمر لنا.

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

Installing UniAgents

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

UniAgents centrally manage the life cycle of collection plug-ins and deliver instructions (such as script delivery and execution). UniAgents do not collect data themselves. O&M data is collected by collection plug-ins. You can install collection plug-ins through the access center and create collection tasks to collect metrics.

AOM allows you to install UniAgents on cloud servers in a VPC.

Figure 1 Getting started

Prerequisite

Ensure that the network between the installation host and the host where the UniAgent is to be installed is normal.

Constraints

  • For details about the Linux and Windows OSs supported by the UniAgent, see Collection Management Restrictions.
  • To switch from the new UniAgent page to the old one, choose Settings > Collection Settings > UniAgent Installation and Configuration in the navigation tree on the left and click Back to old version in the upper right corner. To go to the new UniAgent page, click Go to New Version in the upper right corner of the UniAgent Installation and Configuration page.

Installation Methods

Install a UniAgent on a host manually or remotely, or by importing an Excel file. Select an installation mode based on site requirements.

Table 1 Installation modes

Mode

Scenario

Manual UniAgent Installation

Suitable for initial installation and single-node installation scenarios. Log in to the host where the UniAgent is to be installed and manually run the installation command.

When installing a UniAgent for the first time, you must install it manually.

Remote UniAgent Installation

Suitable for the scenario where UniAgents are installed in batches. Set a host where a UniAgent has been installed to be an installation host, and use it to install UniAgents on other hosts. (Enter the information about the hosts where UniAgents are to be installed on the installation page.)

UniAgent Installation by Importing an Excel File

Suitable for the scenario where UniAgents are installed in batches. Set a host where a UniAgent has been installed to be an installation host, and use it to install UniAgents on other hosts. (Import the Excel file that contains the information about the hosts where UniAgents are to be installed on the installation page.)

The Excel import function is not yet generally available. If you need this function, submit a service ticket.

Manual UniAgent Installation

When installing a UniAgent for the first time, you must install it manually.

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Settings. The Global Configuration page is displayed.
  3. In the navigation pane, choose Collection Settings > UniAgent Installation and Configuration. Then click Install UniAgent in the upper right corner. On the displayed page, choose Manual. (When you install the UniAgent for the first time, the Manual page is displayed by default.)
  4. On the Install UniAgent page, set parameters to install a UniAgent.

    Figure 2 Manually installing a UniAgent
    Table 2 Parameters for manual installation

    Parameter

    Description

    Example

    UniAgent Version

    Version of a UniAgent. This parameter is mandatory.

    1.0.8

    Access Mode

    There are three access modes: Direct access (private network), Direct access (public network), and Proxy access.

    • Direct access (private network): intended for Huawei Cloud hosts.
    • Direct access (public network): intended for non-Huawei Cloud hosts.
    • Proxy access: Select a proxy area where a proxy has been configured and install the UniAgent on a host through the proxy.

      You can choose Direct access (private network) and Direct access (public network) only in CN North-Beijing4, CN East-Shanghai1, CN East-Shanghai2, and CN South-Guangzhou.

    Direct access (private network)

    Proxy Area

    Manages proxies by category. When Access Mode is set to Proxy access, you need to select or add a proxy area.

    A proxy area must contain an available proxy. This proxy must be a cloud host where a UniAgent has been installed. Also, this proxy must have been set to be an installation host.

    Select a proxy area.

    Installation Command

    Command for installing the UniAgent. Commands for Linux and Windows are different.

    Linux

    1. Click to copy the installation command.
    set +o history; 
    curl -k -X GET -m 20 --retry 1 --retry-delay 10 -o /tmp/install_uniagent https://aom-uniagent-xxxxxx/install_uniagent.sh;bash /tmp/install_uniagent -a xxxxxxxxxx -s xxxxxxxxxx -p xxxxxx -d https://aom-uniagent-xxxxxx -m https://uniagent.master.cnxxxxxx,https://xx.xx.xx.xx:xxxx -v 1.x.x -q false
    set -o history;
    Windows
    1. Copy the download address (https://aom-uniagent-{region_name}.obs.{region_name}.{site domain name suffix}/ +uniagentd-{version}-win32.zip) to the browser to download the installation package.

      {region_name} and {version} can be obtained from the installation page.

      • region_name: domain name or IP address of the server where the REST service is deployed. The value varies depending on services and regions.
      • Site domain name suffix: site domain name suffix, for example, myhuaweicloud.com.
      • version: version of the installed UniAgent.
    2. Decompress the package, click uniagentd.msi, and specify path C:\uniagentd for installation.
    3. Enter the following configuration (obtained from the installation page) to the C:\uniagentd\conf\uniagentd.conf file:
      master=https://aom-mgr-lb.xxxxxxxxxxx,https://xx.xx.xx.xx:xxxxx
      project_id=xxxxxxxxxxxxxx
      public_net=xxxx
    4. Run start.bat in the C:\uniagentd\bin directory as the administrator.

      If you need to verify the SHA256 value of the Windows installation package, check the file downloaded from https://aom-uniagent-{region_name}.obs.{region_name}.{site domain name suffix}/uniagentd-{version}-win32.zip.sha256.

    Copy the Linux installation command.

  5. Copy the installation command and run it on the host to install the UniAgent.

    • Linux host: Use a remote login tool, such as PuTTY, to log in to the target host and run the installation command copied in the previous step as the root user to install the UniAgent.
    • Windows host: Log in to the target host, and download the installation package based on the installation command in the previous step to install the UniAgent.

  6. Check whether the UniAgent is displayed in the UniAgent list.

Remote UniAgent Installation

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Settings. The Global Configuration page is displayed.
  3. In the navigation pane, choose Collection Settings > UniAgent Installation and Configuration. Then click Install UniAgent in the upper right corner.
  4. On the Install UniAgent page, choose Remote and set parameters to install a UniAgent. (When you install the UniAgent for the first time, the Manual page is displayed by default. Remote is not available. Remote installation can be performed only when you have an installation host.)

    Figure 3 Remotely installing a UniAgent
    Table 3 Parameters for remotely installing a UniAgent

    Parameter

    Description

    Example

    UniAgent Version

    Version of a UniAgent. This parameter is mandatory.

    1.0.8

    Access Mode

    There are three access modes: Direct access (private network), Direct access (public network), and Proxy access.

    • Direct access (private network): intended for Huawei Cloud hosts.
    • Direct access (public network): intended for non-Huawei Cloud hosts.
    • Proxy access: Select a proxy area where a proxy has been configured and install the UniAgent on a host through the proxy.

      You can choose Direct access (private network) and Direct access (public network) only in CN North-Beijing4, CN East-Shanghai1, CN East-Shanghai2, and CN South-Guangzhou.

    Direct access (private network)

    Proxy Area

    Manages proxies by category. When Access Mode is set to Proxy access, you need to select or add a proxy area.

    A proxy area must contain an available proxy. This proxy must be a cloud host where a UniAgent has been installed. Also, this proxy must have been set to be an installation host.

    Select a proxy area.

    Installation Host

    An installation host is used to execute commands for remote installation. This parameter is mandatory. To install the UniAgent remotely, ensure that the installation host does not run Windows.

    If no installation host has been configured, perform the following steps:

    1. Select Configure Installation Host from the drop-down list.
      Figure 4 Configuring an installation host
    2. In the dialog box that is displayed, select the host to be set as an installation host and specify its name.
    3. Click OK.

    Select an installation host.

    Hosts to Be Installed with UniAgents

    Detailed information about the host where the UniAgent is to be installed. This parameter is mandatory.

    Add a maximum of 100 hosts:

    • Host IP Address: IP address of a host.
    • OS: operating system of the host, which can be Linux or Windows.

      To install the UniAgent remotely, ensure that the host does not run Windows.

    • Login Account: account for logging in to the host. If Linux is used, use the root account to ensure that you have sufficient read and write permissions.
    • Login Port: port for accessing the host.
    • Authentication Mode: Currently, only password-based authentication is supported.
    • Password: password for logging in to the host.
    • Connectivity Test Result: shows whether the network between the installation host and the host where the UniAgent is to be installed is normal.

    After entering the host information, you can delete, copy, or test the connectivity of hosts in the Operation column.

    The connectivity test checks the network between the installation host and the host where the UniAgent is to be installed. The test result is displayed in the Connectivity Test Result column. (Windows hosts do not support connectivity tests.)

    Enter the information about the hosts where UniAgents are to be installed.

    Install ICAgent

    An ICAgent is a plug-in for collecting metrics and logs. The Install ICAgent option is enabled by default. It is optional. Enter an AK and SK if needed. (In some regions, you do not need to enter any AK or SK.)

    -

  5. Click Install. After the installation is complete, you can view the UniAgent status in the UniAgent list.

UniAgent Installation by Importing an Excel File

The Excel import function is not yet generally available. If you need this function, submit a service ticket.

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Settings. The Global Configuration page is displayed.
  3. In the navigation pane, choose Collection Settings > UniAgent Installation and Configuration and click Install UniAgent in the upper right corner.
  4. On the Install UniAgent page, choose Import Excel and set parameters to install a UniAgent. (When you install the UniAgent for the first time, the Manual page is displayed by default. Import Excel is not available.)

    Figure 5 Installation by importing an Excel file
    Table 4 Parameters for installation by importing an Excel file

    Parameter

    Description

    Example

    UniAgent Version

    Version of a UniAgent. This parameter is mandatory.

    1.1.0

    Installation Host

    An installation host is used to execute commands for Excel-based installation. This parameter is mandatory. To install the UniAgent by importing an Excel file, ensure that the installation host does not run Windows.

    If no installation host has been configured, perform the following steps:

    1. Select Configure Installation Host from the drop-down list.
      Figure 6 Configuring an installation host
    2. In the dialog box that is displayed, select the host to be set as an installation host and specify its name.
    3. Click OK.

    Select an installation host.

    Import Excel

    Only an .xls or .xlsx file with up to 5,000 records can be uploaded. To install the UniAgent by importing an Excel file, ensure that the host does not run Windows.

    Excel file example:

    Figure 7 Configuring host information
    • ip: IP address of the host where the UniAgent is to be installed.
    • account: account for logging in to the host. You are advised to use the root account to get sufficient read and write permissions.
    • port: port for accessing the host.
    • password: password for logging in to the host.

    Upload the Excel file containing host information.

  5. Click Install. After the installation is complete, you can view the UniAgent in the UniAgent list.

Checking the UniAgent Status

On the UniAgent Installation and Configuration page, check the UniAgent status of the target host. For details, see Table 5.

Table 5 UniAgent statuses

Status

Description

Running

The UniAgent is working.

Abnormal

The UniAgent is not working. Contact technical support.

Installing

The UniAgent is being installed. The installation takes about 1 minute to complete.

Installation failed

The UniAgent fails to be installed. Uninstall the UniAgent and then reinstall it. If the installation still fails, contact technical support.

Not installed

The UniAgent has not been installed on the host. For a host where the UniAgent is uninstalled but it is not deleted, the UniAgent is in the Not installed state. You can reinstall the UniAgent or delete the host from the list.

After the UniAgent is installed on the host, ports 39338 and 39339 will be enabled to query log levels and collection tasks.

Other Operations

If needed, perform the following operations on the host where the UniAgent has been installed.

Table 6 Related operations

Operation

Description

Searching for a host

In the search box above the host list, search for a host by host IP address, imported IP address, host name, installation host name, or proxy IP address.

Refreshing the host list

Click in the upper right corner of the host list to refresh the list.

Customizing columns to display

Click in the upper right corner of the host list to select the columns to display.

Filtering hosts

In the table heading of the host list, click to filter hosts.

Sorting hosts

In the table heading of the host list, click next to UniAgent Heartbeat Time to sort hosts. indicates the default order. indicates the ascending order (that is, the host with the latest UniAgent heartbeat time is displayed at the bottom). indicates the descending order (that is, the host with the latest UniAgent heartbeat time is displayed at the top).

Deleting a host

If a UniAgent is Abnormal, Not installed, or Installation failed, you can delete the corresponding host.

Locate the target host and choose Delete in the Operation column.

Precautions:

  • Hosts with UniAgent being installed, upgraded, or uninstalled cannot be deleted. Refresh the page and wait.
  • Running hosts with UniAgent installed cannot be deleted. Uninstall UniAgent first.
  • Hosts set as installation hosts or proxies cannot be deleted. Ensure that they are not installation hosts or proxies.

Configuring an installation host

To set the name of an installation host, do as follows:

Choose Configure Installation Host in the Operation column, and enter a desired name.

Canceling an installation host

To cancel an installation host, do as follows:

Choose Cancel Installation Host in the Operation column to cancel an installation host.

Changing the name of an installation host

To change the name of a configured installation host, do as follows:

Click the name of the installation host. In the dialog box that is displayed, rename it.

Troubleshooting

If you encounter any problem when installing the UniAgent, see Collection Management FAQs.

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