Status Yellow


(Ammo) #1

Hi,

i have just did an upgrade of Elasticsearch and my server successfully started and is up for half an hour now. The status changed from red to yellow and stayed yellow for 25 minutes now. Should i be concerned about this?

Regards,
Ahmet


(David Pilato) #2

How many nodes do you have?


(Ammo) #3

Hi David,
i have one single note storing log information of a webserver.


(David Pilato) #4

Yellow status means that replicas are not allocated. Which is normal as you can't allocate replicas with only one node.

To make your cluster green, increase the number of nodes or decrease the number of replicas to 0.


(Ammo) #5

this happened after an upgrade from 5.6 to 6.x. Where do i need to make these changes and how does this affect elasticsearch?


(David Pilato) #6

Can you run:

GET _cat/indices?v

(Ammo) #7

i will upload it tomorrow in the office :slight_smile:


(Ammo) #8

Hi David,

this is the output i get:
https://paste.ee/e/Ywatp/0


(Christian Dahlqvist) #9

If you can provide the full output of the cluster stats API, it would provide some additional information about the cluster and be easier to read.


(David Pilato) #10

So you have one replica per index which is not allocated as I said.
Just change this number or increase the number of nodes.

BTW you have too many shards per nodes here.


(Ammo) #11

Ok will change the settings after solving my other issues :slight_smile:
Thank you so much. Both of you :+1:


(system) #12

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