diff --git a/docs-2.0/20.appendix/8.about-license.md b/docs-2.0/20.appendix/8.about-license.md deleted file mode 100644 index 22c15e98c40..00000000000 --- a/docs-2.0/20.appendix/8.about-license.md +++ /dev/null @@ -1,50 +0,0 @@ -# 关于 License - -License 是一种软件许可证,用以规定和限制用户使用软件的权利。在{{nebula.name}}内核及生态工具中,License 被用于限制企业版软件的使用权限。本文介绍需设置 License 的产品及 License 的相关信息。 - -{{ ent.ent_begin }} -## {{nebula.name}} - -部署{{nebula.name}}时,用户需设置 License。 - -更多信息,参见[设置 License](../4.deployment-and-installation/deploy-license.md)。 - -{{ ent.ent_end }} - -## {{dashboard_ent.name}} - -{{dashboard_ent.name}}是一款开箱即用的多集群可视化运维工具,支持可视化集群操作和多维度监控集群。 - -部署{{dashboard_ent.name}}时,用户需设置{{dashboard_ent.name}} License。更多信息,参见 [{{dashboard_ent.name}} License](../nebula-dashboard-ent/11.dashboard-ent-license.md)。 - -## {{explorer.name}} - -{{explorer.name}}是一款通过 Web 访问的图探索可视化工具,搭配{{nebula.name}}内核使用,无需掌握图查询语言即可对大规模业务数据进行查找分析,分析结果直接可视化展示,可轻松快速挖掘数据的业务价值。 - -部署{{explorer.name}}时,用户需设置{{explorer.name}} License。更多信息,参见 [{{explorer.name}} License](../nebula-explorer/deploy-connect/3.explorer-license.md)。 - -## License 常见问题 - -### {{dashboard_ent.name}}/{{explorer.name}}/{{nebula.name}}的 License 一样吗? - -不一样,{{dashboard_ent.name}、{{explorer.name}}、{{nebula.name}}的 License 相互独立,不可互用。 - -### License 过期前,是否有信息提示?License 过期后如何续期? - -License 过期前,系统会发送过期提醒信息。 - -正式版的 License 和试用版的 License 的过期前的提醒时间不同。 - -- 正式版的 License 过期提醒: - - - 过期前 30 天和过期当天,在启动服务时有过期提醒。 - - - 到期后有 14 天缓冲期。在缓冲期期间,有过期提示,用户能继续使用{{nebula.name}}/{{dashboard_ent.name}/{{explorer.name}}。缓冲期结束后,服务会停机并无法启动。 - -- 试用版的 License 过期提醒: - - - 过期前 7 天和过期当天,在启动服务时有过期提醒。 - - - 无缓冲期。License 到期后,无法启动服务。 - -License 过期后,请及时联系销售([inqury@vesoft.com](mailto:inqury@vesoft.com))更换新的证书。 diff --git a/docs-2.0/20.appendix/learning-path.md b/docs-2.0/20.appendix/learning-path.md index d8e2138f63a..a6856512ba4 100644 --- a/docs-2.0/20.appendix/learning-path.md +++ b/docs-2.0/20.appendix/learning-path.md @@ -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?) | - 数据导入与导出 diff --git a/docs-2.0/20.appendix/release-notes/dashboard-ent-release-note.md b/docs-2.0/20.appendix/release-notes/dashboard-ent-release-note.md index c4365b3c537..224c91a44f9 100644 --- a/docs-2.0/20.appendix/release-notes/dashboard-ent-release-note.md +++ b/docs-2.0/20.appendix/release-notes/dashboard-ent-release-note.md @@ -1,4 +1,4 @@ -# {{dashboard_ent.name}更新说明 +# {{dashboard_ent.name}}更新说明 ## v3.4.2 @@ -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}}版本。 - 新增产品反馈页面。 - 优化 diff --git a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/1.install-nebula-graph-by-compiling-the-source-code.md b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/1.install-nebula-graph-by-compiling-the-source-code.md index 642968a7a7b..e18307605c3 100644 --- a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/1.install-nebula-graph-by-compiling-the-source-code.md +++ b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/1.install-nebula-graph-by-compiling-the-source-code.md @@ -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}}的源代码到主机。 @@ -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`。 + + {{ ent.ent_end }} + +!!! note + + 安装目录下`etc/`目录中(默认为`/usr/local/nebula/etc`)的配置文件为参考模版,用户可以根据需要创建自己的配置文件。如果要使用`script`目录下的脚本,启动、停止、重启、中止和查看服务,配置文件需要命名为`nebula-graph.conf`,`nebula-metad.conf`和`nebula-storaged.conf`。 ## 更新 master 版本 @@ -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 参数 diff --git a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/4.install-nebula-graph-from-tar.md b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/4.install-nebula-graph-from-tar.md index ef0a51e645e..263a364403a 100644 --- a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/4.install-nebula-graph-from-tar.md +++ b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/4.install-nebula-graph-from-tar.md @@ -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 }} ## 操作步骤 @@ -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) diff --git a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/6.deploy-nebula-graph-with-peripherals.md b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/6.deploy-nebula-graph-with-peripherals.md index d686d9db9a6..58d39ab67d7 100644 --- a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/6.deploy-nebula-graph-with-peripherals.md +++ b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/6.deploy-nebula-graph-with-peripherals.md @@ -3,7 +3,7 @@ 用户可以使用以下生态工具安装{{nebula.name}}: {{ ent.ent_begin }} -- {{dashboard_ent.name} +- {{dashboard_ent.name}} {{ ent.ent_end }} @@ -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 }} diff --git a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/deploy-nebula-graph-cluster.md b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/deploy-nebula-graph-cluster.md index 10d2c749a0b..5a1e2ba1463 100644 --- a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/deploy-nebula-graph-cluster.md +++ b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/deploy-nebula-graph-cluster.md @@ -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 }} ## 手动部署流程 @@ -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}}配置文件。 @@ -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` diff --git a/docs-2.0/4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-ent-from-3.x-3.4.md b/docs-2.0/4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-ent-from-3.x-3.4.md index 5a7e4acfcba..a0127b7213f 100644 --- a/docs-2.0/4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-ent-from-3.x-3.4.md +++ b/docs-2.0/4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-ent-from-3.x-3.4.md @@ -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; diff --git a/docs-2.0/4.deployment-and-installation/deploy-license.md b/docs-2.0/4.deployment-and-installation/deploy-license.md deleted file mode 100644 index 8caf30b3072..00000000000 --- a/docs-2.0/4.deployment-and-installation/deploy-license.md +++ /dev/null @@ -1,109 +0,0 @@ -# 设置{{nebula.name}} License - -{{nebula.name}}需要用户设置 License 才可以正常启动并使用企业版功能,本文介绍如何设置企业版的 License 文件。 - -!!! enterpriseonly - - License 是为企业版用户提供的软件授权证书,企业版用户可以[联系我们](https://www.nebula-graph.com.cn/contact)申请 License 文件。 - -## 注意事项 - -- 没有设置 License 时,{{nebula.name}}无法启动。 - -- 请勿修改 License 文件,否则会导致 License 失效。 - -- License 快过期时,请[联系我们](https://www.nebula-graph.com.cn/contact)申请续期。 - -- License 的过期缓冲为 14 天: - - - 过期前 30 天和过期当天,服务启动时会打印日志进行提醒。 - - - 过期后仍可继续使用 14 天。 - - - 过期 14 天后,服务无法启动,并会打印日志进行提醒。 - -## {{nebula.name}} License 说明 - -License 文件(`nebula.license`)内容示例如下: - -```bash -----------License Content Start---------- -{ - "vendor": "vesoft", - "organization": "doc", - "issuedDate": "2022-04-06T16:00:00.000Z", - "expirationDate": "2022-05-31T15:59:59.000Z", - "product": "nebula_graph", - "version": ">3.0.0", - "licenseType": "enterprise", - "gracePeriod": 14, - "graphdSpec": { - "nodes": 3 - }, - "storagedSpec": { - "nodes": 3 - }, - "clusterCode": "BAIAEAiAQAAG" -} -----------License Content End---------- - -----------License Key Start---------- -cofFcOxxxxxxxxxxxxxhnZgaxrQ== -----------License Key End---------- -``` - -License 文件包含生效时间、过期时间等信息。说明如下。 - -|参数|说明| -|:---|:---| -|`vendor`| 发放渠道。| -|`organization`| 用户名称。| -|`issuedDate`| License 生效时间。| -|`expirationDate`| License 过期时间。| -|`product`| 产品类型。{{nebula.name}}的产品类型为`nebula_graph`。| -|`version`| 版本支持的信息。| -|`licenseType`| License 类型。包括`enterprise`、`samll_bussiness`、`pro`、`individual`。预留参数。| -|`gracePeriod`| 证书过期后可继续使用服务的缓冲时间(单位天),超过缓冲期后停止服务。试用版的 License 过期后无缓冲期,默认值为 0。 | -|`graphdSpec`| 集群中 Graph 服务的数量限制。{{nebula.name}}会实时监测当前活动的 Graph 服务数量,超过限制的 Graph 服务无法连接集群。| -|`storagedSpec`| 集群中 Storage 服务的数量限制。{{nebula.name}}会实时监测当前活动的 Storage 服务数量,超过限制的 Storage 服务无法连接集群。| -|`clusterCode`| 用户的硬件信息,也是集群的唯一标识码。试用版的 License 中无此参数。 | - -## 设置{{nebula.name}} License - -1. [联系我们](https://www.nebula-graph.com.cn/contact)申请{{nebula.name}}安装包。 - -2. 安装{{nebula.name}}。安装方式与社区版相同,请参见[使用 RPM 或 DEB 包安装{{nebula.name}}](2.compile-and-install-nebula-graph/2.install-nebula-graph-by-rpm-or-deb.md)。 - -3. [联系我们](https://www.nebula-graph.com.cn/contact)申请 License 文件`nebula.license`。 - -4. 将 License 文件上传到所有包含 Meta 服务的机器上,路径为每个 Meta 服务安装目录的`share/resources/`内。 - - !!! note - - 周边工具的 License 文件上传位置,请参见[具体周边工具](../20.appendix/6.eco-tool-version.md)的说明文档。 - -## 续期{{nebula.name}} License - -1. 发送邮件至`inqury@vesoft.com`申请新的{{nebula.name}} License。 - -2. 在所有包含 Meta 服务的机器上,路径为每个 Meta 服务安装目录的`share/resources/`内,使用新的 License 文件`nebula.license`替换旧的 License 文件。 - -3. 重启 Storage 和 Graph 服务。关于重启操作,参见[启动服务](manage-service.md)。如果用户的 License 的过期时间在到期后的缓冲期内(默认 14 天),则无需重启 Storage 和 Graph 服务。 - - !!! note - - 当用户的 License 过期时间超过到期后的缓冲期,Graph 和 Storage 服务会自动停止。为了确保服务正常运行,请及时更新 License。 - -## 查看{{nebula.name}} License - -- 直接查看 License 文件 - - 可以使用 cat 等命令直接查看 License 文件,例如`cat share/resources/nebula.license`。 - -- 通过 HTTP 接口查看 License 文件 - - 当{{nebula.name}}正常运行时,可以请求 Meta 服务的 HTTP 接口(默认为19559)获取 License 文件内容。例如`curl -G "http://192.168.10.101:19559/license"`。 - -## 下一步 - -[启动{{nebula.name}}](manage-service.md) diff --git a/docs-2.0/5.configurations-and-logs/1.configurations/2.meta-config.md b/docs-2.0/5.configurations-and-logs/1.configurations/2.meta-config.md index 30f14843a49..e37cd174d8e 100644 --- a/docs-2.0/5.configurations-and-logs/1.configurations/2.meta-config.md +++ b/docs-2.0/5.configurations-and-logs/1.configurations/2.meta-config.md @@ -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 配置 | 名称 | 预设值 | 说明 |是否支持运行时动态修改| diff --git a/docs-2.0/graph-computing/analytics-ent-license.md b/docs-2.0/graph-computing/analytics-ent-license.md deleted file mode 100644 index 4a509ef88d4..00000000000 --- a/docs-2.0/graph-computing/analytics-ent-license.md +++ /dev/null @@ -1,86 +0,0 @@ -# {{plato.name}} License - -License 是为用户提供的软件授权证书。用户在部署{{plato.name}}时,需要设置 License 才能正常启动{{plato.name}}。本文介绍{{plato.name}}的 License 相关信息。 - -## 注意事项 - -- 没有设置 License 时,{{plato.name}}无法启动。 - -- 请勿修改 License,否则会导致 License 失效。 - -- License 快过期时,请[联系我们](https://www.nebula-graph.com.cn/contact)申请续期。 - -- License 的过期缓冲为 14 天: - - - 过期前 30 天和过期当天,服务启动时会打印日志进行提醒。 - - - 过期后仍可继续使用 14 天。 - - - 过期 14 天后,服务无法启动,并会打印日志进行提醒。 - -## 获取方式 - -[联系我们](https://www.nebula-graph.com.cn/contact)申请{{plato.name}}License。 - -!!! note - - 填写 [{{plato.name}}试用申请](https://wj.qq.com/s2/10158890/69a8)可获取 30 天免费试用的 License。 - -## {{plato.name}} License 说明 - -{{plato.name}} License 是一个名为`nebula.license`的文件,内容示例如下: - -```bash -----------License Content Start---------- -{ - "vendor": "vesoft", - "organization": "vesoft", - "issuedDate": "2022-11-01T16:00:00.000Z", - "expirationDate": "2023-11-01T15:59:59.000Z", - "product": "nebula_graph_analytics", - "version": ">3.0.0", - "licenseType": "enterprise", - "gracePeriod": 14, - "analytics": { - "nodes": 3, - "vcpu": 3 - } - "clusterCode": "BAIAEAiAQAAG" -} -----------License Content End---------- - -----------License Key Start---------- -Rrjip5c+xxxxxxxxxxxxxk5Yg== -----------License Key End---------- -``` - -License 文件包含生效时间、过期时间等信息。说明如下。 - -|参数|说明| -|:---|:---| -|`vendor`| 发放渠道。| -|`organization`| 用户名称。| -|`issuedDate`| License 生效时间。| -|`expirationDate`| License 过期时间。| -|`product`| 产品类型。{{plato.name}}的产品类型为`nebula_graph_analytics`。| -|`version`| 版本支持的信息。| -|`licenseType`| License 类型(预留参数)。包括`enterprise`、`samll_bussiness`、`pro`、`individual`。| -|`gracePeriod`| 证书过期后可继续使用服务的缓冲时间(单位天),超过缓冲期后停止服务。试用版的 License 过期后无缓冲期,默认值为 0。 | -|`nodes`|集群中{{plato.name}}服务的数量限制。| -|`vcpu`|集群中{{plato.name}}服务的总线程数量限制。| -|`clusterCode`| 用户的硬件信息,也是集群的唯一标识码。试用版的 License 中无此参数。 | - -## 使用方式 - -关于如何使用{{plato.name}}License,参见[{{plato.name}}](nebula-analytics.md)。 - -## 续期操作 - -按照以下操作续期{{plato.name}}License。 - -1. [联系我们](https://www.nebula-graph.com.cn/contact)申请新的{{plato.name}}License 文件`nebula.license`。 -2. 在{{plato.name}}的安装目录下(例如,`/usr/local/nebula-analytics/scripts/`),使用新的 License 文件替换旧的 License 文件。 - -!!! note - - {{plato.name}} License 过期后,用户无法正常使用{{plato.name}}。为了保证业务正常运行,请及时更新 License。 diff --git a/docs-2.0/graph-computing/nebula-analytics.md b/docs-2.0/graph-computing/nebula-analytics.md index 696ed743a3e..9c7b087b69f 100644 --- a/docs-2.0/graph-computing/nebula-analytics.md +++ b/docs-2.0/graph-computing/nebula-analytics.md @@ -6,7 +6,9 @@ - [联系我们](https://www.nebula-graph.com.cn/contact)获取{{plato.name}}安装包。 -- [准备{{plato.name}} License](analytics-ent-license.md)。 +{{ ent.ent_begin }} +- 已[加载 License Key](../9.about-license/2.license-management-suite/3.license-manager.md)。 +{{ ent.ent_end }} - 已部署 2.2.x 或以上版本的 [HDFS](https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/ClusterSetup.html)。 @@ -88,7 +90,7 @@ export JAVA_HOME= ``` -3. 拷贝 License 至所有机器的{{plato.name}}安装路径的`scripts`目录内。 +3. 配置`analytics.conf`文件,路径为`nebula-analytics/scripts/analytics.conf`。设置`license_manager_url`的值为许可证管理工具所在的主机 IP 和端口号`9119`,例如`192.168.8.100:9119`。 - [连接{{nebula.name}}](https://docs.nebula-graph.com.cn/{{nebula.release}}/2.quick-start/3.quick-start-on-premise/3.connect-to-nebula-graph/) diff --git a/docs-2.0/synchronization-and-migration/replication-between-clusters.md b/docs-2.0/synchronization-and-migration/replication-between-clusters.md index 71490a1f301..c739f6bbad1 100644 --- a/docs-2.0/synchronization-and-migration/replication-between-clusters.md +++ b/docs-2.0/synchronization-and-migration/replication-between-clusters.md @@ -2,10 +2,6 @@ {{nebula.name}}支持在集群间进行数据同步,即主集群 A 的数据可以近实时地复制到从集群 B 中,方便用户进行异地灾备或分流,降低数据丢失的风险,保证数据安全。 -!!! enterpriseonly - - 仅企业版支持本功能。 - ## 背景 ![replication between clusters](https://docs-cdn.nebula-graph.com.cn/figures/replication-between-clusters.png) @@ -51,8 +47,6 @@ - 准备至少 2 台部署服务的机器。主从集群需要分开部署,listener 和 drainer 可以单独部署,也可以分别部署在主从集群所在机器上,但是会增加集群负载。 -- 准备企业版 License 文件。 - ### 示例环境 主集群A:机器 IP 地址为`192.168.10.101`,只启动 Graph、Meta、Storage 服务。 @@ -79,6 +73,8 @@ drainer:机器 IP 地址为`192.168.10.104`,只启动 drainer 服务。 - 将配置文件的后缀`.default`或`.production`删除。 + - Meta 服务的配置文件(`nebula-metad.conf`)中,设置`license_manager_url`的值为许可证管理工具所在的主机 IP 和端口号`9119`,例如`192.168.8.xxx:9119`。 + - 所有配置文件里都需要用真实的机器 IP 地址替换`local_ip`的`127.0.0.1`。 - 所有`nebula-graphd.conf`配置文件里设置`enable_authorize=true`。 @@ -93,9 +89,7 @@ drainer:机器 IP 地址为`192.168.10.104`,只启动 drainer 服务。 更多配置说明,请参见[配置管理](../5.configurations-and-logs/1.configurations/1.configurations.md)。 -2. 在主从集群和 listener 服务的机器上放置 License 文件,路径为安装目录的`share/resources/`内。 - -3. 在所有机器的{{nebula.name}}安装目录内启动对应的服务: +2. 在所有机器的{{nebula.name}}安装目录内启动对应的服务: - 主、从集群启动命令:`sudo scripts/nebula.service start all`。 @@ -107,7 +101,7 @@ drainer:机器 IP 地址为`192.168.10.104`,只启动 drainer 服务。 - drainer 启动命令:`sudo scripts/nebula-drainerd.service start`。 -4. 登录主集群增加 Storage 主机,检查 listener 服务状态。 +3. 登录主集群增加 Storage 主机,检查 listener 服务状态。 ``` nebula> ADD HOSTS 192.168.10.101:9779; @@ -133,7 +127,7 @@ drainer:机器 IP 地址为`192.168.10.104`,只启动 drainer 服务。 +------------------+------+----------+-----------------+--------------+----------------------+ ``` -5. 登录从集群增加 Storage 主机,检查 drainer 服务状态。 +4. 登录从集群增加 Storage 主机,检查 drainer 服务状态。 ``` nebula> ADD HOSTS 192.168.10.102:9779; @@ -550,4 +544,4 @@ nebula> SHOW DRAINER SYNC STATUS; ### WAL 日志文件过期了对集群数据同步有影响吗? -如果 WAL 日志文件过期了(超过了`--wal-ttl`设置的时间),数据会不同步。用户可以通过手动在 Meta 和 Storage 服务的配置文件中添加`--snapshot_send_files=false`配置以同步数据。更新文件中的配置后,需要重启服务。关于配置文件的详细信息,参见[配置文件简介](../5.configurations-and-logs/1.configurations/1.configurations.md)。 \ No newline at end of file +如果 WAL 日志文件过期了(超过了`--wal-ttl`设置的时间),数据会不同步。用户可以通过手动在 Meta 和 Storage 服务的配置文件中添加`--snapshot_send_files=false`配置以同步数据。更新文件中的配置后,需要重启服务。关于配置文件的详细信息,参见[配置文件简介](../5.configurations-and-logs/1.configurations/1.configurations.md)。 diff --git a/mkdocs.yml b/mkdocs.yml index c90a30a2797..ada7bd970e1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -114,7 +114,6 @@ plugins: - 20.appendix/release-notes/nebula-ent-release-note.md - 20.appendix/release-notes/dashboard-ent-release-note.md - 20.appendix/release-notes/explorer-release-note.md - - 20.appendix/8.about-license.md - 4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-ent-from-3.x-3.4.md # exclude.ent.end # exclude.comm.begin @@ -725,6 +724,7 @@ nav: - 其他设置: nebula-dashboard-ent/4.cluster-operator/6.settings.md - 权限管理: nebula-dashboard-ent/5.account-management.md - 任务中心: nebula-dashboard-ent/10.tasks.md + - License 管理: nebula-dashboard-ent/11.license-manager.md - 平台设置: - 系统设置: nebula-dashboard-ent/system-settings/system-settings.md - 通知设置: nebula-dashboard-ent/system-settings/notification-endpoint.md @@ -740,7 +740,6 @@ nav: - 安装与登录: - 部署悦数图探索: nebula-explorer/deploy-connect/ex-ug-deploy.md - 连接数据库: nebula-explorer/deploy-connect/ex-ug-connect.md - - 悦数图探索 License: nebula-explorer/deploy-connect/3.explorer-license.md - 页面概览: nebula-explorer/ex-ug-page-overview.md - 数据库管理: - Schema 草图: nebula-explorer/db-management/draft.md @@ -889,9 +888,6 @@ nav: - 悦数图探索: 20.appendix/release-notes/explorer-release-note.md # nav.ent.end - 学习路径: 20.appendix/learning-path.md - # nav.ent.begin - - 关于 License: 20.appendix/8.about-license.md - # nav.ent.end - 常见问题 FAQ: 20.appendix/0.FAQ.md - 生态工具概览: 20.appendix/6.eco-tool-version.md - 导入工具选择: 20.appendix/write-tools.md