Skip to content
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

dashboard LM #2133

Merged
merged 1 commit into from
Jun 26, 2023
Merged
Show file tree
Hide file tree
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
6 changes: 2 additions & 4 deletions docs-2.0/nebula-dashboard-ent/11.license-manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

After configuring the license manager (LM) in NebulaGraph and its affiliated software, you can use LM to verify the validity of the licenses and ensure the proper use of the graph database and affiliated software.

Dashboard currently only provides pages to display license info, license usage and product list.
Dashboard currently only provides pages to display license info, license usage, and product list.

## Prerequisites

- The [license key](../9.about-license/2.license-management-suite/3.license-manager.md) is loaded.

- The `config.yaml` file has been modified. Set the value of `LicenseManagerURL` to the host IP of LM and port number `9119`, e.g. `192.168.8.100:9119`.
Please ensure that Dashboard has been activated. For details, please refer to [Activating Dashboard](3.connect-dashboard.md).

## Entry

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ This topic will introduce how to deploy Dashboard Enterprise Edition in detail.

Before deploying Dashboard Enterprise Edition, you must do a check of these:

- The [license key](../9.about-license/2.license-management-suite/3.license-manager.md) is loaded.

- Select and download Dashboard Enterprise Edition of the correct version. For information about the version correspondence between Dashboard Enterprise Edition and NebulaGraph, see [Version compatibility](1.what-is-dashboard-ent.md).

- MySQL and SQLite are supported to store Dashboard metadata. To use MySQL, make sure that the environment of [MySQL](https://www.mysql.com/) is ready and a MySQL database named as `dashboard` is create. Make sure the default character set of the database is `utf8`.
Expand Down
30 changes: 28 additions & 2 deletions docs-2.0/nebula-dashboard-ent/3.connect-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ After Dashboard is deployed, you can log in and use Dashboard on the browser.

- We recommend you to use the Chrome browser of the version above 89. Otherwise, there may be compatibility issues.

## Procedures
## Connect to Dashboard

1. Confirm the IP address of the machine where the Dashboard is installed. Enter `http://<ip_address>:7005` in the browser to open the login page.

Expand All @@ -24,4 +24,30 @@ After Dashboard is deployed, you can log in and use Dashboard on the browser.

!!! note

You can create LDAP, OAuth2.0 or general accounts after log into Dashboard. For more information about the Dashboard account, see [Authority Management](5.account-management.md).
You can create LDAP, OAuth2.0 or general accounts after log into Dashboard. For more information about the Dashboard account, see [Authority Management](5.account-management.md).

## Activate Dashboard

Before using Dashboard, it is necessary to configure License Manager (LM) to validate the effectiveness of the license and activate Dashboard.

Users can configure LM in two ways to use Dashboard:

- Configure LM directly through Dashboard:

The dashboard currently supports visual one-click deployment of LM. After logging into Dashboard, follow the steps below to complete the deployment of LM and start using Dashboard.

1. Click **Start** on the LM Introduction page: This page introduces the relevant concepts and overall process of LM, including installation of LM, generation of License Key, and running LM. Click **Start** to continue.

2. Fill in the configuration information and install LM: You need to fill in the host IP, SSH-related information, installation path, License Manager port, etc. After filling in the information, click **Install LM** to install it.

3. View LMID and generate License Key: After successfully installing LM, LMID will be generated. Users can copy LMID and [bind the LMID to generate a license key on LC](../9.about-license/2.license-management-suite/2.license-center.md#bind-lmid-to-generate-a-license-key). Users need to fill in the License Key in the Dashboard interface and click **Confirm** to complete the configuration of the License.

!!! note

If the user already has a License Key, then can click on the **Configuration LM URL** in the top right corner, enter the LM URL directly, and then click **Confirm** to complete the configuration of the License.

- Configure LM through the installation package:

1. Install and start LM, and load the License Key in LM. For details, please refer to [License Manager](../9.about-license/2.license-management-suite/3.license-manager.md).

2. In the installation path of Dashboard, go to the `etc` directory, and modify the `config.yaml` file. Set the value of `LicenseManagerURL` to the host IP and port number 9119 where LM is located, for example, `192.168.8.xxx:9119`. Users can also log into Dashboard and set the value of `LicenseManagerURL` in the License Manager Installation Guide page under **Configuration LM URL**.