Skip to content

Instantly share code, notes, and snippets.

@is
Created October 13, 2013 04:50
Show Gist options
  • Select an option

  • Save is/6958321 to your computer and use it in GitHub Desktop.

Select an option

Save is/6958321 to your computer and use it in GitHub Desktop.
Decommission bigmem10 from bigmem ES cluster.
#!/bin/sh
curl -XPUT localhost:9200/_cluster/settings -d '{
"transient" : {
"cluster.routing.allocation.exclude._ip" : "10.30.42.84"
}
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment