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
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.
Search head clustering couldn't be implemented with two nodes. It requires minimum of three nodes to create a SH cluster.
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.
@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.