This repository was archived by the owner on Dec 14, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Original file line number Diff line number Diff line change @@ -61,4 +61,42 @@ Run elasticsearch-certutil:
6161Copy the ZIP-File :
6262` docker cp elasticsearch1:/usr/share/elasticsearch/sample-certificates.zip .`
6363
64- Store the certificates in the config/certificates folder
64+ Store the certificates in the config/certificates folder
65+
66+ # # Elastic commands
67+
68+ Run if Shards are not assigned to see the reason :
69+ ` GET /_cluster/allocation/explain`
70+
71+ Assign the entire index to a specific Node as it is needed to shrink :
72+ ` ` `
73+ PUT /apigw-traffic-details-eu-000001/_settings
74+ {
75+ "settings": {
76+ "index.routing.allocation.require._name": "Elasticsearch1",
77+ "index.blocks.write": true
78+ }
79+ }
80+ ` ` `
81+
82+ Go to a specific ILM-Step :
83+ ` ` `
84+ POST _ilm/move/apigw-traffic-details-eu-000001
85+ {
86+ "current_step": {
87+ "phase": "warm",
88+ "action": "shrink",
89+ "name": "shrunk-shards-allocated"
90+ },
91+ "next_step": {
92+ "phase": "warm",
93+ "action": "shrink",
94+ "name": "shrink"
95+ }
96+ }
97+ ` ` `
98+
99+ Retry an ILM-Step :
100+ ` ` `
101+ POST /apigw-traffic-details-eu-000001/_ilm/retry
102+ ` ` `
You can’t perform that action at this time.
0 commit comments