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

Changes involving LM #2741

Merged
merged 19 commits into from
May 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
50 changes: 0 additions & 50 deletions docs-2.0/20.appendix/8.about-license.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs-2.0/20.appendix/learning-path.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
| 可视化工具 | 文档 | 视频 |
| -------------- | ------------------------------------------------------------ | ------------------------------------------------------------ |
| 数据可视化 | [Nebula Studio](https://docs.nebula-graph.com.cn/{{nebula.release}}/nebula-studio/about-studio/st-ug-what-is-graph-studio/) | [Nebula Studio 图探索功能](https://www.bilibili.com/video/BV1QN411Z7Vh)和[Nebula Studio 可视化建模](https://www.bilibili.com/video/BV19A411L77h?spm_id_from=333.999.0.0) |
| 数据监控和运维 | [{{dashboard_ent.name}](https://docs.nebula-graph.com.cn/{{nebula.release}}/nebula-dashboard-ent/1.what-is-dashboard-ent/)和 [Nebula Dashboard 社区版](https://docs.nebula-graph.com.cn/{{nebula.release}}/nebula-dashboard/1.what-is-dashboard/) | [{{dashboard_ent.name}](https://www.bilibili.com/video/BV1qQ4y1k7gb?) |
| 数据监控和运维 | [{{dashboard_ent.name}}](https://docs.nebula-graph.com.cn/{{nebula.release}}/nebula-dashboard-ent/1.what-is-dashboard-ent/)和 [Nebula Dashboard 社区版](https://docs.nebula-graph.com.cn/{{nebula.release}}/nebula-dashboard/1.what-is-dashboard/) | [{{dashboard_ent.name}}](https://www.bilibili.com/video/BV1qQ4y1k7gb?) |
| 数据分析 | [{{explorer.name}}](https://docs.nebula-graph.com.cn/{{nebula.release}}/nebula-explorer/about-explorer/ex-ug-what-is-explorer/) | [{{explorer.name}}](https://www.bilibili.com/video/BV1fP4y1h7Fx?) |

- 数据导入与导出
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# {{dashboard_ent.name}更新说明
# {{dashboard_ent.name}}更新说明

## v3.4.2

Expand All @@ -22,7 +22,7 @@
- 支持查看{{nebula.name}}集群[审计日志](../../nebula-dashboard-ent/4.cluster-operator/cluster-information/audit-log.md)。
- 支持[作业管理](../../nebula-dashboard-ent/4.cluster-operator/cluster-information/job-management.md)。
- 备份恢复支持[增量备份](../../nebula-dashboard-ent/4.cluster-operator/operator/backup-and-restore.md)。
- 内置 [dashboard.service](../../nebula-dashboard-ent/2.deploy-connect-dashboard-ent.md) 脚本,支持一键管理{{dashboard_ent.name}服务和查看{{dashboard_ent.name}版本。
- 内置 [dashboard.service](../../nebula-dashboard-ent/2.deploy-connect-dashboard-ent.md) 脚本,支持一键管理{{dashboard_ent.name}}服务和查看{{dashboard_ent.name}}版本。
- 新增产品反馈页面。

- 优化
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

- 待安装{{nebula.name}}的主机可以访问互联网。

{{ ent.ent_begin }}
- 已[在 LM 中加载 License Key](../../9.about-license/2.license-management-suite/3.license-manager.md)
{{ ent.ent_end }}

## 安装步骤

1. 克隆{{nebula.name}}的源代码到主机。
Expand Down Expand Up @@ -72,7 +76,14 @@
$ sudo make install
```

7. 安装目录下`etc/`目录中(默认为`/usr/local/nebula/etc`)的配置文件为参考模版,用户可以根据需要创建自己的配置文件。如果要使用 `script` 目录下的脚本,启动、停止、重启、中止和查看服务,配置文件需要命名为 `nebula-graph.conf`,`nebula-metad.conf`和`nebula-storaged.conf`。
{{ ent.ent_begin }}
7. 在{{nebula.name}}的 Meta 服务配置文件(`nebula-metad.conf`)中,设置`license_manager_url`的值为许可证管理工具所在的主机 IP 和端口号`9119`,例如`192.168.8.100:9119`。

abby-cyber marked this conversation as resolved.
Show resolved Hide resolved
{{ ent.ent_end }}

!!! note

安装目录下`etc/`目录中(默认为`/usr/local/nebula/etc`)的配置文件为参考模版,用户可以根据需要创建自己的配置文件。如果要使用`script`目录下的脚本,启动、停止、重启、中止和查看服务,配置文件需要命名为`nebula-graph.conf`,`nebula-metad.conf`和`nebula-storaged.conf`。

## 更新 master 版本

Expand All @@ -84,11 +95,7 @@ master 分支的代码更新速度快,如果安装了 master 分支对应的

## 下一步

{{ ent.ent_begin }}
- (企业版)[设置 License](../deploy-license.md)
{{ ent.ent_end }}

- [管理{{nebula.name}}服务](../../2.quick-start/3.quick-start-on-premise/5.start-stop-service.md)
[管理{{nebula.name}}服务](../../2.quick-start/3.quick-start-on-premise/5.start-stop-service.md)

## CMake 参数

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@

- 如果用户使用的是国产化的 Linux 操作系统,请[安装{{nebula.name}}](https://www.nebula-graph.com.cn/contact)。

{{ ent.ent_begin }}
## 前提条件


- 已[在 LM 中加载 License Key](../../9.about-license/2.license-management-suite/3.license-manager.md)
{{ ent.ent_end }}

## 操作步骤

Expand Down Expand Up @@ -67,15 +73,19 @@

3. 修改配置文件名以应用配置。

进入解压出的目录,将子目录`etc`中的文件`nebula-graphd.conf.default`、`nebula-metad.conf.default`和`nebula-storaged.conf.default`重命名,删除`.default`,即可应用{{nebula.name}}的默认配置。如需修改配置,参见[配置管理](../../5.configurations-and-logs/1.configurations/1.configurations.md)。

至此,{{nebula.name}}安装完毕。

## 下一步
进入解压出的目录,将子目录`etc`中的文件`nebula-graphd.conf.default`、`nebula-metad.conf.default`和`nebula-storaged.conf.default`重命名,删除`.default`,即可应用{{nebula.name}}的默认配置。

{{ ent.ent_begin }}
- [设置 License](../deploy-license.md)
4. 在{{nebula.name}}的 Meta 服务配置文件(`nebula-metad.conf`)中,设置`license_manager_url`的值为许可证管理工具所在的主机 IP 和端口号`9119`,例如`192.168.8.100:9119`。

{{ ent.ent_end }}

- [管理{{nebula.name}}服务](../manage-service.md)
!!! note

如需修改更多配置,参见[配置管理](../../5.configurations-and-logs/1.configurations/1.configurations.md)。

至此,{{nebula.name}}安装完毕。

## 下一步

[管理{{nebula.name}}服务](../manage-service.md)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
用户可以使用以下生态工具安装{{nebula.name}}:

{{ ent.ent_begin }}
- {{dashboard_ent.name}
- {{dashboard_ent.name}}

{{ ent.ent_end }}

Expand All @@ -12,7 +12,7 @@
## 安装详情

{{ ent.ent_begin }}
- 使用**{{dashboard_ent.name}** 安装{{nebula.name}}的详情,参见[创建集群](../../nebula-dashboard-ent/3.create-import-dashboard/1.create-cluster.md)。
- 使用**{{dashboard_ent.name}}** 安装{{nebula.name}}的详情,参见[创建集群](../../nebula-dashboard-ent/3.create-import-dashboard/1.create-cluster.md)。

{{ ent.ent_end }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

- 准备 5 台用于部署集群的机器。
- 在集群中通过 NTP 服务同步时间。
{{ ent.ent_begin }}
- 已[在 LM 中加载 License Key](../../9.about-license/2.license-management-suite/3.license-manager.md)。
{{ ent.ent_end }}

## 手动部署流程

Expand All @@ -31,12 +34,6 @@

- [使用源码安装{{nebula.name}}](1.install-nebula-graph-by-compiling-the-source-code.md)

{{ ent.ent_begin }}
### 设置 License。

如果部署{{nebula.name}},需要设置 License。详情请参见[设置{{nebula.name}} License](../../4.deployment-and-installation/deploy-license.md)。

{{ ent.ent_end }}
### 修改配置文件

修改每个服务器上的{{nebula.name}}配置文件。
Expand All @@ -63,6 +60,12 @@

- [Storage 服务配置](../../5.configurations-and-logs/1.configurations/4.storage-config.md)

{{ ent.ent_begin }}
!!! note

在所有的 Meta 服务配置文件中,需要设置`license_manager_url`的值为 LM 所在的主机 IP 和端口号`9119`,例如`192.168.8.100:9119`。
{{ ent.ent_end }}

- 机器 A 配置

- `nebula-graphd.conf`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@

服务升级完成后,会在 v{{nebula.release}} 的安装目录下生成`data`目录,其中包含升级后的数据文件。

4. 上传 License 文件至 v{{nebula.release}} 的安装目录下的`share/resources`内。

5. 启动和连接{{nebula.name}} v{{nebula.release}} 服务后,验证数据是否正确。参考命令如下:
4. 启动和连接{{nebula.name}} v{{nebula.release}} 服务后,验证数据是否正确。参考命令如下:

```
nebula> SHOW HOSTS;
Expand Down
109 changes: 0 additions & 109 deletions docs-2.0/4.deployment-and-installation/deploy-license.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,21 @@ Meta 服务提供了两份初始配置文件`nebula-metad.conf.default`和`nebul
| `pid_file` | `pids/nebula-metad.pid` | 记录进程 ID 的文件。 |不支持|
| `timezone_name` | - | 指定{{nebula.name}}的时区。初始配置文件中未设置该参数,如需使用请手动添加。系统默认值为`UTC+00:00:00`。格式请参见 [Specifying the Time Zone with TZ](https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html "Click to view the timezone-related content in the GNU C Library manual")。例如,东八区的设置方式为`--timezone_name=UTC+08:00`。 |不支持|

!!! Note

* 在插入[时间类型](../../3.ngql-guide/3.data-types/4.date-and-time.md)的属性值时,{{nebula.name}}会根据`timezone_name`设置的时区将该时间值(TIMESTAMP 类型例外)转换成相应的 UTC 时间,因此在查询中返回的时间类型属性值为 UTC 时间。
* `timezone_name`参数只用于转换{{nebula.name}}中存储的数据,{{nebula.name}}进程中其它时区相关数据,例如日志打印的时间等,仍然使用主机系统默认的时区。

{{ ent.ent_begin }}

## enterprise license 配置

| 名称 | 预设值 | 说明 |是否支持运行时动态修改|
| :----------- | :----------------------- | :------------------|:------------------|
|`license_path`|`share/resources/nebula.license`|企业版 License 路径。企业版需要用户[设置 License](../../4.deployment-and-installation/deploy-license.md) 才可以正常启动并使用企业版功能。仅{{nebula.name}}需要设置本参数,其他周边工具如何设置 License,请参见相应周边工具的部署文档。|不支持|
|`license_manager_url`|-|License Manager 地址。设置为 LM 所在的主机 IP 和端口号`9119`,例如`192.168.8.100:9119`。更多信息,参见 [License Manager](../../9.about-license/2.license-management-suite/3.license-manager.md)。|不支持|

{{ ent.ent_end }}

!!! Note

* 在插入[时间类型](../../3.ngql-guide/3.data-types/4.date-and-time.md)的属性值时,{{nebula.name}}会根据`timezone_name`设置的时区将该时间值(TIMESTAMP 类型例外)转换成相应的 UTC 时间,因此在查询中返回的时间类型属性值为 UTC 时间。
* `timezone_name`参数只用于转换{{nebula.name}}中存储的数据,{{nebula.name}}进程中其它时区相关数据,例如日志打印的时间等,仍然使用主机系统默认的时区。

## logging 配置

| 名称 | 预设值 | 说明 |是否支持运行时动态修改|
Expand Down
Loading