Deployment Architecture

Is it possible to make a splunk cluster with two servers ?

DavidHourani
Super Champion

Hello,

I was wondering if it is possible to make a Splunk cluster (SH and Indexer cluster) using only two machines.

I was thinking of installing Splunk twice on each machine and configuring different management ports for each Splunk instance. I would then start up one as an indexer and one as a SH on each appliance therefore getting 2 SH and 2 indexers running on separate instances.

Once that is done I would set up SH clustering and clustering for the indexers with SF=2 RF=2 and voilà.

Is such a build possible ? has anyone done it ? what are the pros / cons (kind of obvious questions)

Thanks in advance for your replies.

Best regards,
David

0 Karma
1 Solution

sowings
Splunk Employee
Splunk Employee

Possible? Yes. Advised? Certainly not.

Keeping configurations managed and consistent on two distinct instances per host is tricky, and error-prone. Please don't do this.

I would also point out that this may put you in the "unsupported" category.

I might ask the question "what problem are you trying to solve?" The need for extra instances for Splunk clustering can easily be met with thinly provisioned VMs rather than trying to manage a separate instance on the same host.

View solution in original post

saravanan90
Contributor

Search head clustering couldn't be implemented with two nodes. It requires minimum of three nodes to create a SH cluster.

0 Karma

sowings
Splunk Employee
Splunk Employee

Possible? Yes. Advised? Certainly not.

Keeping configurations managed and consistent on two distinct instances per host is tricky, and error-prone. Please don't do this.

I would also point out that this may put you in the "unsupported" category.

I might ask the question "what problem are you trying to solve?" The need for extra instances for Splunk clustering can easily be met with thinly provisioned VMs rather than trying to manage a separate instance on the same host.

hexx
Splunk Employee
Splunk Employee

@sowings is correct on all accounts. As per our docs:

Each node instance must run on a separate machine or virtual machine, and each machine must be running the same operating system.
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 ...