This topic describes the entire process of upgrading Web ODC.
Upgrade types
Upgrade in single-node deployment mode: If your ODC is deployed in single-node mode, you only need to upgrade ODC on the node to the new version.
Upgrade in high-availability deployment mode: If your ODC is deployed in high availability mode, you only need to upgrade ODC to the new version on all nodes in high-availability deployment mode. You can choose to upgrade the NGINX image to the latest version when you upgrade ODC applications in high-availability deployment mode.
Upgrade process
The upgrade of OceanBase Developer Center (ODC) in high-availability deployment mode requires four steps:
Stop ODC of the earlier version: Stop the ODC container of the earlier version in Docker.
Backup the Meta Database: Back up the MetaDB data of the existing version to a file. If you need to roll back the version later, you can use this backup file to restore the MetaDB.
Load and run the ODC image: Load and run the new ODC image on each node in high-availability deployment mode to upgrade ODC.
Upgrade the Nginx image: You can choose whether to upgrade the NGINX image to the latest version. To upgrade the NGINX image, you must stop and delete the old image, obtain the image of the latest version on the host, and deploy the Nginx proxy.
Note
- The initial username of the Web ODC administrator is admin. When you deploy Web ODC, you can set the initial password of the ODC administrator account through the environment variable
ODC_ADMIN_INITIAL_PASSWORD. Please refer to Load and run an ODC Image for specific configuration. - For more information about how to log in to Web ODC, see Log in to ODC with an account.
- The initial username of the Web ODC administrator is admin. When you deploy Web ODC, you can set the initial password of the ODC administrator account through the environment variable