-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6564e0d
commit b1dec86
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -3,6 +3,22 @@ | |
Graylog数据节点是Graylog架构的一个组件,负责管理OpenSearch。此功能允许Graylog管理您的搜索后端,这样您就不必单独安装和管理OpenSearch。 | ||
Data Node通过实现证书、管理集群成员资格和促进添加新节点来增强Graylog中数据层的安全性。此外,它还确保安装了正确版本的OpenSearch及其必要的扩展,以使Graylog能够正常运行。 | ||
|
||
## 安装错误 | ||
``` | ||
org.graylog2.bootstrap.preflight.PreflightCheckException: /proc/sys/vm/max_map_count value should be at least 262144 but is 65530 (set via "vm.max_map_count" sysctl) | ||
``` | ||
原因:Graylog Data Node 在启动时进行了预检查,发现系统的 vm.max_map_count 值低于所需的最小值 262144,导致启动失败。 | ||
|
||
解决方法: | ||
|
||
1、打开 /etc/sysctl.conf 文件 | ||
|
||
2、加入行:vm.max_map_count=262144 | ||
|
||
3、应用:sudo sysctl -p | ||
|
||
|
||
|
||
## 初始化 | ||
Graylog安装完成以后需要进行初始化: | ||
|
||
|
@@ -24,4 +40,4 @@ Try clicking on http://admin:[email protected]:9000 | |
|
||
3、在未完成初始化前,主容器的状态标识为:unhealthy,初始化完成后自动变成:health | ||
|
||
4、初始化完成以后,不要进行“重建”,这样会导致数据节点和Graylog之间的连接验证证书破坏,导致不能连接 | ||
4、初始化完成以后,不要进行“重建”,这样会导致数据节点和Graylog之间的连接验证证书破坏,导致不能连接 |