3

Does anyone here have any experience with the migration of RabbitMQ(v3.5.3) to new servers? I currently have two RMQ servers in a cluster on old systems and I want to migrate them to new virtual machines. Unfortunately, I wasn't able to find any direct migration tool for it.

It looks like the easiest way to do it, is to add the new servers to the cluster, let them replicate everything and after replication has completed successfully, shut down the old servers.

Is there a way to export/import from old servers to new? Even if there was, I'm quite worried about my ability to setup the new servers exactly like the old.

Any ideas?

1 Answer 1

2

You can use Shovel Plugin for seamless migration or backup definitions, configs and mnesia database on one machine and restore them on other.

TL;DR;

The idea is to run new cluster and migrate all entities, e.g. via management interface (web - see Management Plugin docs or cli - see Export configuration section or even this SO question RabbitMQ : how to create and restore backup).

Then you seamlessly migrate with shovel plugin messages from one cluster to another.

Alternatively, you may take directory with RabbitMQ data (see File Locations docs for standard paths) from one cluster to another, but this way may have some caveats, as node namings, mnesia and erlang versions, etc., see this users group discussion for details - RabbitMQ server Mnesia backup and restore.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .