Nodes refuse to connect to each other


(Christer) #1

I'm playing around with elasticsearch and use two machines to form a
cluster of two nodes. Recently I added some CPU cores (vmware) to the
machines to look at performance changes, but as a result of this the nodes
refuse to connect to each other. I'm not sure that this is a direct result
of adding CPU cores, but no other changes were made. The nodes does not
have any indices (no dangling ones either). Both nodes have "network.host"
set in the configuration as they exist on two different esxi machines and
we currently don't do multicast.

Could anyone help me debug this issue?

curl http://es1:9200/_cluster/health and curl
http://es2:9200/_cluster/health gives me the same output:

{
"cluster_name": "testCluster",
"status": "green",
"timed_out": false,
"number_of_nodes": 1,
"number_of_data_nodes": 1,
"active_primary_shards": 0,
"active_shards": 0,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 0
}

As mentioned these machines worked together before the addition of CPU
cores. Network settings have not been changed


(Shay Banon) #2

What type of discovery are you using, multicast or unicast?

On Sat, May 26, 2012 at 2:36 PM, Christer edvartsen.christer@gmail.comwrote:

I'm playing around with elasticsearch and use two machines to form a
cluster of two nodes. Recently I added some CPU cores (vmware) to the
machines to look at performance changes, but as a result of this the nodes
refuse to connect to each other. I'm not sure that this is a direct result
of adding CPU cores, but no other changes were made. The nodes does not
have any indices (no dangling ones either). Both nodes have "network.host"
set in the configuration as they exist on two different esxi machines and
we currently don't do multicast.

Could anyone help me debug this issue?

curl http://es1:9200/_cluster/health and curl
http://es2:9200/_cluster/health gives me the same output:

{
"cluster_name": "testCluster",
"status": "green",
"timed_out": false,
"number_of_nodes": 1,
"number_of_data_nodes": 1,
"active_primary_shards": 0,
"active_shards": 0,
"relocating_shards": 0,
"initializing_shards": 0,
"unassigned_shards": 0
}

As mentioned these machines worked together before the addition of CPU
cores. Network settings have not been changed


(system) #3