Deployment Architecture

Search job unexpectedly terminated when running on an SHC

mramiro
Engager

For the past few days, after upgrading the infrastructure from 7.3.2 to the latest GA (8.0.5),  I'm having problems when running ad-hoc searches on an SHC. To give you more context about the Splunk infrastructure I'm talking about, I've described it at the end of the post.

Following is the problem I'm facing:

  • When I connect to the SHC using the VIP and I run whatever search, the system raises the following error after 5-10 seconds. I couldn't find any relevant information by looking at the logs.

mramiro_1-1596003231596.png

  • When I connect directly to any of the Search Heads and I run the same search, it runs smoothly without any problem.

I found the following Known Issues (SPL-192057, SPL-188608) that seem to match this behavior. These are pretty recent though, but I can't find which Splunk versions are affected. 

mramiro_0-1596002119535.png

Did anyone face this before? What do you think I should do?

Splunk Infrastructure

  • 3 Search Heads
    • These SH are in a Search Head Cluster (SHC) configured to distribute the searches on both Indexers
    • Load balancer in front of the SHC
  • 2 Indexers
  • 2 Heavy Forwarders + multiple Universal Forwarders
  • 1 Deployment Server
  • 1 Cluster Master
0 Karma
1 Solution

mramiro
Engager

I've managed to solve the problem. It doesn't seem to be related to the Known Issues I've posted. Although the description was a perfect match.

You may double-check the load balancer configuration. As stated in the official docs (https://docs.splunk.com/Documentation/Splunk/6.6.3/DistSearch/UseSHCwithloadbalancers) :

"Configure the load balancer so that user sessions are "sticky" or "persistent." This ensures that the user remains on a single search head throughout their session."

After double-checking, it seemed that it wasn't configured properly. After applying the changes on the load balancer now it works perfectly.

I hope it helps.

 

View solution in original post

0 Karma

mramiro
Engager

I've managed to solve the problem. It doesn't seem to be related to the Known Issues I've posted. Although the description was a perfect match.

You may double-check the load balancer configuration. As stated in the official docs (https://docs.splunk.com/Documentation/Splunk/6.6.3/DistSearch/UseSHCwithloadbalancers) :

"Configure the load balancer so that user sessions are "sticky" or "persistent." This ensures that the user remains on a single search head throughout their session."

After double-checking, it seemed that it wasn't configured properly. After applying the changes on the load balancer now it works perfectly.

I hope it helps.

 

0 Karma

sanjaynathan
Loves-to-Learn

@mramiro  , May i know which LB layer traffic you are using ? Is it layer 7 or different ?

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...