Help Center> Distributed Cache Service> User Guide> Operating DCS Instances> Enabling Multi-AZ for a Cluster Instance
Updated on 2024-05-17 GMT+08:00

Enabling Multi-AZ for a Cluster Instance

By enabling multi-AZ for a single-AZ cluster instance, you can deploy the instance in two AZs for DR.

  • Available only for cluster instances that have two or more replicas and deployed in a single AZ.
  • Currently, this function is unavailable in CN East-Shanghai1. For details, see the console.
  • When you enable multi-AZ for a Proxy Cluster instance:
    • Service running may fluctuate during the change. Perform this operation during off-peak hours.
    • If your application cannot reconnect or handle exceptions, try restarting the application after the change.
  • When you enable multi-AZ for a Redis Cluster instance:
    • Changing AZs will not interrupt services or the master node, but will slightly affect performance. Perform this operation during off-peak hours.
    • Changing AZs interrupts connections to some replicas. Ensure your application can automatically recover from exceptions and reconnect to Redis.

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner of the management console and select the region where your instance is located.
  3. In the navigation pane, choose Cache Manager.
  4. On the Cache Manager page, click a DCS instance.
  5. In the Network area of the DCS instance, click Enable Multi-AZ next to AZ.

  6. In the displayed Change AZs dialog box, specify Standby AZ.
  7. Set Apply Change to Now or During maintenance.
  8. Click OK.

    When complete, the task changes to the Successful state.