I’ve been using esvm for managing starting up multiple ES nodes when I need to
test something using the rest API. Here’s my configuration for it that tangles
and installs into ~/.esvmrc
Here is the branch with the latest release I use:
2.x
{
"clusters": {
"<<es-branch>>": {
"branch": "<<es-branch>>",
"nodes": 1
},
"2node": {
"branch": "<<es-branch>>",
"nodes": 2
},
"3node": {
"branch": "<<es-branch>>",
"nodes": 3
},
"master": {
"branch": "master",
"nodes": 1
}
},
"defaults": {
"config": {
"cluster.name": "es-lee",
"node.add_id_to_custom_path": false,
"node.enable_custom_paths": true,
"path.repo": "/tmp",
"path.shared_data": "/tmp",
"script.indexed": "on",
"script.inline": "on"
},
"plugins": []
}
}