You need to upgrade the MyBase cluster after you upgrade the MyBase version or add or remove database products and tools.
Prerequisites
You have deployed MyBase.
You have edited the project.
Procedure
Download the deployment package to any management host and decompress it into the
/apsara/v1.0.0-xxxdirectory.WarningDo not decompress the deployment package directly into the
/apsaradirectory. In the path,v1.0.0-xxxrepresents the package version number. You must create a subdirectory that corresponds to the package version.Run the following command to extract the deployment package.
tar -xvf mybase-dbstack-v1.0.0-20241128223719.tarmybase-dbstack-v1.0.0-20241128223719.taris an example of a deployment package name. Replace it with the actual name of your deployment package.Navigate to the extracted folder and load the new version package.
mybase load v1.0.0-20241128223719Upgrade 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
The following output is displayed after the installation is complete.
