Manager acting as data node #14801
-
Version2.4.141 Installation MethodSecurity Onion ISO image Descriptionconfiguration Installation TypeDistributed Locationon-prem with Internet access Hardware SpecsExceeds minimum requirements CPUmany RAMmuch Storage for /lots Storage for /nsmlots Network Traffic Collectionother (please provide detail below) Network Traffic Speeds1Gbps to 10Gbps StatusYes, all services on all nodes are running OK Salt StatusNo, there are no failures LogsNo, there are no additional clues DetailI have a Distributed grid setup with Manager, Search, Receiver, and multiple Forward Sensors. All seems to be running great, except that the Manager /nsm partition is large and full with hundreds of gigs of indices. They rollover and get deleted based on my ILM settings, but I have to keep an eye on it because it's running high and consuming most of the disk. I'm wondering why they are there at all since I have all PCAP disabled, my Manager is not a Search node, and based on my understanding of the distrubuted grid topology my Manager shouldn't be storing so much data on it, all that should live on the Search node. Skynet had me run a curl command to determine if the Manager role was set as a 'data' node, and it shows that it is. Is this normal? Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Would you run |
Beta Was this translation helpful? Give feedback.
-
It's storing data on your Manager because your Manager is part of the Elasticsearch cluster and, by default, has the "data" role assigned to it -- that's the "d" in "dmrt" in the allocation output above. If you want to move the data off of there to the Search Node, you can, but it looks like you're mighty close to the limit on the Search Node as well. You'll need to either delete some older stuff or add another Search Node -- or more disk to the current one -- so you've got some place to put it. More information: https://docs.securityonion.net/en/2.4/elasticsearch.html#elasticsearch-node-roles |
Beta Was this translation helpful? Give feedback.
-
@InfosecGoon just to confirm before I apply a setting that could mess things up, I just need to remove the 'data' role from my Manager node and the data will move to the Search nodes automatically and all will be well? Or do I have to add 'data_content' to the Manager? If so, what's the difference between 'data' and 'data_content'? I reviewed https://docs.securityonion.net/en/2.4/elasticsearch.html#elasticsearch-node-roles |
Beta Was this translation helpful? Give feedback.
You have to move the data off the
manager
node first. Then remove thedata
role.In Kibana > Dev Tools:
Use that transient setting to move the data, once you don't see any shards on your manager with
GET /_cat/shards
remove the role.