Installation

Trying to setup indexer cluster using ansible playbooks

proficio_ajk
Loves-to-Learn

I'm currently attempting to setup an environment using https://github.com/splunk/splunk-ansible.

When I run the playbook it creates the appropriate user-seed.conf but /opt/splunk/etc/passwd has no user. There for when it tries to run the commands to turn a server into the cluster manager or a peer it isn't able to do it.

Running Rocky Linux 8.

Labels (2)
Tags (2)
0 Karma

proficio_ajk
Loves-to-Learn

Yep the playbook does create the user-seed.conf first then starts Splunk. The password.conf does not contain anything after it starts though.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

The user-seed.conf file is not processed into etc/passwd until Splunk starts.  After that, you should be able to issue commands.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...