tencent cloud

Feedback

CVM System Time Skew

Last updated: 2024-09-26 15:47:38

    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 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.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support