The monitoring console role performs 2 peering steps:
When indexer clustering is enabled, peer the cluster master. This automatically registers indexers as search peers
Manually add every instance as a search peer
This caused duplicate search peers for the indexers, where 1 set of search peers always has the status Down / Sick. This ultimately causes checks in adding_peers.yml to fail.
This PR makes the following changes:
change the order of above steps so that peering the cluster master happens first
before adding the remaining search peers, check for existing peers and remove them from our target list
Similar issue described in: https://github.com/splunk/splunk-ansible/pull/864
The monitoring console role performs 2 peering steps:
This caused duplicate search peers for the indexers, where 1 set of search peers always has the status
Down
/Sick
. This ultimately causes checks inadding_peers.yml
to fail.This PR makes the following changes: