Skip to content

janusznowakowski/elastic-brain-surgeon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Elastic-brain-surgeon

This is initial version of a simple tool that will tell you if your ES cluster is suffering from split brain at the moment.

##Usage

# if there is no split brain
./brain  -elasticsearch-list 127.0.0.1:9200,127.0.0.1:9201,127.0.0.1:9202 --print
Everything is ok
master: elasticsearch-box-1
  node 0: elasticsearch-box-1
  node 1: elasticsearch-box-2
  node 2: elasticsearch-box-3
# if there is split brain
./brain  -elasticsearch-list 127.0.0.1:9200,127.0.0.1:9201,127.0.0.1:9202 --print
The brian is split!
master: elasticsearch-box-1
  node 0: elasticsearch-box-1
  node 1: elasticsearch-box-2
master: elasticsearch-box-3
  node 0: elasticsearch-box-3

About

Simple tool that check for split brian in ES cluster

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.1%
  • Shell 1.9%