Upgrade MyBase

更新时间:
复制 MD 格式

You need to upgrade the MyBase cluster after you upgrade the MyBase version or add or remove database products and tools.

Prerequisites

Procedure

  1. Download the deployment package to any management host and decompress it into the /apsara/v1.0.0-xxx directory.

    Warning

    Do not decompress the deployment package directly into the /apsara directory. In the path, v1.0.0-xxx represents the package version number. You must create a subdirectory that corresponds to the package version.

  2. Run the following command to extract the deployment package.

    tar -xvf mybase-dbstack-v1.0.0-20241128223719.tar

    mybase-dbstack-v1.0.0-20241128223719.tar is an example of a deployment package name. Replace it with the actual name of your deployment package.

  3. Navigate to the extracted folder and load the new version package.

     mybase load v1.0.0-20241128223719
  4. Upgrade the product.

    The following command is an example of how to upgrade PolarDB-X. To upgrade other products, such as DAS or Tair, replace PolarDB-X with the code for that product.

    mybase product install PolarDB-X

    image.png

    The following output is displayed after the installation is complete.image.png