How to set different elastic node type permanently? #11589
-
Version2.4.10 Installation MethodSecurity Onion ISO image Descriptionconfiguration Installation TypeDistributed Locationon-prem with Internet access Hardware SpecsExceeds minimum requirements CPU10 RAM16Gb Storage for /300Gb Storage for /nsm700Gb Network Traffic Collectionother (please provide detail below) Network Traffic SpeedsLess than 1Gbps StatusYes, all services on all nodes are running OK Salt StatusNo, there are no failures LogsNo, there are no additional clues DetailHello! I have a 2.4 Instance I'm testing in a development environment before we can push it live and replace our 2.3 instance. We use the elastic instance in our 2.3 to hold data for a third party service and it works flawlessly. When I tried to repeat our instance with 2.4 I developed lots of errors and failure to initialize the new indices. What I discovered is my service is looking for a data or data_content node role that doesn't exist in 2.4, but rather these roles have been replaced by data_hot. I tried changing the elasticsearch.yml file, but it gets overridden with the next salt update. Can someone tell me:
Thanks in advance! Big fan of 2.4 and all the changes, this one thing has me hung up. Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
As I peel back this onion (hah!), I found /opt/so/saltstack/default/salt/elasticsearch/config.map.jinja decides what node role each node will be. I changed this from data_hot to data and it fixed my immediate issue but I'm not sure if this will break something else yet. |
Beta Was this translation helpful? Give feedback.
-
You would need your 3rd party tool to look at data_hot as this is where all of our index templates put data. |
Beta Was this translation helpful? Give feedback.
As I peel back this onion (hah!), I found /opt/so/saltstack/default/salt/elasticsearch/config.map.jinja decides what node role each node will be. I changed this from data_hot to data and it fixed my immediate issue but I'm not sure if this will break something else yet.