Deployment Architecture

Run 2 Instances of Splunk on Same Server

andrewkenth
Communicator

I'm fairly certian you can run 2 instnaces of Splunk on the same server. What are some of the configurations I need to take into account when doing this? How difficult is it?

Thanks!

Tags (1)
0 Karma
1 Solution

Ayn
Legend

There is an excellent page on the community wiki that has lots of info on this. Here: http://wiki.splunk.com/Community:Run_multiple_Splunks_on_one_machine

View solution in original post

Ayn
Legend

There is an excellent page on the community wiki that has lots of info on this. Here: http://wiki.splunk.com/Community:Run_multiple_Splunks_on_one_machine

nickstone
Path Finder

is there anything new to add to this post in terms of SplunkWeb and creating a new service with sc.exe? I want to test multiple apps accross different versions where splunkd may or may not be of value (with the exception of supporting different splunkweb versions)

0 Karma

laithmurad
Path Finder

@gkanapathy I tried using the same method for splunkweb, but it didn't work! splunkd is working fine, I changed the httpport to 8001 in the web.conf.

Is there anything else not mentioned in the article that I should do?

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Oh and if you're running on Windows, it's possible, but not really supported: http://wiki.splunk.com/Community:RunningMultipleInstancesWindows Note that article is also slight incomplete as it only talks about scheduling multiple splunkd services, not multiple SplunkWeb services. In general in Windows though, if you're familiar with using sc.exe you can just set up your own services.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

that article says to copy; I would just install it twice in different locations. if you do copy, note that the article does fail to mention that you should not copy the $SPLUNK_HOME/etc/instance.cfg file either.

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...