This topic describes how to install and uninstall InfluxDB in the OceanBase Admin Toolkit (OAT) console.
Prerequisites
Before you install InfluxDB, make sure that the following conditions are met:
- You have installed OAT and logged on as either a super administrator or an O&M engineer. For more information, see Install OAT.
- You have added a server where InfluxDB is to be installed. For more information, see Add a server.
- You have added an InfluxDB image file.
- The server meets the requirements for installing InfluxDB.
Install InfluxDB
To install InfluxDB, perform the following steps:
In the left-side navigation pane, choose Product Service > Component Management.
On the Component Management page, click Create Component in the upper-right corner, and choose Create InfluxDB.
On the Create InfluxDB page, configure the parameters.
The following table describes the basic parameters of InfluxDB.
Parameter Description InfluxDB Image The Docker image of InfluxDB. Component Name The name of the component, which must be unique. Default value: influxdb.Server The IP address of the server where InfluxDB is to be installed. CPU The number of CPU cores on the server available for InfluxDB. Default value: 4C.Memory The memory on the server available for InfluxDB. Default value: 8G.Installation Directory The installation path of InfluxDB. Default value: /data/influxdb.Listening port The listening port of InfluxDB. Default value: 8086.After you set the parameters, click Submit.
You can also click Reset to restore to the default configurations.
Uninstall InfluxDB
To uninstall InfluxDB, perform the following steps:
In the left-side navigation pane, choose Product Service > Product Management.
Find the target InfluxDB service and click Uninstall in the Actions column.
You can also search for the InfluxDB service by name at the top of the page.
In the confirmation dialog box that appears, click Uninstall.
OAT displays a message indicating that the service is being uninstalled. OAT also creates an uninstallation task. In the confirmation dialog box that appears, you can click the task ID to view the task progress.
Notice
If InfluxDB is associated with another product, the uninstall will fail.
What to do next
After you install InfluxDB, you can collect and display historical monitoring data for OMS.