我有两台服务器.
xxx.xxx.xxx.xxx
yyy.yyy.yyy.yyy
Run Code Online (Sandbox Code Playgroud)
在弹性搜索配置中,如何手动添加.我不是发现的粉丝.这是行不通的.
每个节点都有资格成为主节点.我正在使用数字海洋.
Aks*_*hay 13
假设您正在使用zen发现,则可以禁用多播选项并设置要发现的单播主机的地址.
如果您在节点上使用默认端口9300,则以下设置应在配置文件中有效
# disable multicast
discovery.zen.ping.multicast.enabled: false
# set the list of hosts for unicast discovery
discovery.zen.ping.unicast.hosts: [“xxx.xxx.xxx.xxx”, “yyy.yyy.yyy.yyy”]
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4185 次 |
| 最近记录: |