Splunk Enterprise

splunk add shcluster-member

Ishwarya2806
Loves-to-Learn

used splunk remove shcluster-member and removed an existing cluster , then after the serachhead restart tried to add it back, but got below error . please let me know how to add them back 

 

/splunk add shcluster-member -current_member_uri https://<ip-xxx>:<9089>

In handler 'shclustermemberconsensus': Search Head Clustering is not enabled on this node. REST endpoint is not available

 

Labels (1)
0 Karma

Ishwarya2806
Loves-to-Learn

can i run below command in order to fix the issue ? is it safe to run it ? cos mine was an existing searching , i removed it and trying to add them back 

splunk clean all 

 

0 Karma

isoutamo
SplunkTrust
SplunkTrust
You cannot add node, which have already be a part of SHC. You must first “install” it from scratch. That is described on docs.
0 Karma

Ishwarya2806
Loves-to-Learn

when i try to run from searchead i get the below error 

/opt/app/ecomm/splunksearchhead/bin

./splunk add shcluster-member -current_member_uri https://<ip>:9089 

In handler 'shclustermemberconsensus': Node lonrsxxx-searchhead is not part of a cluster and cannot handle proxied calls. This may be because current_member_uri is not pointing to an existing cluster member. Run 'splunk help add shcluster-member' for more info.

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...