Background
Tencent Smart Advisor-Chaotic Fault Generator provides fault actions that simulate a scene in which MySQL instance is overall unavailable. You can verify disaster recovery and the overall high availability of your business MySQL through the fault action.
Note:
For MySQL instance creation and connection, see the following documents:
Experiment Implementation
Step 1: Experiment Preparation
A MySQL Instance
A CVM instance (used only for connecting database example. You can use other means of connection.)
Step 2: Experiment Orchestration
2. Click Skip and create a blank experiment. Fill in the experiment information, and select TencentDB for MySQL instance for the Experiment Objective.
3. Click Add Now to add an experiment action, select MySQL instance overall unavailable, and click Next .
4. Configure action parameter information for fault actions and click Confirm.
5. After the configuration of action parameters, click Next. After confirming all configurations, click Submit to complete experiment creation.
Step 3: Experiment Execution
1. Attempt to log in to MySQL instance through CVM. 2. Go to Experiment Details. In the Experiment Action Group, click Execute to start executing an experiment.
3. After fault action injection, log in to TencentDB for MySQL instance through CVM once again. You can find that it's impossible to connect and log in normally. 4. Execute recovery actions.
5. Reconnect and log in to the instance.
Was this page helpful?