Skip to content

Commit

Permalink
manage storage hosts (#1437)
Browse files Browse the repository at this point in the history
* manage storage hosts

* update
  • Loading branch information
cooper-lzy authored Jan 28, 2022
1 parent d5fe247 commit 19e64db
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs-2.0/4.deployment-and-installation/manage-storage-host.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 管理 Storage 主机

从 3.0.0 版本开始,在配置文件中添加的 Storage 节点无法直接读写,配置文件的作用仅仅是将 Storage 节点注册至 Meta 服务中。必须使用`ADD HOSTS`命令后,才能正常读写 Storage 节点。

## 增加 Storage 主机

向集群中增加 Storage 主机。

```ngql
ADD HOSTS <ip>:<port> [,<ip>:<port> ...];
```

## 删除 Storage 主机

从集群中删除 Storage 主机。

!!! note

无法直接删除正在使用的 Storage 主机,需要先删除关联的图空间,才能删除 Storage 主机。

```ngql
DROP HOSTS <ip>:<port> [,<ip>:<port> ...];
```
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ nav:
- 设置企业版 License: 4.deployment-and-installation/deploy-license.md
- 管理服务: 4.deployment-and-installation/manage-service.md
- 连接服务: 4.deployment-and-installation/connect-to-nebula-graph.md
- 管理 Storage 主机: 4.deployment-and-installation/manage-storage-host.md
# - 管理逻辑机架(Zone): 4.deployment-and-installation/5.zone.md

- 升级版本:
- 升级 Nebula Graph 版本: 4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-latest.md
# - 升级 v2.0.x 至当前版本: 4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-from-200-to-latest.md
Expand Down

0 comments on commit 19e64db

Please sign in to comment.