[rabbitmq-discuss] Some quick configuration questions
matthew at rabbitmq.com
Wed Jul 27 16:16:25 BST 2011
On Wed, Jul 27, 2011 at 08:10:58AM -0700, Joseph Marlin wrote:
> I'd like to store persistent messages on a very large ISCSI volume, instead
> of in /var/lib/rabbitmq/mnesia/.
> If I changed the environment variable 'RABBITMQ_MNESIA_BASE' to the ISCSI
> volume, would that accomplish my goal and change the the location of my
> future stored persistent messages?
> What would happen to my currently store persistent messages upon restart
> after making this change?
Nothing, but rabbit would not load anything from the old store - it
would start from a blank slate, so to speak. You could copy the contents
of /var/lib/rabbitmq/mnesia/ to your new location and then rabbit should
happily load it all up once you've changed RABBITMQ_MNESIA_BASE
appropriately - there's no storage of absolute paths in there at all, so
it should Just Work.
More information about the rabbitmq-discuss