[rabbitmq-discuss] Portability of the RabbitMQ database

Matthew Sackman matthew at rabbitmq.com
Mon Jun 21 12:04:15 BST 2010


On Mon, Jun 21, 2010 at 12:45:30PM +0200, Andreas Jung wrote:
> I am playing over with replication and fail-over scenarios with RabbitMQ. So
> I copied over the database directory
> of production RabbitMQ server to a different machine and tried to restart
> the RabbitMQ server with the database
> of the production server. The production machine is running Linux and the
> destination machines are Linux + MacOSX.
> 
> The startup fails on both server...isn't the database portable across
> different machine?

The database captures the nodename. You'll need to ensure that both
machines have the same nodename. Setting the nodename to
"rabbit at localhost" is the simplest way of achieving that. Other ideas
are suggested in our HA pacemaker guide at
http://www.rabbitmq.com/pacemaker.html

Matthew


More information about the rabbitmq-discuss mailing list