tencent cloud

Tencent Cloud Smart Advisor

CVM System Time Skew

PDF
Focus Mode
Font Size
Last updated: 2025-03-24 15:22:59

Background

In a real production environment, various uncertain factors (such as machine power failure, and network delay) may result in inconsistent system time on the nodes in a distributed system. If the nodes have inconsistent time, events generated by the system will be disordered, which may have catastrophic consequences on the system. For this reason, the platform provides a fault action for simulating a real CVM system time skew. Users can verify the resilience of the system in the event of a system time skew.

Experiment Implementation

Step 1: Experiment Preparation

Prepare several CVM instance objects for the experiment.

Step 2: Experiment Orchestration

1. Log in to the Tencent Cloud Smart Advisor > Chaotic Fault Generator, go to the Experiment Management page, and click Create a New Experiment.
2. Click Skip and create a blank experiment, fill in the experiment information, and select a CVM instance for an experiment objective.
3. Click Add Now to add an experiment action, select Shell Script, click CVM time skew, and click Next.
4. Configure action parameters for fault actions, and click Confirm.
5. After action parameter configuration, click Next. After confirming all configurations, click Submit to complete experiment creation.

Step 3: Experiment Execution

1. Check CVM system time before the experiment.
2. Go to Experiment Details, select actions to be executed, and click Execute to start the experiment.
3. Click the Action Card to check details of an action.
4. Check of CVM instance system time, which has skewed.
5. Manually execute recovery actions. You can see that time has returned to normal.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback