-
Is there a recommended way to deploy Security Onion with 3 master-eligible Elasticsearch nodes? I am testing an SO environment with over 18 nodes and have been running into a The reason I ask is based on this section of the Elasticsearch 'voting-only master-eligible node' guide:
I was considering deploying 2 additional VMs as dedicated master-eligible ES nodes and connect them to the cluster with a custom firewall rule (to allow port 9300 between nodes) and custom certificates, but I do not want to go down an unsustainable path of customization to the current SO deployment configurations. If there is not a recommended way to deploy SO with 3 master-eligible Elasticsearch nodes, would you consider an option to deploy an Elasticsearch docs for reference: For context, I saw this question about multiple managers as well as this issue regarding high availability within an SO deployment. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you look at the current logic in the elasticsearch.yml you can change the roles by modifying the minion file for that node and setting a custom role. So you could take an existing search node and assign it the master role in the minion file. From the elasticsearch.yml:
So you would just need to add the additional role to it in the minion pillar for an existing search node:
|
Beta Was this translation helpful? Give feedback.
If you look at the current logic in the elasticsearch.yml you can change the roles by modifying the minion file for that node and setting a custom role. So you could take an existing search node and assign it the master role in the minion file.
From the elasticsearch.yml:
{%- set NODE_ROLES = salt['pillar.get']('elasticsearch:node_roles', ['data', 'ingest']) %}
So you would just need to add the additional role to it in the minion pillar for an existing search node: