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

add storaged offline faq for storaged #2462

Merged
merged 6 commits into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from 5 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
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ graphd:

`9669:9669` indicates the internal port 9669 is uniformly mapped to external ports, while `19669` indicates the internal port 19669 is randomly mapped to external ports.

### How to upgrade or update the docker images of NebulaGraph services
### How to upgrade or update the docker images of NebulaGraph services?

1. In the `nebula-docker-compose/docker-compose.yaml` file, change all the `image` values to the required image version.

Expand All @@ -277,10 +277,18 @@ You may meet the following error.

You have met the rate limit of Docker Hub. Learn more on [Understanding Docker Hub Rate Limiting](https://www.docker.com/increase-rate-limit).

### How to update the NebulaGraph Console client
### How to update the NebulaGraph Console client?

The command `docker-compose pull` updates both the NebulaGraph services and the NebulaGraph Console.

### Why do storaged containers remain in `offline` status?
abby-cyber marked this conversation as resolved.
Show resolved Hide resolved

The activation script for storaged containers in Docker Compose may fail to run in rare cases. You can connect to NebulaGraph with [NebulaGraph Console](../../nebula-console.md) or [NebulaGraph Studio](../../nebula-studio/deploy-connect/st-ug-connect.md) and then manually run the `ADD HOSTS` command to activate them by adding the storaged containers to the cluster. An example of the command is as follows:

```nql
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@abby-cyber abby-cyber Feb 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed, good catch!

nebula> ADD HOSTS "storaged0":9779,"storaged1":9779,"storaged2":9779
```

## Related documents

- [Install and deploy NebulaGraph with the source code](1.install-nebula-graph-by-compiling-the-source-code.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,15 @@ graphd:

`docker-compose pull`会同时更新 {{nebula.name}} 服务和 NebulaGraph Console。

### Storaged 容器一直处于`offline`状态

在小概率的情况下,Docker Compose 中的 Storaged 激活脚本并没有在适当的时机得到执行。如果发现 Storaged 容器的健康状态一直是`offline`,可以通过 [NebulaGraph Console](../../nebula-console.md) 或者 [NebulaGraph Studio](../../nebula-studio/deploy-connect/st-ug-connect.md) 连接 NebulaGraph,并手动执行`ADD HOSTS`命令对其进行激活。激活命令示例如下:

```ngql
nebula> ADD HOSTS "storaged0":9779,"storaged1":9779,"storaged2":9779
```


<!--
## 相关视频

Expand Down