Difference between revisions of "Low disk watermark"

From wikieduonline
Jump to navigation Jump to search
Line 49: Line 49:
  
 
== See also ==
 
== See also ==
 +
* {{ES tr}}
 
* {{ES}}
 
* {{ES}}
  
 
[[Category:ES]]
 
[[Category:ES]]

Revision as of 04:21, 20 October 2022


https://stackoverflow.com/questions/33369955/low-disk-watermark-exceeded-on


curl -XPUT --insecure https://localhost:9200/_cluster/settings -u "elastic:yourpasss" -H 'Content-Type: application/json' -d '{
    "transient" : {
"cluster.routing.allocation.disk.watermark.low" : "90%", 
"cluster.routing.allocation.disk.watermark.high" : "95%",
"cluster.routing.allocation.disk.watermark.flood_stage" : "98%"
    }
}'


One line:

curl -XPUT --insecure https://localhost:9200/_cluster/settings -u "elastic:yourpasss" -H 'Content-Type: application/json' -d '{ "transient" : { "cluster.routing.allocation.disk.watermark.low" : "90%", "cluster.routing.allocation.disk.watermark.high" : "95%", "cluster.routing.allocation.disk.watermark.flood_stage" : "98%"} }'
{"type": "server", "timestamp": "2022-10-19T08:40:06,901Z", "level": "INFO", "component": "o.e.c.s.ClusterSettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "updating [cluster.routing.allocation.disk.watermark.low] from [85%] to [90%]", "cluster.uuid": "uTbgxXXs8gpg", "node.id": "12314324234"  }
{"type": "server", "timestamp": "2022-10-19T08:40:06,903Z", "level": "INFO", "component": "o.e.c.s.ClusterSettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "updating [cluster.routing.allocation.disk.watermark.high] from [90%] to [95%]", "cluster.uuid": "uTbgxXXs8gpg", "node.id": "12314324234"  }
{"type": "server", "timestamp": "2022-10-19T08:40:06,904Z", "level": "INFO", "component": "o.e.c.s.ClusterSettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "updating [cluster.routing.allocation.disk.watermark.flood_stage] from [95%] to [98%]", "cluster.uuid": "uTbgxXXs8gpg", "node.id": "12314324234"  }
{"type": "server", "timestamp": "2022-10-19T08:40:06,905Z", "level": "INFO", "component": "o.e.c.s.ClusterSettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "updating [cluster.routing.allocation.disk.watermark.low] from [85%] to [90%]", "cluster.uuid": "uTbgxXXs8gpg", "node.id": "12314324234"  }
{"type": "server", "timestamp": "2022-10-19T08:40:06,906Z", "level": "INFO", "component": "o.e.c.s.ClusterSettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "updating [cluster.routing.allocation.disk.watermark.high] from [90%] to [95%]", "cluster.uuid": "uTbgxXXs8gpg", "node.id": "12314324234"  }
{"type": "server", "timestamp": "2022-10-19T08:40:06,906Z", "level": "INFO", "component": "o.e.c.s.ClusterSettings", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "updating [cluster.routing.allocation.disk.watermark.flood_stage] from [95%] to [98%]", "cluster.uuid": "uTbgxXXs8gpg", "node.id": "12314324234"  }



https://stackoverflow.com/questions/33369955/low-disk-watermark-exceeded-on

cluster.routing.allocation.disk.watermark.low
cluster.routing.allocation.disk.watermark.high
cluster.routing.allocation.disk.watermark.flood_stage
/etc/elasticsearch/elasticsearch.yml


curl -XPUT localhost:9200/_cluster/settings -d '{
    "transient" : {
        "cluster.routing.allocation.disk.threshold_enabled" : false
    }
}'


Related

See also

Advertising: