Project

General

Profile

Actions

Question #14497

closed

Migrating Rudder

Added by Noelle Wiley about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
-
Target version:
-
Regression:

Description

I have a question I am looking for maybe some suggestions on how to approach this task. I am migrating my Rudder instance which is currently cloud based to a on-prem server. The policy_server.dat file on my nodes points to an IP address which will more than likely change. Do you have any suggestions on how to approach this task?
Thank you in advance.

Actions #1

Updated by François ARMAND about 5 years ago

Hello Noelle,

People generally does that at DNS level (ie use a name in policy_server.dat and make the switch in name resolver).

If that option is not possible, you can configure a file enforce technique content with the new IP and see agent go from one server to the other. Be sure to have a fallback solution to still be able to connect to your node if something goes wrong.

Depending of the logic of you migration, you could create a technique with some fallback logic, like "condition from command => try curl -k https://ip_in_policy_server.dat/uuid => if != 0 then retore old IP".

Actions #2

Updated by François ARMAND about 5 years ago

Just to be sure: you are copying the old server into a new place, or is it a new installation ?

If it's a new installation, the proposed solution won't work: server keys will be different (see https://docs.rudder.io/reference/5.0/administration/procedures.html#_migration for further action to do in the node), and the node will need to be accepted in the new server so a "rudder agent inventory" must follow the migration.

Actions #3

Updated by Alexis Mousset almost 5 years ago

  • Status changed from New to Resolved

Closing, feel free to reopen if you need more information.

Actions

Also available in: Atom PDF