El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

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
Situation Awareness
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 the Agent

Updated on 2022-02-22 GMT+08:00

This section describes how to install the Agent for an existing BMS. The procedure is as follows:

  1. Adding the Resolved Domain Names: Add the resolved domain names of regions to the /etc/resolv.conf file on the BMS.
  2. Configuring the Security Group: Download the Telescope package, send metrics, and collect logs.
  3. Installing the Agent: Manually install the Agent on the BMS.

Adding the Resolved Domain Names

  1. Log in to the BMS as user root.
  2. Enter vi /etc/resolv.conf to open the /etc/resolv.conf file.
  3. Add nameserver 100.125.1.250 and nameserver 100.125.21.250 to the file, as shown in Figure 1.
    Figure 1 Adding the resolved domain names
    NOTE:

    The values of nameserver vary depending on the region.

    CN North-Beijing1: 100.125.1.250 and 100.125.21.250

    CN North-Beijing4: 100.125.1.250 and 100.125.129.250

    CN East-Shanghai1: 100.125.1.250,100.125.64.250

    CN South-Guangzhou: 100.125.1.250 and 100.125.136.29

    CN-Hong Kong: 100.125.1.250, 100.125.3.250

    AP-Bangkok: 100.125.1.250,100.125.3.250

    LA-Santiago: 100.125.1.250

  4. Press Esc and enter :wq! to save the configuration.

Configuring the Security Group

  1. On the page showing the BMS details, click the Security Groups tab.
  2. Click to expand the security group details, showing the configured security group rules.
  3. In the upper right corner of the rule list, click the security group ID to go to the Security Groups page.
    Figure 2 Security group rules
  4. In the Operation column, click Manage Rule. On the Outbound Rules tab page, click Add Rule to add a rule based on Table 1.
    Table 1 Security group rules

    Direction

    Protocol

    Port

    Destination IP address

    Description

    Outbound

    TCP

    80

    100.125.0.0/16

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

    Outbound

    TCP and UDP

    53

    100.125.0.0/16

    Used by DNS to resolve domain names, for example, resolve the OBS domain name when users are downloading the Agent installation package, and resolve the Cloud Eye endpoint when the Agent is sending monitoring data to Cloud Eye.

    Outbound

    TCP

    443

    100.125.0.0/16

    Used to collect monitoring data that will be sent to Cloud Eye.

Installing the Agent

  1. Run the following command to install the Agent:

    CN North-Beijng1 (x86):

    cd /usr/local && curl -k -O https://obs.cn-north-1.myhuaweicloud.com/uniagent-cn-north-1/script/uniagent_install_amd64.sh && bash uniagent_install_amd64.sh

    CN North-Beijing1 (Kunpeng):

    cd /usr/local && curl -k -O https://obs.cn-north-1.myhuaweicloud.com/uniagent-cn-north-1/script/uniagent_install_arm64.sh && bash uniagent_install_arm64.sh

    CN North-Beijng4 (x86):

    cd /usr/local && curl -k -O https://obs.cn-north-4.myhuaweicloud.com/uniagent-cn-north-4/script/uniagent_install_amd64.sh && bash uniagent_install_amd64.sh

    CN South-Guangzhou (x86):

    cd /usr/local && curl -k -O https://obs.cn-south-1.myhuaweicloud.com/uniagent-cn-south-1/script/uniagent_install_amd64.sh && bash uniagent_install_amd64.sh

    CN South-Guangzhou (Kunpeng):

    cd /usr/local && curl -k -O https://obs.cn-south-1.myhuaweicloud.com/uniagent-cn-south-1/script/uniagent_install_arm64.sh && bash uniagent_install_arm64.sh

    CN East-Shanghai1 (x86):

    cd /usr/local && curl -k -O https://obs.cn-east-3.myhuaweicloud.com/uniagent-cn-east-3/script/uniagent_install_amd64.sh && bash uniagent_install_amd64.sh

    CN East-Shanghai1 (Kunpeng):

    cd /usr/local && curl -k -O https://obs.cn-east-3.myhuaweicloud.com/uniagent-cn-east-3/script/uniagent_install_arm64.sh && bash uniagent_install_arm64.sh

    CN East-Shanghai2 (x86):

    cd /usr/local && curl -k -O https://obs.cn-east-2.myhuaweicloud.com/uniagent-cn-east-2/script/uniagent_install_amd64.sh && bash uniagent_install_amd64.sh

    CN East-Shanghai2 (Kunpeng):

    cd /usr/local && curl -k -O https://obs.cn-east-2.myhuaweicloud.com/uniagent-cn-east-2/script/uniagent_install_arm64.sh && bash uniagent_install_arm64.sh

    CN-Hong Kong

    cd /usr/local && wget https://telescope-ap-southeast-1.obs.ap-southeast-1.myhuaweicloud.com/scripts/agentInstall.sh && chmod 755 agentInstall.sh && ./agentInstall.sh

    AP-Bangkok:

    cd /usr/local && wget https://telescope-ap-southeast-2.obs.ap-southeast-2.myhuaweicloud.com/scripts/agentInstall.sh && chmod 755 agentInstall.sh && ./agentInstall.sh

    AP-Singapore:

    cd /usr/local && wget https://telescope-ap-southeast-3.obs.ap-southeast-3.myhuaweicloud.com/scripts/agentInstall.sh && chmod 755 agentInstall.sh && ./agentInstall.sh

    AF-Johannesburg:

    cd /usr/local && wget https://telescope-af-south-1.obs.af-south-1.myhuaweicloud.com/scripts/agentInstall.sh && chmod 755 agentInstall.sh && ./agentInstall.sh

    LA-Santiago:

    cd /usr/local && wget https://telescope-la-south-2.obs.la-south-2.myhuaweicloud.com/scripts/agentInstall.sh && chmod 755 agentInstall.sh && ./agentInstall.sh

    LA-Sao Paulo1:

    cd /usr/local && wget https://telescope-sa-brazil-1.obs.sa-brazil-1.myhuaweicloud.com/scripts/agentInstall.sh && chmod 755 agentInstall.sh && ./agentInstall.sh

    LA-Mexico City1:

    cd /usr/local && wget http://telescope-na-mexico-1.obs.na-mexico-1.myhuaweicloud.com/scripts/agentInstall.sh && chmod 755 agentInstall.sh && ./agentInstall.sh
    The Agent is installed successfully if the command output similar to Figure 3 is displayed.
    Figure 3 Successful installation
  2. After the installation is complete, configure the Agent as instructed in Manually Configuring the Agent for Linux.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback