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!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...