Help Center/ Distributed Database Middleware/ User Guide/ Instance Management/ Upgrading the Version of a DDM Instance
Updated on 2024-07-30 GMT+08:00

Upgrading the Version of a DDM Instance

What Is the Preferred Version of DDM Version Series?

A DDM kernel version usually consists of four digits, for example, 3.0.8.x. The first three digits indicate the major version number, for example, 3.0.8. A series of minor versions will be released for each major version. The preferred version of this DDM series is a recommended minor version. It is also the latest and the most stable version. For DDM instances of the same major version, upgrading the kernel version to this preferred version is a minor version upgrade. This operation involves rectifying issues, and there is a low risk of syntax incompatibility. You are advised to upgrade your instance to the preferred version.

Which Is the Latest Version of DDM?

The latest version of DDM is the preferred version of the current latest DDM major version.

Scenarios

  • DDM allows you to manually upgrade the kernel version to the preferred version of the current version series or the latest version.
    • Preferred version: recommended version under a major version The smaller the modification is, the lower the compatibility risk.
    • Latest version: recommended version under the latest major version A kernel version upgrade is a major version upgrade and may involve updates of new features and performance and rectification of issues. There are compatibility risks. So thorough testing is required before such an upgrade.
  • By default, a newly created DDM instance uses the latest version. When a new version is released on Huawei Cloud, you will see Upgrade in the Version column on the Instances page. You can click Upgrade to go to the version upgrade page.

Precautions

  • Upgrading the kernel version will restart your DDM instance, and this may interrupt your workloads for a while. Perform this upgrade during off-peak hours or make sure that your applications can be automatically reconnected.
  • If your instance is already of the preferred version of the current version series, it can be upgraded to only the latest version.
  • If the current version differs greatly from the target version, remember to perform thorough compatibility testing on a test instance before upgrading the version of your production instances, so that production services are not affected.
  • If there are incompatibility issues after a version upgrade, roll back your instance to the original version by referring to Rolling Back the Version of a DDM Instance.
  • For details about kernel versions, see Kernel Version Notes.
  • If IPv6 is enabled for the VPC of the DDM instance, the target version for upgrade must be 3.0.9 or earlier or 3.1.3 or later.

Procedure

  1. Log in to the DDM console.
  2. On the Instances page, locate the instance whose version you want to upgrade and click its name.
  3. On the Basic Information page, in the Instance Information area, click Upgrade beside the Version field.

    Alternatively, click Upgrade in the Version column on the Instances page.

  4. In the displayed dialog box, select the target version and click OK.

    • Preferred version: recommended version under a major version
    • Latest version: recommended version under the latest major version
      Figure 1 Select the target version

  5. Confirm and click Yes to upgrade the version.
  6. When upgrading the version, the instance status changes to "Upgrading".
  7. After the upgrade is completed, the instance status changes from "Upgrading" to "Running". The target version is displayed.