Switchover to Disaster Replica
A Switchover to Disaster Recovery (DR) Replica allows users to temporarily or permanently switch the primary database instance to the DR replica located in a different Availability Zone. This operation is typically performed for activities such as DR drills, maintenance, or testing failover procedures.
The Tessell Console provides the capability to perform both:
Temporary switchover (DR Drill)
Permanent switchover to the DR replica.
During a DR Drill, the primary database role is temporarily transferred to the DR replica and can later be switched back to the original primary instance.
Behavior During a DR Drill
When a DR Drill is initiated:
The primary database is switched to the DR replica.
Once the DR replica is promoted as the new primary instance, the previous primary instance will continue to run as a replica.
Automated snapshots are temporarily paused during the DR drill.
Point-in-Time Recovery (PITR) backups (transaction logs) continue to run from the new primary instance based on the configured RPO policy.
The Tessell Console displays the notification “DR Drill in Progress” next to the status of the DB service in the UI.
After the switchback:
Automated snapshots resume automatically.
The “DR Drill in Progress” notification disappears from UI once the switchback is complete.
Switchover for a DR Drill (Temporary)
Follow the steps below to temporarily switch the primary database to the DR replica for a DR drill.
Steps
Sign in to the Tessell Console.
From the left navigation pane, navigate to DB Services → My Services
Select the MySQL DB service for which the switchover needs to be performed.
Open the Instances tab.
Click Switch Over from the right panel menu.
Select Switchover to DR Replica.
Enable the option Switchover for a DR Drill.
Select the consent checkbox to confirm the operation.
Click Switch to initiate the switchover.
Switchback After DR Drill
After the DR drill is completed, the service can be switched back to the original primary instance.
Steps
Sign in to the Tessell Console.
Navigate to DB Services → My Services
Select the corresponding MySQL DB service.
Go to the Instances tab.
Click Switch Over from the right panel menu.
In the switchover window, select the consent checkbox to proceed with the switchback to the original primary instance (eg: default-node-0).
A Service Undergoing DR Drill confirmation window appears.
Select the consent checkbox again and click Proceed to continue the operation.
After completion:
The original primary instance is restored to the primary role.
Automated snapshots resume from the original primary instance.
The DR Drill in Progress notification is removed from the UI.
Permanent Switchover to DR Replica
If the user wants to permanently promote the DR replica as the new primary instance, the switchover can be performed without enabling the DR Drill option.
Behavior During Permanent Switchover
The current primary instance is shut down.
The DR replica is promoted as the new primary instance.
The service continues operating from the new primary in the DR Availability Zone.
The Tessell Console displays the service status as “Degraded”, and the previous primary instance is marked as “Down.”
Automated snapshots and Point-in-Time Recovery (PITR) backups (transaction logs) run from the new primary instance based on the configured RPO policy.
Once the DR replica is promoted as the new primary instance, switching back to the original primary instance is not supported.
Steps
Sign in to the Tessell Console.
Navigate to DB Services → My Services
Select the MySQL DB service.
Go to the Instances tab.
Click Switch Over from the right panel menu.
Choose Switchover to DR Replica.
Uncheck the option “Switchover for a DR Drill.”
Select the consent checkbox to confirm the operation.
Click Switch to initiate the switchover.
Last updated
Was this helpful?