Background
To simulate a scene in a production environment where the host receives out-of-order network packets, the network is unstable and requests are disordered. The platform provides a fault action for injecting intra-host network duplication into a CVM. Users can simulate a network disorder scene in a CVM host with this fault.
Experiment Implementation
Step 1: Experiment Preparation
Prepare several CVM instance objects for the experiment.
Step 2: Experiment Orchestration
1. Check network status before fault injection. Send icmp messages to another machine through ping commands. Make sure that the sequence of messages is normal.
3. Click Skip and create a blank experiment, fill in the experiment information, and select a CVM instance for an experiment objective.
4. Click Add Now to add an experiment action, select Network Resources, click Intra-host network disorder, and click Next.
5. Configure fault action parameters, and click Confirm.
6. After configuring action parameters, click Next. After confirming all configurations, click Submit to complete experiment creation.
Step 3: Experiment Execution
1. Go to Experiment Details. In the Experiment Action Group, click Execute to start an experiment and start a fault action.
2. Click the Action Card, and check details of action execution.
3. Check the network status of the host after fault injection. It can be seen that icmp return network packets are out of order.
4. Execute a recovery action, and check details of recovery.
5. Check results of recovery. Through comparison, we can see that the fault has been cleared and the network order has been recovered.
Was this page helpful?