Can we have the remote cluster with two nodes which are present in the same cluster (i.e node1 (active master node) and node2 in cluster (cluster name: cluster1))?
The reason I'm asking this is because I'm able to successfully set the remote cluster when both the nodes are present in same cluster.
[root@node2 ~]# curl -X PUT "node2:9200/_cluster/settings" -H 'Content-Type: application/json' -d'
Thanks for your response. I want to setup a remote cluster setup. I have two nodes with roles as Master & Data. I am confused to setup a remote cluster, both the nodes should be indifferent cluster or same clusters.
The machines are present on different machines in a building. I want to understand and implementation of the remote cluster and cross cluster scenario.
Cross-cluster search is used to query across multiple, distinct clusters. If the nodes form a single cluster there is therefore no need for cross cluster search. If you set them up as separate clusters with different names, you should configure the remote cluster and use cross cluster search.
Okay understood your point for remote cluster too.
So, know i want to tell you that when two nodes are in same cluster and cluster update settings command is executed to configure remote cluster (on any node) , it observed that it is set successfully. I think an error should be shown on console that Cannot set the remote cluster as nodes are in same cluster
It is observed that no error is shown on the console Cannot set the remote cluster as nodes are in same cluster instead acknowledgement is sent to the user.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.