[英]ElasticSearch Couchbase Replication Issue
I have a problem with my ElasticSearch
cluster in Couchbase
XDCR configuration. 我在
Couchbase
XDCR配置中ElasticSearch
集群的问题。
I put private ip 10.28.0.21 as IP ( my elasticsearch and couchbase in the same server) when creating cluster reference. 在创建集群引用时,我将私有IP 10.28.0.21作为IP(我的elasticsearch和couchbase在同一服务器中)。 Then the system change that by public IP (92.222..) of my server.
然后系统通过我的服务器的公共IP(92.222 ..)进行更改。 It is very strange.
这很奇怪。 I don't know why?
我不知道为什么?
Couchbase logs show : Couchbase日志显示:
Updated remote cluster 'ElasticSearch' hostname to "92.222..:9091" because old one ("10.28.0.21:9091") is not part of the cluster anymore
将远程群集'ElasticSearch'主机名更新为“92.222 ..:9091”,因为旧版本(“10.28.0.21:9091”)不再是群集的一部分
Thanks for any suggestions. 谢谢你的任何建议。
Couchbase uses the IP that ElasticSearch returns as its host address. Couchbase使用ElasticSearch返回的IP作为其主机地址。 If you want ElasticSearch to publish the private IP instead of the public, you can override it with the
network.publish_host
setting in elasticsearch.yml. 如果您希望ElasticSearch发布私有IP而不是公共IP,则可以使用elasticsearch.yml中的
network.publish_host
设置覆盖它。 If the private IP isn't static, you might have to set it to the IP of a particular network interface, such as _eth0_
. 如果专用IP不是静态的,则可能必须将其设置为特定网络接口的IP,例如
_eth0_
。 Take a look here for more details: https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html 请查看此处了解更多详情: https : //www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.