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

manage storage hosts #1068

Merged
merged 7 commits into from
Jan 28, 2022
Merged
Show file tree
Hide file tree
Changes from 2 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
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 @@
# Manage Storage host
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved

From Nebula Graph version 3.0.0, the Storage hosts added in the configuration files **CANNOT** be read or written directly. The configuration files only register the Storage hosts into the Meta services. You must run the `ADD HOSTS` command to read and write data on Storage hosts.
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved

## Add Storage host
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved

Add the Storage hosts to a Nebula Graph cluster.

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

## Drop Storage host
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved

Delete the Storage hosts from cluster.

!!! note

You can not delete an in-use Storage hoste directly. You need to delete the associated graph space before deleting the Storage host.
cooper-lzy marked this conversation as resolved.
Show resolved Hide resolved

```ngql
DROP HOSTS <ip>:<port> [,<ip>:<port> ...];
```
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ nav:
- Deploy license: 4.deployment-and-installation/deploy-license.md
- Manage Service: 4.deployment-and-installation/manage-service.md
- Connect to Service: 4.deployment-and-installation/connect-to-nebula-graph.md
- Manage Storage host: 4.deployment-and-installation/manage-storage-host.md
# - Manage zone: 4.deployment-and-installation/5.zone.md
- Upgrade:
- Upgrade Nebula Graph to the current version: 4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-latest.md
Expand Down