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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...