Local Deployment
This document describes how to install TDengine IDMP on your local machine.
Prerequisites
- Ensure that your local machine meets the minimum requirements for TDengine IDMP. For details, see Planning Your Deployment.
- Install TDengine TSDB-Enterprise version 3.3.7.0 or higher. For instructions, see Deploy TDengine TSDB-Enterprise Enterprise.
- Install Java 21 or later.
- Install glibc 2.25 or later.
- On Debian and Ubuntu systems, install the
python3-venv
package.
Install TDengine IDMP
Select your operating system to display the appropriate installation procedure.
Your machine must be connected to the internet when you install TDengine IDMP. Dependencies are downloaded and installed during the TDengine IDMP installation process.
-
In a web browser, access the TDengine Download Center.
-
Select the installation package for your operating system and download it.
-
Follow the instructions in the Download Center to install TDengine IDMP.
Do not start TDengine IDMP until you have configured the TDengine TSDB-Enterprise connection as described in the following section.
Configure TSDB Connection
-
Configure the TDengine TSDB-Enterprise connection in TDengine IDMP:
-
Open the TDengine IDMP configuration file with a text editor. The default location is
/usr/local/taos/idmp/config/application.yml
. -
Under the
tda.default-connection
section, set the TDengine TSDB-Enterprise connection details as shown in the following example:tda:
default-connection:
enable: true
auth-type: UserPassword
url: http://<hostname>:<port>
username: <username>
password: <password>-
url: Specify the URL and port number of your taosAdapter instance.
-
username: Enter a TDengine TSDB-Enterprise user.
-
password: Enter the password for the TDengine TSDB-Enterprise user.
-
-
-
(Optional) Run the following command to test the connection to TDengine TSDB-Enterprise:
curl --request POST \
--user <username>:<password> \
--url http://<hostname>:<port>/rest/sql \
--data 'show databases;'If the connection is successful, the list of databases in TDengine TSDB-Enterprise will be displayed.
Start TDengine IDMP
- Linux
- macOS
Run the following command to start TDengine IDMP:
sudo svc-tdengine-idmp start
You can also use other svc-tdengine-idmp
commands to check the service status, stop the service, and perform other operations:
sudo svc-tdengine-idmp status # Check service status
sudo svc-tdengine-idmp stop # Stop service
You can manually manage the TDengine IDMP service using systemctl
. For example:
sudo systemctl start tdengine-idmp
sudo systemctl stop tdengine-idmp
sudo systemctl status tdengine-idmp
sudo systemctl restart tdengine-idmp
Root permissions are required to run these commands.
Run the following command to start TDengine IDMP:
sudo svc-tdengine-idmp start
You can also use other svc-tdengine-idmp
commands to check the service status, stop the service, and perform other operations:
sudo svc-tdengine-idmp status # Check service status
sudo svc-tdengine-idmp stop # Stop service
You can manually manage the TDengine IDMP service using launchctl
. For example:
sudo launchctl start com.taosdata.tdengine-idmp
sudo launchctl stop com.taosdata.tdengine-idmp
sudo launchctl list | grep tdengine-idmp
sudo launchctl print system/com.taosdata.tdengine-idmp
- Root privileges are required to run these commands.
- The command
sudo launchctl list | grep tdengine-idmp
returns the PID of the TDengine IDMP Java process in the first column. If the command returns-
, the TDengine IDMP service is not running. - If the service is not working properly, check the system log (
launchd.log
) or the logs located in the/usr/local/taos/idmp/logs
directory for more information.
Once TDengine IDMP starts successfully, it includes the following three services:
tdengine-idmp-h2
: Stores metadata and configuration for TDengine IDMP.tdengine-idmp-chat
: Handles AI-related tasks and analytics.tdengine-idmp
: The core service responsible for managing and providing data access.
Uninstall TDengine IDMP
- Linux-Generic
- Linux-Red Hat
- Linux-Ubuntu
- macOS
Run the following command to uninstall TDengine IDMP:
rmidmp -e [yes | no]
To retain data, log, and configuration files, specify no
. To delete these files, specify yes
.
Run the following command to uninstall TDengine IDMP:
rpm -e tdengine-idmp
Run the following command to uninstall TDengine IDMP:
dpkg -r tdengine-idmp
Run the following command to uninstall TDengine IDMP:
rmidmp -e [yes | no]
To retain data, log, and configuration files, specify no
. To delete these files, specify yes
.