Status Red for cluster


(Raghu Reddy) #1

Hi Team,

I have created 3 server for the elasticsearch, one is master and data node and 2 are only data node.

They are able to form the cluster, but when i use postman api to check i am getting status as red.

also i used below command to check, i am also getting same error.

curl -XGET 'http://10.4.1.169:9200/_cluster/health/team_search'

{
"cluster_name":"team_search",
"status":"red",
"timed_out":true,
"number_of_nodes":3,
"number_of_data_nodes":3,
"active_primary_shards":0,
"active_shards":0,
"relocating_shards":0,
"initializing_shards":0,
"unassigned_shards":0,
"delayed_unassigned_shards":0,
"number_of_pending_tasks":0,
"number_of_in_flight_fetch":0,
"task_max_waiting_in_queue_millis":0,
"active_shards_percent_as_number":100
}

Please guide me.


#2

Have you checked the logs?


(Raghu Reddy) #3

yes,

I got all the elastic search service as running successful.

I am not getting where it wrong/missing


(andy_zhou) #4

mini master node is big?
discovery.zen.minimum_master_nodes: xxx
show the elastichsearch.yml file .


(andy_zhou) #5

use this search
http://xx.xx.xx:9200/_cluster/health?pretty
this is red or green?


(Raghu Reddy) #6

This is green.


(andy_zhou) #7

so the cluster is ok.
use http://xx.xx.xx:9200/_cluster/health?pretty to see the es cluster status.


(Raghu Reddy) #9

But when try to check the status of cluster through the postman it is red, because of which the activity is pending


(system) #10

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.