This topic describes how to take over OB Sharding in the OceanBase Admin Toolkit (OAT) console. Earlier versions of OAT cannot be smoothly upgraded to the current version because the new version has been restructured. Therefore, the current version of OAT must take over the products and components deployed by using earlier versions of OAT to monitor their status and manage their upgrades.
Prerequisites
Before you take over OB Sharding, make sure that:
- You have added the image used by OB Sharding.
- You have taken over the components that OB Sharding depends on.
- 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.
Procedure
To take over OB Sharding, perform the following steps:
In the left-side navigation pane, choose Product Service > Product Management.
On the Product Management page, click Take Over Products in the upper-right corner, and choose Take Over OB Sharding.
On the Take Over OB Sharding page, specify the related parameters.
The following table describes the basic parameters of OB Sharding.
Parameter Description OB Sharding Console Image The Docker image of the OB Sharding console. Product Name The name of the product, which must be unique. Server The IP address of the server to take over OB Sharding. CPU The number of CPU cores allocated to OB Sharding. Default value: 8C.Memory The memory allocated to OB Sharding. Default value: 20G.The following table describes the parameters of the OB Sharding server.
Parameter Description OB Sharding Server Image The Docker image of the OB Sharding server. Server The IP address of the server where the OB Sharding server is to be installed Service Port The port number of the OB Sharding server. CPU The number of CPU cores allocated to OB Sharding. Default value: 8C.Memory The memory allocated to OB Sharding. Default value: 16G.The following table describes the MetaDB parameters of OB Sharding.
Parameter Description MetaDB Type Select the type of MetaDB. Select Created MetaDB Select Created MetaDB The following table describes the optional load balancing parameters.
Parameter Description Load Balancing Mode Select 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.OB Sharding Console HTTP Proxy IP The IP address for accessing the OB Sharding console. OB Sharding Console HTTP Proxy Port The port for accessing the OB Sharding console. Default value: 80.After you set the parameters, click Submit. You can also click Reset to restore the default configurations.
What to do next
After you take over OB Sharding, you can upgrade it. For more information, see Upgrade OB Sharding.