Background
TencentDB for Redis supports a primary-secondary architecture. Users can simulate a scene of a primary node fault in TencentDB for Redis by means of Redis primary node fault action provided by the platform.
Experiment Implementation
Step 1: Experiment Preparation
Prepare a few TencentDB for Redis instances.
Step 2: Experiment Orchestration
2. Click Skip and create a blank experiment.
3. Fill in the basic information of the experiment, and click Next.
4. Add an Action Group. Fill in the basic information of an action group, and click Add Instance.
5. Select the Redis instance for the experiment, click Confirm. If there is no instance, click Create Instance, and continue experiment creation after purchasing an instance.
6. Click Add Now, select a fault action.
7. Select Redis master node failure, click Next.
8. Configure action parameters considering actual situations, click Confirm.
9. After action parameter configuration, click Next.
10. Selectively configure Guardrail Policy and Monitoring Metrics considering actual situations. After checking and confirming all configurations, click Submit to complete the experiment creation.
Step 3: Experiment Execution
1. Check node status and primary and replica availability zones in TencentDB for Redis before an experiment. Click Instance ID in Instance List in Experiment Details to go to instance details.
2. Go to experiment details, and click Go to Action Group Execution.
3. Click Execute to start an experiment. During the experiment, click Instance ID to skip to the instance details page where instance node information can be checked.
Was this page helpful?