Archive

Unable to join the indexer to cluster

Splunk Employee
Splunk Employee

Hi,

I am trying to add a new indexer to the cluster. I am unble to add the server.

I get the following error.

=====
03-22-2019 03:41:25.260 -0400 ERROR CMSlave - Cannot connect to master due to error=failed method=GET path=/services/cluster/master/info/?outputmode=json master=XX.XX.XX.XX:8089 rv=0 gotConnectionError=0 gotUnexpectedStatusCode=1 actualresponsecode=401 expectedresponsecode=2xx statusline="Unauthorized" socketerror="No error" remoteerror=call not properly authenticated... (retrying every second).

Tags (1)
0 Karma

SplunkTrust
SplunkTrust

Hi @rashid47010,

You should try to recover pass4SymmKey by using another one of your server in the cluster or reuse splunk.secretfrom another member of your cluster then take the encrypted pass4SymmKey from there to your new server.

some info here : https://docs.splunk.com/Documentation/Splunk/latest/Security/Deploysecurepasswordsacrossmultipleserv...

Check this answer if you wish to go for the recovery:
https://answers.splunk.com/answers/745041/help-to-recover-pass4symmkey.html

Cheers,
David

0 Karma

Splunk Employee
Splunk Employee

Hi All,

Check your clustering configuration in server.conf on new Indexer which you are trying to add. The error says "Unauthorized" which indicates that credentials are not correct. We need a secret key "pass4SymmKey" in order to add a new Indexer to the existing cluster. Please make sure it is correct.

Thanks!

Communicator

and If we dont have pass4SymmKey then.... 🙂

what is the workaround

0 Karma

Splunk Employee
Splunk Employee

@rashid47010
Then you have only one option to re-create the cluster with new pass4SymmKey 🙂

0 Karma