Currently I am adopting the same deployer to two different search head cluster and would like to remove it from one of the clusters. However, I cannot find any official documentation related to it. Could anyone tell me how to do it? Thank you so much
Here is instructions how to backup and restore deployer https://docs.splunk.com/Documentation/Splunk/9.4.0/DistSearch/BackuprestoreSHC
I think that you could just replicate old deployer to new one and change its name, ip and GUID. I’m not sure if there is something on bundles or state files what needs to change etc?
Then change replication url on all those SHC nodes which you are moving to this new cluster to point into it. After that just bring those nodes up one by one and wait that each one is up and there is no errors. After that start next.
Before you start this take offline backups including kvstore and stop all those nodes which belongs to SHC which you are moving away from original deployer.
If there is no need to keep those nodes in SHC anymore, then just remove those nodes from SHC and use those as individual SH.
Note: I haven’t try this by myself, so you take the risk by yourself!
Sorry are you:
1) Trying to make a single Search Head Deployer serve 2 individual clusters?
OR
2) Trying to move a single Search Head Deployer away from Cluster X and now server Cluster Y
Hi~ I am trying to make a single Search Head deployer serving 2 individual search head clusters
Honestly, I've never heard about such possibility. Since you're bootstrapping a SHC member from a deployer, how would you decide which SH is a part of which cluster? Also if you're applying shcluster bundle, you're pushing it to one member and let others replicate their config from there. How would you expect to do it with two SHCs? (OK, you could do the push explicitly to two different SHs but I'm not sure if that would work).
Why do you even want to to something like that? If you have enough machines and they are supposed to have the same config why not create a single SHC?
I can find evidence to back this up, but hard to find any real case. In our case, we're limited by resources, so we can't add more deployers. We're using two search head clusters to keep things separate. This way, if one cluster needs to handle a lot of saved searches, it won't slow down the other one.
OK. Yes. I found it.
The deployer sends the same configuration bundle to all cluster members that it services. Therefore, if you have multiple search head clusters, you can use the same deployer for all the clusters only if the clusters employ exactly the same configurations, apps, and so on.
If you anticipate that your clusters might need different configurations over time, set up a separate deployer for each cluster."
But honestly, I can't think of any reasonable use case for this.