tencent cloud

Tencent Smart Advisor-Chaotic Fault Generator

Product Introduction
Overview
Strengths
Scenarios
Purchase Guide
Purchase Instructions
Getting Started
Quick Start with the Console
Quick Start with API
Operation Guide
Template Library
Experiments
Fault Action
Guardrail Monitoring
Tag
Agent Management
Fault Action Library
Compute
Database
Network
Container
Big Data
Cloud Load Balancer
Message Queue
Direct Connect
Custom Actions
Cloud Streaming Services (CSS)
Permission Management Guide
Overview
Authorization Policy Syntax
Authorizable Resource Types
Service Authorization and Role Permissions
Sub-users and Authorization
API Documentation
History
Introduction
API Category
Making API Requests
Task APIs
Template Library APIs
Data Types
Error Codes
FAQs
Product Feature Issues
Action Execution Issues
Agent FAQ
Related Protocol
PRIVACY POLICY MODULE CHAOTIC FAULT GENERATOR
DATA PRIVACY AND SECURITY AGREEMENT MODULE CHAOTIC FAULT GENERATOR
Contact Us

Primary-secondary Switch in SQL Server

PDF
Focus Mode
Font Size
Last updated: 2024-09-26 15:47:38

Background

TencentDB for SQL Server provides an instance with dual nodes: a primary node and a secondary node. To allow a timely primary-secondary switch by the user upon occurrence of a primary instance fault and normal services, Tencent Smart Advisor-Chaotic Fault Generator provides users capabilities for primary-secondary switch, supports manual primary-secondary switch for users, and helps users in verifying primary-secondary switch reliability, data integrity and overall stability of services.
Note:
This action requires that your TencentDB for SQL Server instance meets the following conditions:
Must be a dual-node cloud disk architecture.
Primary and secondary node instances must be in operation.
Primary and secondary node instances must be non-read-only instances.
Read-only instance not associated.
Publish and subscribe not enabled.
Contains at least one self-built database.
Does not contain automatically generated test database test19700101.

Experiment Implementation

Step 1: Experiment Preparation

A dual-node TencentDB for SQL Server.

Step 2: Create an Experiment

1. Log in to Tencent Cloud Smart Advisor > Chaos Engineering Console, create a new experiment. See Quick Start for details.
2. Fill in the basic information of an action group, select Database > SQL Server for Object Type, and click Add SQL Server Instance.
3. Click Add Instance to add instances for the experiment.
4. Click Add Now to add Primary-secondary switch fault Action, click Next.
5. Configure action parameters and click Confirm.
6. The platform has built-in Tencent Cloud Observability. Monitoring Metrics can be selected. After confirmation, click Submit to create an experiment.

Step 3: Experiment Execution

1. In a new Chaotic Fault Generator, click Execute fault action.
2. Click to execute card, and check action execution logs.
3. Click to execute the fault recovery action to recover the initial node state.

Help and Support

Was this page helpful?

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

Feedback