All Apps and Add-ons

splunk apply shcluster-bundle command fail with Error

vin02
Path Finder

When i am trying to run the below cluster bundle command it is throwing error message

/opt/splunk/bin/splunk apply shcluster-bundle -target https://splunk-search:8089 -auth : --answer-yes -preserve-lookups true

ERROR : Error while deploying apps to target=https://splunk-search:8089: No captain found amongst members

And when i am checking for the cluster status then also getting error

splunk show shcluster-status -auth :

ERROR: Search Head Clustering is not enabled on this node. REST endpoint is not available

Could please help me on this.

Tags (1)
0 Karma
1 Solution

hunters_splunk
Splunk Employee
Splunk Employee

Hi Vin02,

Obviously, your captain is down or has not been initialized in your shc. You must designate a cluster member - any instance - as the captain, which is responsible for orchestrating replication activities across your cluster. For instructions on bringing up the cluster captain, please following the steps here in the documentation:
http://docs.splunk.com/Documentation/Splunk/6.6.0/DistSearch/SHCdeploymentoverview#5._Bring_up_the_c...

Hope this helps.
Thanks!
Hunter

View solution in original post

0 Karma

hunters_splunk
Splunk Employee
Splunk Employee

Hi Vin02,

Obviously, your captain is down or has not been initialized in your shc. You must designate a cluster member - any instance - as the captain, which is responsible for orchestrating replication activities across your cluster. For instructions on bringing up the cluster captain, please following the steps here in the documentation:
http://docs.splunk.com/Documentation/Splunk/6.6.0/DistSearch/SHCdeploymentoverview#5._Bring_up_the_c...

Hope this helps.
Thanks!
Hunter

0 Karma

koshyk
Super Champion

before you apply bundle, can you please check
show shcluster-status
Run this from one of the SH member. If captain is NOT shown, you need to first setting up SHC correctly using init. Apply bundle only after you are 100% sure the SHC is setup correctly

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...