tencent cloud

Tencent Cloud Smart Advisor

Release Notes
Product Introduction
Overview
Features
Product Strengths
Scenarios
Customer Cases
Purchase Guide
Getting Started
Using TSA to Perform a Cloud Risk Assessment
Using TSA to Execute a Chaos Experiment on CFG
Operation Guide
Operation Guide to TSA-Cloud Architecture
Operation Guide to TSA-Cloud Risk Assessment
Operation Guide to TSA-Chaotic Fault Generator
Operation Guide to TSA-Digital Assets
Permission Management
API Documentation
History
Introduction
API Category
Making API Requests
Other APIs
Task APIs
Cloud Architecture Console APIs
Data Types
Error Codes
FAQs
FAQs: TSA
FAQs: TSA-Cloud Risk Assessment
FAQs: TSA-Cloud Architecture
FAQs: TSA-Chaotic Fault Generator
Related Protocol
Tencent Cloud Smart Advisor Service Level Agreement
PRIVACY POLICY MODULE CHAOTIC FAULT GENERATOR
DATA PRIVACY AND SECURITY AGREEMENT MODULE CHAOTIC FAULT GENERATOR
Contact Us

Experiments on CVM Intra-host Network Occupation

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2025-03-24 15:22:59

Background

CVM intra-host network occupation fault is a common issue, that malicious attacks, program errors, improper configuration, and other issues may cause. It will result in the occupation of a large amount of CVM network resources and impact normal business operations. For businesses that rely on high availability and low delay, network occupation faults will cause great inconvenience and loss to users.
To improve network reliability and stability in CVM, network occupation fault experiments are required. Through the experiments, the system's capability for normal operation in network occupation can be verified and issues in network occupation scenes can be revealed in advance so that system architecture can be optimized and contingency plans can be prepared.

Experiment Implementation

Step 1: Experiment Preparations

Prepare several CVM instances that are available for the experiment.

Step 2: Experiment Orchestration

1. Check port occupancy status before fault injection. Check network port usage in the current system of the target machine through a netstat -tuln command.


2. Click Create a New Experiment, fill in the experiment information, and add target CVM instances.
3. Click Add Now, select Network Resources, click Intra-host network occupation, and click Next.
4. Configure fault action parameters, and click Confirm. Here, the port is set to 8080.
Note:
The port number range is 1 to 65535. 1 to 1023 is for a reserved port, which is usually used for common system services. Try to avoid the use of the same. You can select an unoccupied port from ports 1024-65535 for simulation. After a simulation ends, please clean up and recover the network environment in time to ensure normal system operation. You can check occupied ports through a netstat -tuln command.
5. After configuring action parameters, click Next. Configure guardrail policies and monitoring metrics considering actual situations, and click Submit to complete experiment creation.

Step 3: Experiment Execution

1. Go to experiment details, and click Go to the action group for execution.
2. Click Execute to start an experiment.
3. Click the Action Card to check the details for the action execution results.
4. Check the host network status after fault injection. You can see that port 8080 has been occupied.


5. Execute a recovery action, and check the execution logs of the recovery action.
6. Check the result of recovery from a fault. Through comparison, we can see that the fault has been cleared and the occupied port 8080 has been released.



Ajuda e Suporte

Esta página foi útil?

comentários