This topic describes how to take over OB Sharding 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 OB Sharding, make sure that the following conditions are met:
- You have added the image of OB Sharding.
- You have taken over the components on which OB Sharding relies.
- You have added a server to take over OB Sharding. For more information, see Add a server.
- The server meets the requirements for taking over OB Sharding. For more information, see [Plan resources for OB Sharding](https://www.oceanbase.com/docs/enterprise/oceanbase-OB Sharding-cn/V3.3.2/10000000000474771).
Procedure
To take over OB Sharding, perform the following steps:
In the left-side navigation pane, choose Product Service > Products.
On the Products page, click Take Over Products in the upper-right corner and choose Take Over OBSharding.
On the Take Over OBSharding page, configure the parameters.
The following table describes the basic parameters of OB Sharding.
Parameter Description OBSharding Console Image The Docker image of the OB Sharding console. Product Name The name of the service, which must be unique. Server The IP address of the server to take over OB Sharding. CPU The number of CPU cores available to the OB Sharding server. Default value: 8. Memory The size of memory available to the OB Sharding server, in GB. Default value: 20. The following table describes the parameters of the OB Sharding server.
Parameter Description OBSharding Server Image The Docker image of the OB Sharding server. Server The IP address of the server on which you want to install the OB Sharding server. Service Port The port number of the OB Sharding server. CPU The number of CPU cores available to the OB Sharding server. Default value: 8. Memory The size of memory available to the OB Sharding server, in GB. Default value: 16. The following table describes the MetaDB parameters of OB Sharding.
Parameter Description MetaDB Type The type of MetaDB. Select Created MetaDB The existing MetaDB component to be used for OB Sharding. The following table describes the load balancing parameters. The parameters are optional.
Parameter Description Load Balancing Mode The load balancing mode. MetaDB TCP Proxy IP The proxy IP address or domain name used by the OB Sharding console to connect to MetaDB. MetaDB TCP Proxy Port The proxy port used by the OB Sharding console to connect to MetaDB. Default value: 3306.OBSharding Console HTTP Proxy IP The IP address for accessing the OB Sharding console. OBSharding Console HTTP Proxy Port The port for accessing the OB Sharding console. Default value: 80.After the parameters are configured, click Submit. You can also click Reset to restore to the default configurations.
What to do next
After you take over OB Sharding, you can upgrade OB Sharding based on your business requirements. For more information, see Upgrade OB Sharding.