Deployment Architecture

Switch Cluster Master to new machine

pkumar9610
Explorer

HI Friends,

I have ClusterMaster, SH, Indexers, License Master clustered. I want to move cluster master from one VM to another VM, I am aware of all the configuration need to be modified but how do I un-initialize ClusterMaster from SearchHead and Indexers so that I can initialize it again using below command to point to new ClusterMaster ?

Search Head:
/app/splunk/bin/splunk init shcluster-config -auth admin:xxxxx -mgmt_uri https://SearchHead.qasplunk.SPLUNK.qa.walmart.com:8089 -replication_port 8001 - replication_factor 1 -conf_deploy_fetch_url https://ClusterMaster1.qasplunk.SPLUNK.qa.walmart.com:8089 -secret xxxxx

Indexers:
/app/splunk/bin/splunk edit cluster-config -mode slave -master_uri https://ClusterMaster1.qasplunk.SPLUNK.qa.walmart.com:8089 -replication_port 8100 -secret xxxxx

Tags (1)
1 Solution

esix_splunk
Splunk Employee
Splunk Employee

If you're planning to point these to a new CM, its easier just to edit the server.conf file and manually change the URI for the cluster master, enter the new password, and restart the Splunk instance.

Thats all you have to do.

You might also consider sanitizing your hostnames in this post..

View solution in original post

esix_splunk
Splunk Employee
Splunk Employee

If you're planning to point these to a new CM, its easier just to edit the server.conf file and manually change the URI for the cluster master, enter the new password, and restart the Splunk instance.

Thats all you have to do.

You might also consider sanitizing your hostnames in this post..

pkumar9610
Explorer

Thank you for the quick response. So we don't have to do anything the above commands ? If I am changes to server.conf in Indexers & Search Heads and restart that will point to new cluster master ?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...