Difference between revisions of "Low disk watermark"

From wikieduonline
Jump to navigation Jump to search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
  
 +
https://stackoverflow.com/questions/33369955/low-disk-watermark-exceeded-on
 +
 +
* <code>[[high disk watermark]]</code>
 +
 +
 +
== Solution ==
 +
[[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%"
 +
    }
 +
}'
  
* https://stackoverflow.com/questions/33369955/low-disk-watermark-exceeded-on
+
 
 +
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"  }
  
  
[[high disk watermark]]
 
  
  
Line 13: Line 34:
 
  [[cluster.routing.allocation.disk.watermark.flood_stage]]
 
  [[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 ==
 +
* <code>[[Recovery failed from]]</code>
 +
* [[Elasticsearch index]]
 +
* [[Disk section: GET / cluster/settings?include defaults]]
  
 +
== See also ==
 +
* {{ES tr}}
 +
* {{ES}}
  
{{ES}}
+
[[Category:ES]]

Latest revision as of 17:56, 23 January 2023


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


Solution[edit]

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[edit]

See also[edit]

Advertising: