Activate TDengine TSDB-Enterprise
The features or components discussed in this document are available in TDengine TSDB-Enterprise only. TDengine TSDB-OSS does not include these features or components.
This document describes how to activate a TDengine TSDB-Enterprise license.
Prerequisites
- Contact TDengine or an authorized reseller to purchase TDengine TSDB-Enterprise.
- Install and deploy TDengine TSDB-Enterprise on the actual machines that you intend to license.
Procedure
Obtain Your Activation Code
-
Open the TDengine CLI as the
rootuser:taos -
Run the following SQL statement to obtain required information for your deployment:
SHOW CLUSTER MACHINES;Sample output is displayed as follows:
id | dnode_num | machine | version |
=======================================================================
3609687158593567855 | 1 | Bdw+qvOCyvAOc3SS5GIyEOIi | 3.3.6.13 | -
Copy the entire output of the statement and send it to your account representative or authorized reseller. Also include the following information:
- The name of your company
- The name and email address of the primary technical contact
- The intended environment (production, PoC, or testing)
- The desired term of the license
Your account representative or reseller will send you an activation code that you use to activate your TDengine TSDB-Enterprise deployment.
Activate Your Deployment
- TDengine CLI
- TDengine TSDB Explorer
-
Once you receive your activation code, open the TDengine CLI as the
rootuser.taos -
Apply the activation code to your cluster:
ALTER CLUSTER 'activeCode' '<your-activation-code>';
Your TDengine TSDB-Enterprise deployment is now licensed. You can run the following SQL statement to view the details of your license, including expiration date:
SHOW GRANTS\G;
-
Once you receive your activation code, log in to TDengine TSDB Explorer as the
rootuser. The default URL ishttp://127.0.0.1:6060. -
From the main menu on the left, select Management. Open the License tab and click Activate License.
-
Enter your activation code and click Confirm.
importantEnsure that the activation code is not enclosed in single quotes.
Your TDengine TSDB-Enterprise deployment is now licensed. You can view the details of your license, including expiration date, on the License tab.