问题
I want to setup an ActiveMQ cluster. As I encountered problems with shared nothing approach, I'd like to do it using shared filesystem. However, the ActiveMQ documentation warns about possible problems related to filesystem locks. As I'm not sure, I'd like to ask, if GlusterFS would be a good choice for shared filesystem.
回答1:
Shared-storage master-slave requires that the underlying file system supports network file locks. GlusterFS seems to support network locks going by the documentation (it's not 100% clear). Ultimately the best way to find out is to set it up and check.
If it doesn't you still have the option of falling back to a shared JDBC-based store.
来源:https://stackoverflow.com/questions/9415265/glusterfs-as-shared-storage-for-activemq-master-slave-cluster