Skip to content

Commit

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

* Update docs-2.0/4.deployment-and-installation/manage-storage-host.md

Co-authored-by: randomJoe211 <[email protected]>

* Update docs-2.0/4.deployment-and-installation/manage-storage-host.md

Co-authored-by: randomJoe211 <[email protected]>

* Update docs-2.0/4.deployment-and-installation/manage-storage-host.md

Co-authored-by: randomJoe211 <[email protected]>

* Update docs-2.0/4.deployment-and-installation/manage-storage-host.md

Co-authored-by: randomJoe211 <[email protected]>

* Update manage-storage-host.md

Co-authored-by: randomJoe211 <[email protected]>
  • Loading branch information
cooper-lzy and randomJoe211 authored Jan 28, 2022
1 parent 4971ea3 commit a9cf433
Show file tree
Hide file tree
Showing 2 changed files with 24 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 @@
# Manage Storage hosts

Starting from Nebula Graph 3.0.0, setting Storage hosts in the configuration files only registers the hosts on the Meta side, but does not add them into the cluster. You must run the `ADD HOSTS` statement to add the Storage hosts.

## Add Storage hosts

Add the Storage hosts to a Nebula Graph cluster.

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

## Drop Storage hosts

Delete the Storage hosts from cluster.

!!! note

You can not delete an in-use Storage host directly. Delete the associated graph space before deleting the Storage host.

```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 latest version: 4.deployment-and-installation/3.upgrade-nebula-graph/upgrade-nebula-graph-to-latest.md
Expand Down

0 comments on commit a9cf433

Please sign in to comment.