Please Any One Tell Me If You Know., How to Configure Two
Clusters [of same version i.e., 0.20.5V],
setting like:
Cluster One: {node.data is set to true}
{master is true}
{cluster name is like., elasticserach1}
Cluster Two: {node.data is set to False}
{master is true}
{cluster name is like., elasticserach2}
One Cluster[elasticserach1] is For Purely Indexing and this cluster is not
suppose to search And
Another Cluster[elasticserach2] is for Searching Data , Which is Stored in
the Cluster[elasticserach1] and not suppose to Index data.
Is This is Possible to Have Two Different Clusters as in the
above Condition.
Please Any One Help me..
What I have to do to Accomplish my Requirement described Above.
Please Any One Tell Me If You Know., How to Configure Two
Clusters [of same version i.e., 0.20.5V], setting like:
Cluster One: {node.data is set to true}
{master is true}
{cluster name is like., elasticserach1}
Cluster Two: {node.data is set to False}
{master is true}
{cluster name is like., elasticserach2}
One Cluster[elasticserach1] is For Purely Indexing and this
cluster is not
suppose to search And
Another Cluster[elasticserach2] is for Searching Data , Which is
Stored in
the Cluster[elasticserach1] and not suppose to Index data.
Rafi:
You actually don't want two different clusters here. Set
cluster.name to the same thing for all nodes, and then for the
"cluster two" nodes, use:
node.client: true
These nodes will join the cluster with the "cluster one" nodes and
be able to see its data, but they won't get elected master or be
able to store data themselves. You can also issue queries to any
of the "cluster one" or "cluster two" nodes.
Please Any One Tell Me If You Know., How to Configure Two
Clusters [of same version i.e., 0.20.5V],
setting like:
Cluster One: {node.data is set to true}
{master is true}
{cluster name is like., elasticserach1}
Cluster Two: {node.data is set to False}
{master is true}
{cluster name is like., elasticserach2}
One Cluster[elasticserach1] is For Purely Indexing and this cluster is not
suppose to search And
Another Cluster[elasticserach2] is for Searching Data , Which is Stored in
the Cluster[elasticserach1] and not suppose to Index data.
Is This is Possible to Have Two Different Clusters as in the
above Condition.
Please Any One Help me..
What I have to do to Accomplish my Requirement described Above.
Thanks to Stéphane R., and Drew Raines for Replying Me.
As Per Stéphane R.,
You will have to put all of your nodes in the same cluster name, in
order to allow both types of nodes to communicate.
I will Do As you Say.
As Per Drew Raines.,
Set cluster.name to the same thing for all nodes, and then for the
"cluster two" nodes, use:
node.client: true
Now I will Use Settings like:
for ClusterOne: cluster name is like "elasticserach"
Master as true
node.data as true
for ClusterTwo: cluster name is like "elasticserach"
node.client: true <-------------------
node.data as false
Hi., Drew Raines
Thanks for your Response. Now I am Clear about how to Configure settings to
work with two ElasticSearch servers.
And Now I am able to work with two ElasticSearch servers.
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.