GlusterFS作为ActiveMQ主/从群集的共享存储 [英] GlusterFS as shared storage for ActiveMQ master/slave cluster

查看:121
本文介绍了GlusterFS作为ActiveMQ主/从群集的共享存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想设置一个ActiveMQ群集。当我遇到不共享方法的问题时,我想使用共享文件系统来实现。但是, ActiveMQ文档警告与文件系统锁相关的可能问题。我不确定,我想问一下GlusterFS是否适合共享文件系统。

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.

推荐答案

共享存储主从服务器要求基础文件系统支持网络文件锁。 GlusterFS 似乎支持网络锁定并非100%清晰)。最终,找出答案的最佳方法是进行设置和检查。

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.

如果不这样做,您仍然可以选择使用基于JDBC的共享存储

If it doesn't you still have the option of falling back to a shared JDBC-based store.

这篇关于GlusterFS作为ActiveMQ主/从群集的共享存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆