This topic describes how to take over MetaDB in the OceanBase Admin Toolkit (OAT) console. OAT of earlier versions cannot be smoothly upgraded to the new version because the new version has been restructured. Therefore, you must use OAT of the new version to take over the services and components deployed by using OAT of earlier versions. This way, you can monitor the status of the services and components and manage their upgrades.
Prerequisites
Before you take over MetaDB, make sure that the following conditions are met:
- You have added the image of MetaDB.
- You have installed OAT and logged in as a super administrator or an O&M engineer. For more information, see Install OAT.
- You have added a server to take over MetaDB. For more information, see Add a server.
- The server meets the requirements for taking over MetaDB.
Procedure
To take over MetaDB, perform the following steps:
In the left-side navigation pane, choose Product Service > Components.
On the Components page, click Take Over Component in the upper-right corner and choose Take Over MetaDB.
On the Take Over MetaDB page, configure the parameters.
The following table describes the basic parameters of MetaDB.
Parameter Description MetaDB Image The Docker image of MetaDB. Component Name The name of the component, which must be unique. Default value: metadb.Server The IP address of the server used to take over MetaDB. CPU The number of CPU cores available to MetaDB. Default value: 32. Memory The size of memory available to MetaDB, in GB. Default value: 90. root@sys Password The password of the root user of the sys tenant. After you configure the parameters, click Submit.
You can also click Reset to restore to the default configurations.
What to do next
After you take over MetaDB, you can take over other services. For more information, see Take over OCP.