Multi-zone deployment for instances with a storage-compute separation architecture keeps data accessible even if an availability zone (AZ) becomes unavailable. The underlying data uses zone-redundant storage for higher reliability.
Comparison of availability zone types
|
Metric |
Single-zone |
Two-zone |
Three-zone |
|
Disaster recovery capability |
Does not support cross-datacenter disaster recovery. |
Withstands a single availability zone failure. |
Withstands two concurrent availability zone failures. |
|
Data storage |
Data is stored redundantly across multiple devices and facilities within the same availability zone. |
Data is stored redundantly across multiple availability zones within the same region. |
|
|
Fault recovery capability |
BE/CN node failures are automatically recovered. A zone-level failure interrupts all tasks. |
If the primary availability zone fails, the FE and compute nodes can be switched to a standby zone to maintain service continuity. |
If the primary availability zone fails, you can select a healthy standby zone and perform a switchover. The system migrates the FE and compute nodes to that zone to maintain service continuity. |
|
Deployment cost |
No additional cost. |
|
|
Limitations
-
This feature is available only for instances that use a storage and compute separation architecture.
-
You cannot change the primary availability zone after creating the instance.
-
This feature does not support cross-region deployments.
-
After a switchover, the system migrates the frontend and compute nodes to the standby availability zone. The instance's network configuration and domain name remain unchanged. Ensure that the vSwitch in the standby availability zone has sufficient available IP addresses.
Usage notes
-
After you enable multi-zone disaster recovery, you cannot disable it.
-
If the production instance fails before some data is fully synchronized to the disaster recovery nodes, that unsynchronized data is lost after a switchover.
-
When you adjust FE resources, for example, by scaling out nodes, upgrading configurations, or expanding disks, the system synchronizes the Observer resources in the standby availability zone with the FE resources.
Billing
This feature incurs the following additional costs:
-
This feature requires additional FE nodes, which incur extra CU cost. This charge appears on your bill as OBSERVER Computing Resources. For more information, see CU cost.
-
The underlying storage uses zone-redundant storage, which incurs additional storage costs. For more information, see Data storage (multi-zone) fees.
Enable multi-zone disaster recovery
New instance
-
Go to the E-MapReduce Serverless StarRocks instance list page.
-
Log on to the E-MapReduce console.
-
In the navigation pane on the left, choose .
-
In the top menu bar, select the required region.
-
-
On the Instances page, click Create Instance.
-
On the EMR Serverless StarRocks page, for the Multi-zone Disaster Recovery parameter, select Two Zones or Three Zones and specify the backup VSwitches for the standby zones.
For more information about how to create an instance, see Create an instance.
Existing instance
-
Go to the disaster recovery management page.
Log on to the E-MapReduce console.
-
In the left navigation pane, select EMR Serverless > StarRocks.
-
Click the name of the target instance.
-
Click the Disaster Recovery tab.
-
On the Disaster Recovery tab, click Disaster Recovery Settings.
-
In the panel that appears, for the Multi-zone Disaster Recovery parameter, select Two Zones or Three Zones and specify the backup VSwitches for the standby zones.
-
Select the service agreement and click OK.
Switch availability zones
-
A zone switchover makes the instance unavailable for one to two hours. To minimize business impact, perform this operation only when the instance is completely down and cannot be recovered.
-
The switchover may fail if the destination availability zone has insufficient server inventory. We recommend submitting a ticket in advance to reserve resources in the destination zone.
-
Go to the disaster recovery management page.
Log on to the E-MapReduce console.
-
In the left navigation pane, select EMR Serverless > StarRocks.
-
Click the name of the target instance.
-
Click the Disaster Recovery tab.
-
In the row of the target standby availability zone, click Switch Zone.
-
In the dialog box that appears, enter the name of the current instance to confirm, and then click OK.