Version
Cb Response 5.x, 6.1
Topic
How to determine chatty processes/hosts for potential ingress filtering and additional suppression in the CbEvents Solr Core, and then upload it to Alliance servers.
Solution
5.2
- Determine which shards are present on the local node:
- Run the following commands replacing 0 with any local shards:
curl "http://127.0.0.1:8080/solr/0/terms?terms.fl=path_full&terms=true&terms.limit=50&indent=true" > "/tmp/$(hostname)_procs_pathfull.txt" | /usr/share/cb/cbpost /tmp/$(hostname)_procs_pathfull.txt curl "http://127.0.0.1:8080/solr/0/terms?terms.fl=parent_name&terms=true&terms.limit=50&indent=true" > "/tmp/$(hostname)_parentprocs.txt" | /usr/share/cb/cbpost /tmp/$(hostname)_parentprocs.txt curl "http://127.0.0.1:8080/solr/0/terms?terms.fl=hostname&terms=true&terms.limit=50&indent=true" > "/tmp/$(hostname)_hosts.txt" | /usr/share/cb/cbpost /tmp/$(hostname)_hosts.txt |
- Repeat this process on all nodes
- Add a case comment when the uploads are complete
6.1.x
- Run these commands on all nodes (master and minions):
- Then add a case comment letting us know the uploads are complete