Open jmlrt opened 4 years ago
related to elastic/elasticsearch#66409
@jmlrt It seems that up to now node role settings are done in es_conf and node.
I prefer the flexibility of es_conf
and would just remove the now incorrect parts in README.md.
Makes sense
I've also handled role assignments with inventory groups, which is useful for doing lookups to populate things like the seed hosts.
Something like this:
[elasticsearch:children]
es_master
es_data
es_ingest
[es_master]
elasticsearch0[1:3]
[es_data]
elasticsearch0[1:4]
[es_ingest]
elasticsearch0[1:4]
[elasticsearch:vars]
# Disable all node roles by default
node_master=false
node_data=false
node_ingest=false
[es_master:vars]
node_master=true
[es_data:vars]
node_data=true
[es_ingest:vars]
node_ingest=true
I am doing it in a similar way. But instead of node_... I am using a variable which reflects the new config method.
es_node_roles:
- master
- data
- ingest
The benefits of the new method is that it is clearly visible what is enabled or not and therefore no disabling needed anymore.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
still valid
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
still valid
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Still waiting for a fix.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This role use
node.master
andnode.data
settings to define node roles. However these settings have beed deprecated in favor ofnode.roles
setting in 7.9 (https://github.com/elastic/elasticsearch/pull/54998).