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

Upgrade dashboard #692

Merged
merged 3 commits into from
Sep 3, 2021
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
2 changes: 1 addition & 1 deletion docs-2.0/nebula-dashboard/1.what-is-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Dashboard monitors:

- The information of clusters, including the information of services, partitions, configurations, and long-term tasks.

Features of the enterprise package (TODO: planning)
- Features of the enterprise package (TODO: planning)

!!! enterpriseonly

Expand Down
81 changes: 46 additions & 35 deletions docs-2.0/nebula-dashboard/2.deploy-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The correspondence between the Dashboard release and the Nebula Graph release is

|Dashboard|Nebula Graph|
|:---|:---|
|{{dashboard.release}}|2.5.0, 2.0.1|
|{{dashboard.release}}|2.x|

## Port

Expand All @@ -26,12 +26,11 @@ The deployment of Dashboard occupies the following ports:

## Download Dashboard

Download the configuration files for the deployment.
Download the tar package as needed, and it is recommended to select the latest version.

| Dashboard tar-package | Nebula Graph version |
| Dashboard package | Nebula Graph version |
| :----- | :----- |
| [nebula-graph-dashboard-{{ dashboard.release }}.x86_64.tar.gz](https://oss-cdn.nebula-graph.io/nebula-graph-dashboard/{{ dashboard.release }}/nebula-graph-dashboard-{{ dashboard.release }}.x86_64.tar.gz) | 2.5.0 |

| [nebula-graph-dashboard-{{ dashboard.release }}.x86_64.tar.gz](https://oss-cdn.nebula-graph.com.cn/nebula-graph-dashboard/{{ dashboard.release }}/nebula-graph-dashboard-{{ dashboard.release }}.x86_64.tar.gz) | v{{nebula.release}} |

## Service

Expand All @@ -58,7 +57,7 @@ The above five services should be deployed as follows.
To start the service, run the following statement in `node-exporter`:

```bash
$ nohup ./node-exporter --web.listen-address=:9100 &
$ nohup ./node-exporter --web.listen-address=":9100" &
```

After the service is started, you can enter `<IP>:9100` in the browser to check whether the service is started normally.
Expand All @@ -73,40 +72,51 @@ After the service is started, you can enter `<IP>:9100` in the browser to check

```bash
version: v0.0.4
nebulaItems:
- instanceName: metad0
endpointIP: 192.168.xx.1
endpointPort: 19559
componentType: metad
- instanceName: metad1
endpointIP: 192.168.xx.2
endpointPort: 19559
componentType: metad
- instanceName: metad2
endpointIP: 192.168.xx.3
endpointPort: 19559
componentType: metad
- instanceName: graphd0
endpointIP: 192.168.xx.4
endpointPort: 19669
componentType: graphd
- instanceName: storaged0
endpointIP: 192.168.xx.5
endpointPort: 19779
componentType: storaged
- instanceName: storaged1
endpointIP: 192.168.xx.6
endpointPort: 19779
componentType: storaged
- instanceName: storaged2
endpointIP: 192.168.xx.7
endpointPort: 19779
clusters:
- name: nebula
instances:
- name: metad0
endpointIP: 192.168.8.157
endpointPort: 19559
componentType: metad
- name: metad1
endpointIP: 192.168.8.155
endpointPort: 19559
componentType: metad
- name: metad2
endpointIP: 192.168.8.154
endpointPort: 19559
componentType: metad
- name: graphd0
endpointIP: 192.168.8.157
endpointPort: 19669
componentType: graphd
- name: graphd1
endpointIP: 192.168.8.155
endpointPort: 19669
componentType: graphd
- name: graphd2
endpointIP: 192.168.8.154
endpointPort: 19669
componentType: graphd
- name: storaged0
endpointIP: 192.168.8.157
endpointPort: 19779
componentType: storaged
- name: storaged1
endpointIP: 192.168.8.155
endpointPort: 19779
componentType: storaged
- name: storaged2
endpointIP: 192.168.8.154
endpointPort: 19779
componentType: storaged
```

2. Run the following statement to start the service:

```bash
$ nohup ./nebula-stats-exporter --bare-metal --bare-metal-config=./config.yaml &
$ nohup ./nebula-stats-exporter --listen-address=":9200" --bare-metal --bare-metal-config=./config.yaml &
```

After the service is started, you can enter `<IP>:9200` in the browser to check whether the service is started normally.
Expand All @@ -128,6 +138,7 @@ After the service is started, you can enter `<IP>:9200` in the browser to check
static_configs:
- targets: [
'192.168.xx.100:9200', # The IP address and port of the nebula-stats-exporter service.
'192.168.xx.101:9200'
]
- job_name: 'node-exporter'
static_configs:
Expand Down