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

Installing the ICAgent

Updated on 2024-10-28 GMT+08:00

Prerequisites

  • You have purchased an Elastic Cloud Server (ECS) as a jump server.
  • The ECS meets the requirements listed in OSs and versions supported by AOM and supports the AMD64 architecture.
  • The server has been bound to an Elastic IP Address (EIP). For details, see Assigning an EIP.
  • Ensure that the time and time zone of the local browser are consistent with those of the ECS server.

Precautions

When you install an ICAgent on a non-Huawei Cloud server, the jump server forwarding command generated by the system does not contain any domain name. That is, the ICAgent cannot be installed using a domain name.

Procedure

To install the ICAgent on a non-Huawei Cloud server, purchase an ECS server from Huawei Cloud as a jump server and perform the following operations:

NOTE:

You are advised to use CentOS 6.5 64bit or later images. The minimum specification is 1 vCPU | 1 GB and the recommended one is 2 vCPUs | 4 GB.

  1. Log in to the ECS and modify its security group rule.

    1. On the ECS details page, click the Security Groups tab.
    2. On the security list page, click a security group name and click Modify Security Group Rule.
    3. On the security group details page, click Inbound Rules and then Add Rule. On the page that is displayed, add a security group rule according to Table 1.
      Table 1 Security group rule

      Direction

      Protocol

      Port

      Description

      Inbound

      TCP

      8149, 8102, 8923, 30200, 30201, and 80

      List of ports on the jump server to which the ICAgent sends data

      NOTE:

      Enable ports 8149, 8102, 8923, 30200, 30201, and 80 in the inbound direction of the security group to ensure normal data communication between the non-Huawei Cloud host and the jump server.

  2. Log in to the AOM console. In the navigation pane, choose Configuration Management > Agent Management.
  3. Click Install ICAgent. On the displayed page, set Host Type to Non-HUAWEI CLOUD host.
  4. Enable forwarding ports on the jump server.

    1. As shown in Figure 1, enter a private IP address to generate the jump server forwarding command.
      Figure 1 Private IP address of the jump server
      NOTE:

      The private IP address of the jump server refers to the internal IP address of the Virtual Private Cloud (VPC) where the jump server is located.

    2. Click Copy Command to copy the jump server forwarding command.
    3. Log in as the root user to the jump server and run the SSH tunnel forwarding command:
      ssh -f -N -L {ECS IP address}:8149:{ELB IP address}:8149 -L {ECS IP address}:8102:{ELB IP address}:8102 -L {ECS IP address}:8923:{ELB IP address}:8923 -L {ECS IP address}:30200:{ELB IP address}:30200 -L {ECS IP address}:30201:{ELB IP address}:30201 -L {ECS IP address}:80:icagent-{Region}.obs.{Region}.myhuaweicloud.com:80 {ECS IP address}

      Enter the password of the root user as prompted.

    4. Run the netstat -lnp | grep ssh command to check whether corresponding ports are being listened to. If the results in Figure 2 are returned, TCP ports are enabled.
      Figure 2 Verification results of TCP ports
      NOTE:
      • Enter http://IP address of the jump server ECS in the address box of the browser. If the access is successful, the security group rule has taken effect.
      • If the jump server powers off and restarts, run the preceding command again.

  5. Obtain an AK/SK.
  6. Generate and copy the ICAgent installation command.

    1. Enter the DC and connection IP address in the text box to generate the ICAgent installation command.
      NOTE:
      • DC: Customize a DC name to query hosts more easily.
      • Connection IP: For EIP connection, use the EIP of the jump server. For VPC peer connection, use the internal IP address of the VPC where the jump server is located.
    2. Click Copy Command to copy the ICAgent installation command.

  7. Use a remote login tool to log in to the target server as the root user, run the ICAgent installation command, and enter the obtained AK and SK as prompted.

    If the message ICAgent install success is displayed, the ICAgent has been installed in the /opt/oss/servicemgr/ directory. After the ICAgent has been installed, choose Configuration Management > Agent Management in the navigation pane to view the ICAgent status.

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