Primary shadrs allocated in one node alone

When I bought down one node for a config update and relaunched it, the Primary shards are assigned only to the node with was online during update.

Should I make the secondary node shards as primary? If so how do I do it?

Tried:

/_cluster/settings -d '{
    "transient" : {
        "cluster.routing.allocation.enable" : "primaries"
    }
}'

and

/_cluster/settings -d '{
    "transient" : {
        "cluster.routing.allocation.enable" : "all"
    }
}'

ES version: 2.4 (Contianerized ES)

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