Security

Unable to login to splunk cluster master web after changing my cluster master.

Mayurmpatil
Path Finder

I followed the following steps:

1) stop first cluster master
2) change master_uri from old ip address to new ip address in server.conf of indexers and search head.
3) Install new instance of different server
3) copy [general] , [clustering] , [sslConfig] from old cluster master to new splunk instance
4) start new splunk instance

When I did this , I am unable to login to console . I can hit https://:8000 , but when I give my credentials it gives 500 error..

500 Internal Server Error

Oops.
Click here to return to Splunk homepage.

Also cli commands like ./splunk help cluster-bundle are not giving any response .
Is anyone aware what might have went wrong?

Tags (1)
0 Karma

renjith_nair
Legend

Hi @Mayurmpatil ,

Somehow your web server is not able to connect to splunkd. Its worth to check your web.conf to make sure that the IPs are configured properly and there are no left overs from old server especially mgmtHostPort = <IP:port>.

Also look at your server.conf for any stale information. This should help you to get a login to master web and then you could troubleshoot the rest of the issues.

Refer here for more information : http://docs.splunk.com/Documentation/Splunk/7.1.1/Indexer/Handlemasternodefailure

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

harsmarvania57
Ultra Champion

Hi @Mayurmpatil,

Have you copied encrypted password from old cluster master to new cluster master in [general] , [clustering] , [sslConfig] stanza ? If so then it will not work until and unless you copied splunk.secret from old cluster master to new cluster master. If you have not copied splunk.secret in that case provide plain text password in server.conf and restart splunk service it will automatically encrypt password.

Thanks,
Harshil

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...