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
On this page
Help Center/ Application Operations Management/ FAQs (2.0)/ Collection Management/ Why Cannot the Installation Script Be Downloaded When I Try to Install UniAgent on an ECS?

Why Cannot the Installation Script Be Downloaded When I Try to Install UniAgent on an ECS?

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

Symptom

During UniAgent installation on an ECS, the installation script cannot be downloaded. Message "Cloud not resolve host: aom-uniagent-xxxxxxxxxxxxxxxxxxxxxxxxxxxx" is displayed.

Figure 1 Error information

Possible Cause

The host cannot resolve the Object Storage Service (OBS) domain name.

Solution

Add Domain Name Service (DNS) server addresses for the ECS running Linux and then add a security group.

You can add DNS server addresses for the ECS by running commands or through the management console.

  • To add DNS server addresses by running commands, perform the following steps:
    1. Log in to the ECS as user root.
    2. Run the vi /etc/resolv.conf command to open the file.
    3. Add nameserver xx.xx.xx to the file.
      xx.xx.xx indicates private DNS server addresses. Take the CN North-Beijing1 region as an example. The private DNS server addresses are 100.125.1.250 and 100.125.21.250.
      Figure 2 Adding DNS server addresses (Linux)
      NOTE:

      Private DNS server addresses vary depending on regions. For details, see What Are Huawei Cloud Private DNS Server Addresses?

    4. Enter :wq and press Enter to save the settings and exit.
  • To add DNS server addresses for the ECS through the management console, perform the following steps:
    1. In the upper left corner of the management console, select a target region and project.
    2. Click Service List in the upper left corner. Under Compute, select Elastic Cloud Server.
    3. In the ECS list, click the ECS name to go to the ECS details page.
    4. In the Summary tab page, click the VPC name, as shown in Figure 3.
      The Virtual Private Cloud page is displayed.
      Figure 3 VPC
    5. In the VPC list, locate the target VPC and click its name.
    6. In the Networking Components area, click the number following Subnets.

      The Subnets page is displayed.

    7. In the subnet list, locate the target subnet and click its name.
    8. In the Gateway and DNS Information area, click following DNS Server Address.
      NOTE:

      Set the DNS server address to the value of nameserver in 3.

      Figure 4 Modifying the DNS server address
    9. Click OK.
      NOTE:

      The new DNS server address takes effect after the ECS is restarted.

  • To add a security group through the management console, perform the following steps:
    1. In the upper left corner of the management console, select a target region and project.
    2. Click Service List in the upper left corner. Under Compute, select Elastic Cloud Server.
    3. In the ECS list, click the ECS name to go to the ECS details page.
    4. On the Security Groups tab page, click a security group name. The security group details page is displayed.
    5. Go to the Outbound Rules tab page and then click Add Rule.
      Add a rule by referring to Table 1.
      Table 1 Parameters for adding a security group rule

      Priority

      Action

      Type

      Protocol & Port

      Destination

      Description

      1

      Allow

      IPv4

      TCP

      80

      100.125.0.0/16

      Used to download the UniAgent installation package from the OBS bucket to the ECS and obtain the metadata and authentication information of the ECS.

      1

      Allow

      IPv4

      TCP and UDP

      53

      100.125.0.0/16

      Used by DNS to resolve domain names, for example, resolve the OBS domain name when you download the UniAgent installation package, and resolve the UniAgent address.

      1

      Allow

      IPv4

      TCP

      443

      100.125.0.0/16

      Used to collect monitoring data and report them to AOM.

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