Skip to main content
Question

Is there an easy way to transfer the leader node to a new box?

  • March 11, 2025
  • 8 replies
  • 34 views

Jordan Perks

Is there an easy way to transfer the leader node to a new box?

8 replies

Forum|alt.badge.img
  • Participating Frequently
  • March 11, 2025

Like, copy /opt/cribl, be happy?


Raanan Dagan
  • Employee
  • March 11, 2025

Tar / untar the local directory, and the groups directory


Jordan Perks
  • Author
  • Employee
  • March 11, 2025

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.


Jordan Perks
  • Author
  • Employee
  • March 11, 2025

With as little interruption as possible.


Raanan Dagan
  • Employee
  • March 11, 2025

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


Raanan Dagan
  • Employee
  • March 11, 2025

Option # 2 - From the Worker CLI -> modify cribl/local/_system/instance.yml (restart the worker)


Forum|alt.badge.img
  • Participating Frequently
  • March 11, 2025

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


Raanan Dagan
  • Employee
  • March 11, 2025

: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