Is there an easy way to transfer the leader node to a new box?
Is there an easy way to transfer the leader node to a new box?
Answers
-
Like, copy /opt/cribl, be happy?
0 -
Tar / untar the local directory, and the groups directory
0 -
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.
0 -
With as little interruption as possible.
0 -
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
0 -
Option # 2 - From the Worker CLI -> modify cribl/local/_system/instance.yml (restart the worker)
0 -
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
0 -
: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
0