Monitoring Splunk

How do I put Splunk Cluster Master in a maintenance mode? Is via CLI the only way?

SamHTexas
Builder

How do I put Cluster Master in a maintenance mode? Can it be done via GUI ? Or have to be done via CLI cli only?

Labels (1)
0 Karma
1 Solution

manjunathmeti
SplunkTrust
SplunkTrust

This is not available in masters GUI. The command is run in CLI as you upgrade Splunk in CLI only. 

View solution in original post

SamHTexas
Builder

Thank u for your time. Would u share the steps doing it from CLI please?

0 Karma

manjunathmeti
SplunkTrust
SplunkTrust

1. To put the cluster into the maintenance mode:

 

/opt/splunk/bin/splunk enable maintenance-mode

 

 2. To disable maintenance mode:

 

/opt/splunk/bin/splunk disable maintenance-mode

 

3. To check maintenance mode status. The returned value of 1 indicates that the maintenance mode is on.  Value  indicates that the maintenance mode is off.

 

/opt/splunk/bin/splunk show maintenance-mode

 

 /opt/splunk/ is $SPLUNK_HOME directory in this case.

manjunathmeti
SplunkTrust
SplunkTrust

This is not available in masters GUI. The command is run in CLI as you upgrade Splunk in CLI only. 

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...