Splunk Search

Has anyone successfully front ended deployment servers, receivers, or search heads with a load balancer?

dstaulcu
Builder

any gotchas, tips, tricks or advice with start of such projects?

0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

It depends :

  • receivers, you probably means Indexers.
    You can use the splunk loadbalancing built in the forwarders, they will alternate between all the indexers they know.
    OR you can use a single dns record for all your indexers, and use a dns load balancer to point alternatively to a different indexer IPs.
    see http://docs.splunk.com/Documentation/Splunk/6.0/Forwarding/Setuploadbalancingd

  • search-head load balancing is the most delicate.
    It will require search-head pooling (you need the users profiles and search artifacts to be shared between all the search-heads)
    see http://docs.splunk.com/Documentation/Splunk/6.0/DistSearch/Usealoadbalancerwiththesearchheadpool

  • deployment servers can be behind a dns load balancer.
    That way the clients will connect to one or another, but you will have to synchronize perfectly all your deployments server assets to avoid redeploying slightly different versions of the apps in loop. There are no documentation on those exotic setup. You may want to use a version control system to maintain your serverclass.conf and deployment-apps.
    (FYI the cascading is not mentioned in Splunk 6.* anymore because of the rewriting of the deployment server code)

View solution in original post

0 Karma

yannK
Splunk Employee
Splunk Employee

It depends :

  • receivers, you probably means Indexers.
    You can use the splunk loadbalancing built in the forwarders, they will alternate between all the indexers they know.
    OR you can use a single dns record for all your indexers, and use a dns load balancer to point alternatively to a different indexer IPs.
    see http://docs.splunk.com/Documentation/Splunk/6.0/Forwarding/Setuploadbalancingd

  • search-head load balancing is the most delicate.
    It will require search-head pooling (you need the users profiles and search artifacts to be shared between all the search-heads)
    see http://docs.splunk.com/Documentation/Splunk/6.0/DistSearch/Usealoadbalancerwiththesearchheadpool

  • deployment servers can be behind a dns load balancer.
    That way the clients will connect to one or another, but you will have to synchronize perfectly all your deployments server assets to avoid redeploying slightly different versions of the apps in loop. There are no documentation on those exotic setup. You may want to use a version control system to maintain your serverclass.conf and deployment-apps.
    (FYI the cascading is not mentioned in Splunk 6.* anymore because of the rewriting of the deployment server code)

0 Karma

dstaulcu
Builder

Thanks for the tip on DNS Round robin for deployment servers. That might be just the right level of effort for that role type. Next challenge is to figure out how to maintain SSL based communications through a layer 7 load balancer for the search heads.

0 Karma
Get Updates on the Splunk Community!

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 ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...