Deployment Architecture

How can I add Search head to Search Peer to ClusterMaster via .conf or CLI?

Aftend1971
Explorer

Hello,
How can I add Search head to Search Peer to ClusterMaster via .conf or CLI ?

I have standalone SH (no shclustering) and ClusterMaster(2 slaves,idxclustering). I want to enable distributed monitoring console on Cluster Master, but there is no search head available.

I read that I have to add it manually. Like: http://docs.splunk.com/Documentation/Splunk/6.2.0/Admin/ConfiguretheMonitoringConsole#Add_instances_...

Is it correct? There is no search head discovery like index discovery or peer discovery in clustering?

Is possible to add it via GUI. With uri and admin credentials. I am I right that this is only for getting certificates for authentication?
So credentials are used one time?

I want to do this without credentials. Is there any pass4symm or any better way to do this?

I know that I have to add to distsearch.conf on CM this:

[distributedSearch]
servers = https://head:8089

But how Can I pass auth info?

Thanks

0 Karma

Kendrick821
Explorer

Hi,

You will need to point the Search Head to Master Node. Search Head will discover the Search Peer via Master Node. You do not need to add Search Peer in Search Head.

If you want to do it via Web Console, do this on the Search Head.
http://docs.splunk.com/Documentation/Splunk/7.0.2/Indexer/Enablethesearchhead#Enable_the_search_head...

If you want to do it via CLI, follow these steps on Search Head.
"Integrate with a single-site indexer cluster"
http://docs.splunk.com/Documentation/Splunk/7.0.2/DistSearch/SHCandindexercluster

0 Karma

pradeepkumarg
Influencer

This is the correct documentation to add an indexer cluster to search head

https://docs.splunk.com/Documentation/Splunk/7.0.1/Indexer/Enablethesearchhead.

There are both options GUI and CLI

0 Karma

Aftend1971
Explorer

Are you sure?
This ( https://docs.splunk.com/Documentation/Splunk/7.0.2/Indexer/ConfiguresearchheadwithCLI ) is something else than this ( http://docs.splunk.com/Documentation/Splunk/7.0.2/DMC/Addinstancesassearchpeers )

I have searchhead connected to idxcluster in clustering section, but cluster maste = monitonig console does not see searchhead, unit I add searchhead as searchpeer. I dont know if it right or not.

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...