什么是Reindex?
索引重建。
Reindex演进
相比于ES 6.1,ES 6.7的Reindex为跨集群的索引重建增加了一系列SSL相关的参数配置。这些参数必须被配置到elasticsearch.yml文件里,只能依靠重启集群来生效,因此不建议频繁修改这些参数。
问题描述
源集群和目标集群都是安全模式。在Reindex操作时,源集群的Hostname在目标集群认证不通过。
[root@189-39-172-103 mzh]#curl -XPOST --tlsv1.2 --negotiate -k -v -u : 'https://189.39.172.103:24100/_reindex?pretty' -H 'Content-Type: application/json' -d' {"source": {"remote": {"host":"https://189.120.205.16:24100","socket_timeout": "30s","connect_timeout":