-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
docs-2.0/4.deployment-and-installation/manage-storage-host.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> ...]; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters