-
Notifications
You must be signed in to change notification settings - Fork 5k
docs: update activation doc #34659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
docs: update activation doc #34659
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
|
@@ -11,6 +17,14 @@ | |
|
|
||
| ## 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 | ||
|
|
@@ -33,11 +47,44 @@ | |
| - 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. | ||
|
|
||
|
Check failure on line 50 in docs/en/08-operation/30-activate.md
|
||
| ### 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. Once you receive your activation code, log in to TDengine TSDB Explorer. The default URL is `http://127.0.0.1:6060`. | ||
| 1. Apply the activation code to your cluster: | ||
danielclow marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| ```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**. | ||
danielclow marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| :::important | ||
| Ensure that the activation code is not enclused in single quotes. | ||
danielclow marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ::: | ||
|
|
||
| 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> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.