I'm using JBoss 4.2 + JBoss Messaging 1.4 on a group of servers, with each server having a local database for persistent messages.
I would like to restore the database from server A onto server B in the case of a failure on server A (something like hardware problem).
Is this possible? Can I bring up server B using the restored database from server A? I know I would have to bring down server B, change the datasource that the persistence service uses, and restart the server. Is there any state saved in the database that would prevent this from working?
All the servers have the same JBoss configuration.