Deployment Architecture

Why does my search head only sometimes see a peer?

duke_splunk_adm
Engager

I have an index cluster where one peer is down (as in we're talking to Cisco). When I run a Splunk list search-server on one of our search-heads, sometimes it shows the IP of the down peer as Down, and other times it just doesn't list the downed peer at all.
I have an alert set up which monitors the results of the command that is sent to my SOC so they know when there is a connection problem, so I'm getting a lot of tickets. Why does the search-head see the peer sometimes and not others? How do I stop it? The box is entirely unreachable.
The setup is standard, where the search-head connects to the cluster master, and the indexer is still listed on the master because it hasn't been long enough for it to age out.

0 Karma

maraman_splunk
Splunk Employee
Splunk Employee

One possible scenario to explain your problem :
- specifications or configuration is different on that indexer -> he has more work to do OR it is less powerfull than others
- at some times, you are creating more search load that the indexer can handle -> load spike on this indexer
- this indexer is now slow to respond to sh -> the search head thinks it's down

So I would :
- investigate why that indexer is different than the others
- check search concurrency limit on sh and if needed lower it (lower shedule perc may be enough)
- spread your search load over time (schedule window, continous scheduling, skew, ..)

0 Karma

vasanthmss
Motivator

Hi Duke_Splunk_admins,

During each search the list of search peers will be involved in the search action. Since you are aware of one peer is down you can remove from your indexer cluster till the time server backup.

Follow the below steps to remove the peer, (Read the notes before perform any, make sure master is in maintenance mode )

https://docs.splunk.com/Documentation/Splunk/6.6.2/Indexer/Removepeerfrommasterlist

Best practice to take the search peer offline,

http://docs.splunk.com/Documentation/Splunk/6.6.2/Indexer/Takeapeeroffline

Hope this will helps you....

V
0 Karma

duke_splunk_adm
Engager

That's not exactly what I'm asking, although it is very helpful.
The behaviour is is: I have 4 peers, one of which is down. When I do a splunk list search-server sometimes I see 3 peers, all up, and sometimes I see 4, one of which is marked Down.
This throws off the monitoring system, as it appears to be flapping.

0 Karma

vasanthmss
Motivator

Have you check your distsearch.conf?

V

duke_splunk_adm
Engager

It wouldn't show up in there, as that only has static search-servers. This is an index cluster member, which means that the search-servers are added dynamically by the cluster master. The cluster master, in turn, doesn't poll for indexers, but receives indexers as they say they are available.

0 Karma

duke_splunk_adm
Engager

And yes, I did check my distsearch.conf, thanks.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...