diff --git a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md index 4c5dfb9b22f..7856f605928 100644 --- a/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md +++ b/docs-2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/3.deploy-nebula-graph-with-docker-compose.md @@ -94,9 +94,11 @@ Using Docker Compose can quickly deploy Nebula Graph services based on the prepa By default, the authentication is off, you can only log in with an existing username (the default is `root`) and any password. To turn it on, see [Enable authentication](../../7.data-security/1.authentication/1.authentication.md). - 3. Run the `SHOW HOSTS` statement to check the status of the `nebula-storaged` processes. + 3. Run the following commands to make the `nebula-storaged` processes to the available state. ```bash + nebula> ADD HOSTS "storaged0":9779,"storaged1":9779,"storaged2":9779; + nebula> SHOW HOSTS; +-------------+------+----------+--------------+----------------------+------------------------+---------+ | Host | Port | Status | Leader count | Leader distribution | Partition distribution | Version | @@ -107,6 +109,10 @@ Using Docker Compose can quickly deploy Nebula Graph services based on the prepa +-------------+------+----------+--------------+----------------------+------------------------+---------+ ``` + !!! Note + + Starting from Nebula Graph version 3.0.0, the `nebula-storaged` service reported to metad needs to execute 'ADD HOSTS' manually before it can be used. + 5. Run `exit` twice to switch back to your terminal (shell). You can run Step 4 to log in to Nebula Graph again. ## Check the Nebula Graph service status and ports