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
On this page

Show all

Help Center/ Host Security Service/ FAQs/ Agent/ What Can I Do If Agents Failed to Be Installed in Batches and a Message Is Displayed Indicating that the Network Is Disconnected?

What Can I Do If Agents Failed to Be Installed in Batches and a Message Is Displayed Indicating that the Network Is Disconnected?

Updated on 2025-01-21 GMT+08:00

Symptom

The agents failed to be installed on servers in batches using the username and password. A message is displayed indicating that the network is disconnected and the access timed out.

Solution

  1. Check whether the server status is Running.
    • If yes, go to 2 to locate the fault.
    • If no, ensure that the server is running properly, and try again. The agent can be installed only when the server is in the Running state.
  2. Check whether the servers where the agent is to be installed are in the same VPC.

    Perform the following operations:

    1. Log in to the management console.
    2. Click in the upper left corner and select the region and project.
    3. Click in the upper left corner and Compute > Elastic Cloud Server.
    4. Click the name of an ECS. The basic information page is displayed.
    5. In the ECS Information area, click the VPC name to go to the VPC page.
    6. Locate the row that contains the target VPC, and click the value in the Servers column to view all ECSs in the VPC.
      Check whether all the servers you need to check are displayed.
      • If yes, go to 3 to locate the fault.
      • If no, the batch installation failed because the selected servers are not in the same VPC. You can use the account and password to install the agent in batches only on servers in the same VPC. You can perform batch installation by referring to Installing the Agent on Servers.
  3. Check whether the servers where the agent is to be installed use the same account and password.
    • If yes, go to 4 to locate the fault.
    • If no, use the account and password to install the agent in batches only for servers with the same account and password. You can perform batch installation by referring to Installing the Agent on Servers.
  4. Run the following command to check whether port 10180 on the 100.125.0.0/16 network segment is allowed in the outbound direction of the server security group:

    curl -kv https://hss-agent.region code.myhuaweicloud.com:10180

    Each region has a unique region code. For details about the region code, see Regions and Endpoints.

    Take CN North-Beijing1 as an example. The complete command is as follows: curl -kv https://hss-agent.cn-north-1.myhuaweicloud.com:10180
    • If the ping command is successfully executed, the port 10180 in the 100.125.0.0/16 network segment is allowed. Go to 5 to locate the fault.
    • If the page is suspended after the ping command is executed, the port 10180 in the 100.125.0.0/16 network segment is not allowed. For details about how to allow the port, see Adding a Security Group Rule.
  5. Run the following command to check whether the DNS of the server can resolve the domain name for downloading the agent:

    ping -c 1 hss-agent.region code.myhuaweicloud.com

    Each region has a unique region code. For details about the region code, see Regions and Endpoints.

    Take CN North-Beijing1 as an example. The complete command is as follows: ping -c 1 hss-agent.cn-north-1.myhuaweicloud.com
    • If the resolved IP address is displayed, the DNS resolution is normal. Go to 6 to continue troubleshooting.
    • If name or service not known is displayed or no IP address is resolved, the DNS resolution fails. Perform the following operations to modify the DNS:
      1. Run the following command to open the resolv.conf file:

        vi /etc/resolv.conf

      2. Add the private DNS server address of Huawei Cloud to the file. For details about the DNS server address, see What Are Huawei Cloud Private DNS Server Addresses?

        For example, if the DNS addresses of CN North-Beijing1 are 100.125.1.250 and 100.125.21.250, add nameserver 100.125.1.250 and nameserver 100.125.21.250 to the file.

      3. Enter wq and press Enter to save the settings.
  6. Run the following command to check whether the server can obtain metadata:

    curl http://169.254.169.254/openstack/latest/meta_data.json

    • If a value is returned, metadata can be obtained. Go to 7 to continue troubleshooting.
    • If no value is returned or the page is suspended, rectify the fault by referring to Why Can't My Linux ECS Obtain Metadata?
  7. Check whether the ICMP command is disabled in the inbound direction of the server security group.

    Use another server to ping the IP address of the server on which the agent is to be installed. If the IP address cannot be pinged, the ICMP command is disabled in the inbound direction of the security group. You can enable the ICMP command by referring to Adding a Security Group Rule.

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