This topic describes how to install and uninstall OBDNS in the OceanBase Admin Toolkit (OAT) console.
Prerequisites
Before you install OBDNS, make sure that the following conditions are met:
- 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 install OBDNS. For more information, see Add a server.
- You have added an OBDNS image file.
- The server meets the requirements for installing OBDNS.
Install OBDNS
To install OBDNS, perform the following steps:
In the left-side navigation pane, choose Product Service > Components.
On the Components page, click Create Component in the upper-right corner and choose Create OBDNS.
On the Create OBDNS page, configure the parameters.
The following table describes the basic parameters of OBDNS.
Parameter Description OBDNS Image The Docker image of OBDNS. Component Name The name of the component, which must be unique. Default value: obdns.Server The IP address of the server on which you want to install OBDNS. CPU The number of CPU cores available to OBDNS. Default value: 4. Memory The size of memory available to OBDNS, in GB. Default value: 128. Basic Domain Name The base domain name of OBDNS. Log Directory The persistent data directory of OBDNS. Default value: /home/admin/logs/obdns.The following table describes the data storage parameters of OBDNS.
Parameter Description Peer Port The peer port of the internal etcd. Default value: 2380.Client Port The port that the internal etcd uses to receive client requests. Default value: 2379.After you configure the parameters, click Submit.
You can also click Reset to restore to the default configurations.
Uninstall OBDNS
To uninstall OBDNS, perform the following steps:
In the left-side navigation pane, choose Product Service > Components.
Find the OBDNS component that you want to uninstall and click Uninstall in the Actions column.
Note
You can also search for the required OBDNS component by name at the top of the page.
In the message that appears, click Uninstall.
Then, OAT displays a message indicating that the component is being uninstalled and creates an uninstallation task. You can click the task ID in the message to view the task progress.
Note
If the OBDNS component is associated with another service, the uninstallation fails.
What to do next
After you install OBDNS, you can install other services in the OceanBase ecosystem on multiple nodes.