Closed liuying525 closed 1 year ago
想要通过gateway想要实现ES两个集群间的数据同步。操作系统版本为redhat linux 7.3,安装的INFINI GATEWAY 版本是gateway-1.12.0-915-linux-386.tar.gz。两个集群IP地址分别为10.0.121.16和10.0.121.47,将gateway安装在10.0.121.47的机器上。启动gateway报错截图如下:
配置的yml如下: path.data: data path.logs: log
elasticsearch:
name: es-cluster1 enabled: true endpoint: http://10.0.121.47:9200
name: ecs enabled: true endpoint: http://10.0.121.16:9201 basic_auth: username: elastic password: puBlSwHy+hmk-7IREynR
entry:
flow:
router:
pipeline:
操作系统版本为redhat linux 7.3
内存给了多少呢?并发多少?
双写的配置可以直接用这个:https://github.com/infinilabs/testing/blob/main/setup/gateway/cases/replication/replication_nonstop-search.yml
内存给了多少呢?并发多少? 服务器内存:64G,安装的ES设置的Xms和Xmx内存均为512m。 由于是实验环境,没有数据实时写入,不存在高并发的情况
用free-g命令查看了一下,内存一共62g,分配了1g,空闲61g;尝试重启服务器,重启后启动gateway,还是报相同错误
下载的包不对,下载 amd64 的包,386 是 32 位用的
Description
想要通过gateway想要实现ES两个集群间的数据同步。操作系统版本为redhat linux 7.3,安装的INFINI GATEWAY 版本是gateway-1.12.0-915-linux-386.tar.gz。两个集群IP地址分别为10.0.121.16和10.0.121.47,将gateway安装在10.0.121.47的机器上。启动gateway报错截图如下:
配置的yml如下: path.data: data path.logs: log
elasticsearch:
name: es-cluster1 enabled: true endpoint: http://10.0.121.47:9200
name: ecs enabled: true endpoint: http://10.0.121.16:9201 basic_auth: username: elastic password: puBlSwHy+hmk-7IREynR
entry:
flow:
router:
pipeline:
Environment
操作系统版本为redhat linux 7.3