Is there an easy way to transfer the leader node to a new box?
Like, copy /opt/cribl, be happy?
Tar / untar the local directory, and the groups directory
So I have an existing infrastructure with three workers. The customer wants to move the leader to another box and use the server formerly know as the leader to a worker node. I am just trying to figure out how to point the current workers to the new leader as efficiently as possible.
With as little interruption as possible.
Option # 1 - Easy .. Before the first leader is down .. From the UI -> Go to the worker -> Worker Setting -> Distributed Setting -> Leader settings -> host of second leader
Option # 2 - From the Worker CLI -> modify cribl/local/_system/instance.yml (restart the worker)
And whatever you do, this is the right moment to create a DNS entry that points to your leader and use that DNS in your config, so if your leader changes again, you just need to update the DNS, not the worker config
:this: DNS is for sure the right move .. that way you can change the IP of the leader without a need to change any worker configurations