Hi All,
We would like to move our existing master server instance(which acts as License master, DMC, Cluster Master, Search Head Deployer as well as Deployment server) to another new instance having same IPaddress and hostname due to underlying physical server issues. Can anyone provide or validate with the list of steps for an optimal way of doing this without disturbing the existing environment?
Here are the following steps I found to perform given as per the documentation for migrating Splunk instance you have provided-
In our case:
*1. We will stop the splunk master first.
2. Rename the new instance host-name and ipaddress same as master.
3. Copy the entire contents of the $SPLUNK_HOME directory from the old host to the new host.
4. Install the appropriate version of Splunk Enterprise for the target platform.
5. Start Splunk Enterprise on the new instance.
6. Log into Splunk Enterprise with your existing credentials *
Will this help in case of current scenario, because my current master has following roles (which acts as License master, DMC, Cluster Master, Search Head Deployer as well as Deployment server)??
please accept the answer if it was helpful 🙂
Hi,
best pratices is to have a dedicated server for all these roles but if you have a small set up that shouldn´t be a problem to combine them.
You should find a manual on how to move all of these roles in splunk docs or on anwers
General one : https://docs.splunk.com/Documentation/Splunk/7.2.1/Installation/MigrateaSplunkinstance
Cluster Master: http://docs.splunk.com/Documentation/Splunk/6.5.9/Indexer/Handlemasternodefailure
Deployer : https://answers.splunk.com/answers/577431/is-there-documentation-on-how-to-migrate-a-search.html
License Master: https://answers.splunk.com/answers/148214/how-can-i-migrate-an-splunk-license-master-to-a-brand-new-...
For the deployment server you can set up an app on the old one to deploy to the clients with the deploymentclient.conf with the new server. IF you did not set the deployment server in /system/local. Than you have to change it manually.