Changing AZs

CSS supports cross-AZ deployment. You can add an AZ to obtain more resources or improve cluster availability, and can migrate your current AZ to one with higher specifications. This section describes how to add or migrate your AZs.

Description

You can Add AZ or Migrate AZ.
  • Add AZ: Add one or two AZs to a single-AZ cluster, or add an AZ to a dual-AZ cluster to improve cluster availability.
  • Migrate AZ: Completely migrate data from the current AZ to another AZ that has sufficient resources.

Prerequisites

Constraints

Procedure

  1. Log in to the CSS management console.
  2. In the navigation pane, choose a cluster type. The cluster management page is displayed.
  3. Choose More > Modify Configuration in the Operation column of the target cluster. The Modify Configuration page is displayed.
  4. Click the Change AZ tab.
  5. On the Change AZ page, set parameters.
    Table 1 Parameters for changing AZs

    Parameter

    Description

    Operation Type

    • Add AZ: Add one or two AZs to a single-AZ cluster, or add an AZ to a dual-AZ cluster.

      During HA modification, the nodes with the smallest configurations are modified to rebuild the cluster. After the HA modification is complete, the YML configuration of the nodes that are not modified is also updated. You need to restart the cluster to make the modification take effect.

    • Migrate AZ: Migrate data from one AZ to another.

      After adding AZs, you need to restart the cluster to make the modification take effect.

    Node Type

    Select a type of node or All nodes to change their AZ.

    NOTE:

    When adding one or two AZs to a single-AZ cluster, you can only select All nodes to change AZs for all nodes at a time.

    Current AZ

    Current AZ of a cluster

    Target AZ

    Target AZ.

    • Add AZ: Select up to three AZs, which must include all your current AZs.
    • Migrate AZ: Select only one target AZ, which cannot be your current AZ.

    Agency

    Select an IAM agency to grant the current account the permission to change AZs.

    If no agencies are available, click Create IAM Agency to go to the IAM console and create an agency.

    NOTE:

    The selected agency must be authorized with the Tenant Administrator or VPC Administrator policy.

  6. Click Submit. Determine whether to check for the backup of all indexes and click OK to start the change.
    Figure 1 Checking full index snapshots
  7. The current AZ change task is displayed in the task list. If the task status is Running, expand the task list and click View Progress to view the progress details.
    Figure 2 Viewing the task progress

    If the task status is Failed, you can retry or terminate the task.

    • Retry a task: Click Retry in the Operation column of a task.
    • Terminate a task: Click Terminate in the Operation column of a task.

      If AZ of the original node is not changed after the task is stopped, you can recover the node by Replacing a Specified Node.

      If the AZ of some nodes have been changed and the AZ form of the cluster has changed, stopping the switchover task may make the deliver of the previous switchover request fail. Exercise caution when stopping the switchover task.