Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 48 additions & 1 deletion docs/en/08-operation/30-activate.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
title: Activate TDengine TSDB-Enterprise
---

import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import Enterprise from '../assets/resources/_enterprise.mdx';

<Enterprise/>

This document describes how to activate a TDengine TSDB-Enterprise license.

## Prerequisites
Expand All @@ -11,6 +17,14 @@ This document describes how to activate a TDengine TSDB-Enterprise license.

## Procedure

### Obtain Your Activation Code

1. Open the TDengine CLI as the `root` user:

```shell
taos
```

1. Run the following SQL statement to obtain required information for your deployment:

```sql
Expand All @@ -34,10 +48,43 @@ This document describes how to activate a TDengine TSDB-Enterprise license.

Your account representative or reseller will send you an activation code that you use to activate your TDengine TSDB-Enterprise deployment.

1. Once you receive your activation code, log in to TDengine TSDB Explorer. The default URL is `http://127.0.0.1:6060`.
### Activate Your Deployment

<Tabs>
<TabItem value="TDengine CLI">

1. Once you receive your activation code, open the TDengine CLI as the `root` user.

```shell
taos
```

1. Apply the activation code to your cluster:

```sql
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:

```sql
SHOW GRANTS\G;
```

</TabItem>
<TabItem value="TDengine TSDB Explorer">

1. Once you receive your activation code, log in to TDengine TSDB Explorer as the `root` user. The default URL is `http://127.0.0.1:6060`.

1. From the main menu on the left, select **Management**. Open the **License** tab and click **Activate License**.

1. Enter your activation code and click **Confirm**.

:::important
Ensure 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.

</TabItem>
</Tabs>
Loading