How To Create Indexer Cluster Using CLI in Splunk Under 10 Mins
How To Create Indexer Cluster Using CLI in Splunk Under 10 Mins
Indexer Cluster
using CLI
in Splunk
under 10 mins
How to Create Indexer Cluster in Splunk under 10 mins Splunk Mania
Contents
Prerequisites ..............................................................................................................3
Step-1: Enable Cluster Master Node ...........................................................................3
Step-2: Enable Indexer-1 Node ...................................................................................5
Step-3: Enable Indexer-2 Node ...................................................................................5
Step-4: Enable Indexer-3 Node ...................................................................................5
References ..................................................................................................................7
Contact: ......................................................................................................................7
@splunkmania #splunkmania
2
How to Create Indexer Cluster in Splunk under 10 mins Splunk Mania
Prerequisites
• Make sure License Master is up running
• Admin access to Splunk Web/UI, SSH Access (Backend Access) to all the
instances.
• Each cluster node (master, peer, or search head) must reside on a separate
Splunk Enterprise instance.
• Each node instance must run the same Splunk Enterprise version.
• All nodes must be connected over a network.
• Get the IP Address (or) Host Name (or) FQDN for all the nodes
Note: This Document contains the steps to create Indexer Cluster using Splunk CLI
alone.
sudo su - splunk
e.g.:
@splunkmania #splunkmania
3
How to Create Indexer Cluster in Splunk under 10 mins Splunk Mania
[indexer_discovery]
pass4SymmKey = <indexer_discovery_secret_key>
indexerWeightByDiskCapacity = true
e.g.:
[indexer_discovery]
pass4SymmKey = SecretKeyForIndexerDiscovery12!@
indexerWeightByDiskCapacity = true
/opt/splunk/bin/splunk restart
• Once it’s restarted, login to UI. The Indexer Clustering Page will be enabled as
shown below
• To check maintenance mode status. The returned value of 1 indicates that the
maintenance mode is on. Value 0 indicates that the maintenance mode is off.
@splunkmania #splunkmania
4
How to Create Indexer Cluster in Splunk under 10 mins Splunk Mania
sudo su - splunk
e.g.:
/opt/splunk/bin/splunk restart
• Once restarted, please login to UI. The Indexer Clustering Page will be having
error, as the complete cluster is not ready to meet replication factor yet.
• So, without worry, please proceed with other indexers/peers’ configuration
@splunkmania #splunkmania
5
How to Create Indexer Cluster in Splunk under 10 mins Splunk Mania
To get information on the cluster configuration, run this command from any node
Happy Splunking…!!
Any help/support required on the Indexer Cluster, please contact Splunk Mania Team
using any one of the methods mentioned in next page of this document.
@splunkmania #splunkmania
6
How to Create Indexer Cluster in Splunk under 10 mins Splunk Mania
References
Indexer cluster deployment overview - Splunk Documentation
Contact:
WhatsApp: +919345372209
Email: [email protected]
LinkedIn: https://www.linkedin.com/company/splunk-mania
Facebook: https://www.facebook.com/SplunkMania
Instagram: https://www.instagram.com/splunkmania/
Slack: https://splunkmania.slack.com/
YouTube: https://www.youtube.com/channel/UCknGfjgEIGCzb8CE6e3X_3A
Website: Splunk Mania (splunk-mania.web.app)
@splunkmania #splunkmania
7