Getting Data In

How to isolate the indexer and search head from the same server box and move one of them to a different box?

pdantuuri0411
Explorer

In our small Splunk environment, we have the search head and the indexer on the same server box. Due to performance issues, we are thinking of giving the search head a separate server box.

What steps should be followed in this process? Is there any good documentation for this.

Thank you

0 Karma
1 Solution

nickhills
Ultra Champion

You want to move to a distributed deployment.

This is actually quite straightforward. You simply use your existing Splunk deployment as the 'Indexer' (or 'Search Peer'), and a new 'Search Head' to it.

Build yourself a new server, download and install (the same version) of Splunk and install it. Then follow the following guide to add your existing 'Search Peer' to your new 'Search Head'
https://docs.splunk.com/Documentation/Splunk/7.2.4/DistSearch/Configuredistributedsearch

Once you have completed that, you can copy your existing Apps to the new SH, test and share the new URL with your users.

If my comment helps, please give it a thumbs up!

View solution in original post

0 Karma

nickhills
Ultra Champion

You want to move to a distributed deployment.

This is actually quite straightforward. You simply use your existing Splunk deployment as the 'Indexer' (or 'Search Peer'), and a new 'Search Head' to it.

Build yourself a new server, download and install (the same version) of Splunk and install it. Then follow the following guide to add your existing 'Search Peer' to your new 'Search Head'
https://docs.splunk.com/Documentation/Splunk/7.2.4/DistSearch/Configuredistributedsearch

Once you have completed that, you can copy your existing Apps to the new SH, test and share the new URL with your users.

If my comment helps, please give it a thumbs up!
0 Karma

pdantuuri0411
Explorer

@nickhillscpl Thank you for the reply.

In that case won't we have 2 search heads? And we don't want our URL to change as it is pretty standard across the organization. Is there a way we can use the old URL?

0 Karma

nickhills
Ultra Champion

Technically yes, but every indexer/cluster master/heavy forwarder is still a SH. The difference is that you just want to stop using it as one.

If you have a nice url like Splunk.mycompany.com hopefully that is a CName for your server?
In which case you can just change the alias when you have finished testing.

If on the other hand, the url is the actual hostname of your Splunk server, now is a good time to break that dependency and introduce a CName as an alias.

Running Splunk via a hostname restricts you in the future as your deployment grows so you are better of changing it sooner.

If my comment helps, please give it a thumbs up!
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...