Deployment Architecture

Can I add some timeout to cluster-config CLI command ?

Aftend1971
Explorer

Can I add some timeout to cluster-config ?
Seems that if master is not available, this command immediately shows a "Could not contact master" message .
-restart_timeout 900 -cxn_timeout 900 does not work.

   bin/splunk edit cluster-config -mode slave -master_uri https://master:8089 -replication_port 9887 -secret mytoken

Or can I add this with force parameter ?

I know that I can run before cluster-config this -> bin/splunk cmd /bin/sleep 60
But this is very ugly solution 😞

Tags (2)
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 ...