- Install Splunk Enterprise Edition on 3 instances.
- Do the following configuration in 1st instance(Cluster Master).
- Edit server.conf.
[general]
serverName = cm
pass4SymmKey = splunk1234
[lmpool:auto_generated_pool_download-trial]
description = auto_generated_pool_download-trial
quota = MAX
slaves = *
stack_id = download-trial
[lmpool:auto_generated_pool_forwarder]
description = auto_generated_pool_forwarder
quota = MAX
slaves = *
stack_id = forwarder
[lmpool:auto_generated_pool_free]
description = auto_generated_pool_free
quota = MAX
slaves = *
stack_id = free
[clustering]
cluster_label = test
mode = master
replication_factor = 2
- Save server.conf.
- Restart Splunk.
- Now SSH to 2nd instance.
- Edit inputs.conf.
[splunktcp://9997]
connection_host = ip
- Save inputs.conf.
- Edit server.conf.
[general]
serverName = idx-1
pass4SymmKey = splunk1234
[lmpool:auto_generated_pool_download-trial]
description = auto_generated_pool_download-trial
quota = MAX
slaves = *
stack_id = download-trial
[lmpool:auto_generated_pool_forwarder]
description = auto_generated_pool_forwarder
quota = MAX
slaves = *
stack_id = forwarder
[lmpool:auto_generated_pool_free]
description = auto_generated_pool_free
quota = MAX
slaves = *
stack_id = free
[replication_port://8080]
[clustering]
master_uri = https://<clustermaster_ip>:8089
mode = slave
[license]
master_uri = https://<license_master_ip>:8089
- Save server.conf.
- Do the same in the 3rd instance as you did for 2nd instance.
- Install Splunk Enterprise Edition on 4 instances.
- Perform the following configuration on 1st instance (Deployer).
- Edit server.conf.
[general]
serverName = deployer
pass4SymmKey = splunk1234
[lmpool:auto_generated_pool_download-trial]
description = auto_generated_pool_download-trial
quota = MAX
slaves = *
stack_id = download-trial
[lmpool:auto_generated_pool_forwarder]
description = auto_generated_pool_forwarder
quota = MAX
slaves = *
stack_id = forwarder
[lmpool:auto_generated_pool_free]
description = auto_generated_pool_free
quota = MAX
slaves = *
stack_id = free
[shclustering]
pass4SymmKey = splunk1234
shcluster_label = shcluster1
- Save the server.conf.
- Restart Splunk.
- Now move to 2nd instance(search head member).
- Edit collections.conf.
[SamlIdpCerts]
disabled = false
[SSLCertificates]
disabled = false
[JsonWebTokensV1]
disabled = false
- Save collections.conf.
- Edit server.conf.
[general]
serverName = sh-1
pass4SymmKey = splunk1234
[lmpool:auto_generated_pool_download-trial]
description = auto_generated_pool_download-trial
quota = MAX
slaves = *
stack_id = download-trial
[lmpool:auto_generated_pool_forwarder]
description = auto_generated_pool_forwarder
quota = MAX
slaves = *
stack_id = forwarder
[lmpool:auto_generated_pool_free]
description = auto_generated_pool_free
quota = MAX
slaves = *
stack_id = free
[replication_port://34567]
[shclustering]
conf_deploy_fetch_url = https://<deployer_ip>:8089
disabled = 0
mgmt_uri = https://<your_current_instance_ip> :8089
#the ip of the machine you are editing this on.
pass4SymmKey = splunk1234
shcluster_label = shcluster1
id = <GUID of the Deployer>
# This stanza is only when you are adding this search head cluster to indexer cluster.
[clustering]
manager_uri = https://<indexer_cluster_master>:8089
mode = searchhead
- Save server.conf.
- Do the same for 3rd and 4th machines as well.
- Install Splunk Enterprise Edition on your machine.
- Edit serverclass.conf.
[serverClass:uf_and_hf:app:Splunk_TA_nix]
restartSplunkWeb = 0
restartSplunkd = 0
stateOnClient = enabled
[serverClass:uf_and_hf]
whitelist.0 = <ip_of_the_forwarder
whitelist.1 = <ip_of_the_forwarder>
- Save serverclass.conf.
- Edit server.conf
[general]
serverName = deployment-server
pass4SymmKey = splunk1234
[lmpool:auto_generated_pool_download-trial]
description = auto_generated_pool_download-trial
quota = MAX
slaves = *
stack_id = download-trial
[lmpool:auto_generated_pool_forwarder]
description = auto_generated_pool_forwarder
quota = MAX
slaves = *
stack_id = forwarder
[lmpool:auto_generated_pool_free]
description = auto_generated_pool_free
quota = MAX
slaves = *
stack_id = free
- Save server.conf and restart splunk.
- Install a license
- If you install a Dev/Test license over an Enterprise license, it replaces the Enterprise license.
- Install a license for a distributed deployment
- To install a license for a distributed deployment of Splunk Enterprise:
- Choose an instance to function as the license manager, if you have not already done so. See Configure a license manager.
- On the license manager, navigate to Settings > Licensing.
- Click Add license.
- Do one of the following:
- Click Choose file and browse for your license file and select it, or
- Click copy & paste the license XML directly... and paste the text of your license file into the provided field.
- Click Install.
- If this is the first Enterprise license that you are installing on the license manager, you must restart Splunk Enterprise.
- Now Go to License Peer.
- Log into Splunk Web and navigate to Settings > Licensing.
- Click Change to Peer.
- Switch the radio button from Designate this Splunk instance as the license server to Designate a different Splunk instance as the license server.
- Specify the license manager. You must provide an IP address or a hostname, and include the management port. The default management port is 8089.
- Click Save. Restart Splunk Enterprise services.
To install a license for a standalone instance of Splunk Enterprise:
- On the instance, navigate to Settings > Licensing.
- Click Add license.
- Do one of the following:
- Click Choose file and browse for your license file and select it, or
- Click copy & paste the license XML directly... and paste the text of your license file into the provided field.
- Click Install.
- If this is the first Enterprise license that you are installing on the instance, you must restart Splunk Enterprise. Add a note to a license file. Once an Enterprise license is installed, you can add a note or other text to your license file:
- Navigate to Settings > Licensing.
- Under Licenses, click Notes.
- In the Notes field, add a note or other text.
- Click Save.
The Notes field is only available for licenses installed in an Enterprise license group.