Cross-zone disaster recovery

更新时间:
复制 MD 格式

Cross-zone disaster recovery deploys the primary and secondary nodes of an AnalyticDB for PostgreSQL instance across different zones in the same region. If the primary zone's nodes become unavailable, the system automatically fails over to the secondary nodes. These nodes have the same storage capacity and take over read and write services to maintain business continuity. This topic shows you how to enable cross-zone disaster recovery for an AnalyticDB for PostgreSQL instance.

Architecture

image

Supported versions

  • AnalyticDB for PostgreSQL 6.0 High-availability Edition instances with a minor version of v6.6.2.10 or later.

  • AnalyticDB for PostgreSQL 7.0 High-availability Edition instances with a minor version of v7.1.1.0 or later.

Note

To view the minor version of your instance, see View the minor version of an instance. If your instance does not meet these requirements, update its minor version.

Usage notes

  • The instance provides a single endpoint that connects to the current primary nodes. The secondary nodes serve only as backups and do not handle external traffic.

  • Enabling cross-zone disaster recovery causes a service interruption of about 20 minutes. To avoid business impact, perform this operation during off-peak hours.

Supported primary zones

Cross-zone disaster recovery is available only for instances in the following primary zones.

Note
  • The zone that you select when you create an instance is the primary zone.

  • When you enable cross-zone disaster recovery, you can only select the secondary zone.

Region

Zone

Supported

China (Hangzhou)

Zone H

Yes

Zone I

Yes

Zone J

Yes

China (Shanghai)

Zone F

Yes

Zone G

Yes

Zone L

No

Zone M

Yes

Zone N

Yes

China (Beijing)

Zone G

Yes

Zone H

Yes

Zone I

Yes

China (Zhangjiakou)

Zone B

Yes

Zone C

Yes

China (Hohhot)

Zone A

Yes

Zone B

Yes

China (Ulanqab)

Zone B

Yes

Zone C

Yes

China (Shenzhen)

Zone A

Yes

Zone E

Yes

Zone F

Yes

China (Chengdu)

Zone A

No

China (Hong Kong)

Zone C

No

Japan (Tokyo)

Zone B

No

Singapore

Zone A

Yes

Zone B

Yes

Zone C

No

Malaysia (Kuala Lumpur)

Zone A

Yes

Zone B

Yes

Indonesia (Jakarta)

Zone A

No

Germany (Frankfurt)

Zone A

No

UK (London)

Zone A

No

US (Virginia)

Zone A

Yes

Zone B

Yes

US (Silicon Valley)

Zone A

Yes

Zone B

Yes

South Korea (Seoul)

Zone A

No

Thailand (Bangkok)

Zone A

No

SAU (Riyadh - Partner Region)

Zone A

Yes

Zone B

Yes

Billing

Enabling cross-zone disaster recovery doubles compute resource fees, while storage resource fees remain unchanged. For detailed pricing information, refer to the purchase page for your instance.

Enable cross-zone disaster recovery

Important

Enabling cross-zone disaster recovery causes a service interruption of about 20 minutes. To avoid business impact, perform this operation during off-peak hours.

  1. Log on to the AnalyticDB for PostgreSQL console. In the upper-left corner, select the region of your instance, and then click the instance ID.

  2. In the upper-right corner of the Basic Information page, choose Manage Instance > Enable Multi-zone Deployment.

  3. In the Enable Multi-zone Deployment dialog box, click OK.

  4. Click Enable to the right of Multi-zone Deployment, and then select a secondary zone and its vSwitch.

  5. Read and select the Buy Now checkbox, and then click Buy Now.

View the primary and secondary zones

  1. Log on to the AnalyticDB for PostgreSQL console. In the upper-left corner, select the region of your instance, and then click the instance ID.

  2. On the Basic Information page, find the primary and secondary zone information in the Instance Region and Zone section.

FAQ

How do I resolve the error Current primaryZoneId and standbyZoneId do not support multi az, please reselect?

The error message Current primaryZoneId and standbyZoneId do not support multi az, please reselect indicates that your instance's primary zone is incompatible with the selected secondary zone for this feature. Select a different combination of zones. For a list of supported zone combinations, see Supported primary zones.