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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...