[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] Types of file locking support in GFS



Hi,

I'm trying to setup activemq with master and slave.
According to http://activemq.apache.org/shared-file-system-master-slave.html, you can use a SAN to hold a lockfile for multiple brokers to watch.
But the SAN filesystem must support exclusive file locks.

OCFS2 only supports locking with 'fcntl' and not 'lockf and flock', therefore mutex file locking from Java isn't supported. (both brokers think they have
 an exclusive lock on the lockfile!)

Does Redhat GFS support 'lockf and flock' as well as fcntl ?


Thanks in Advance.

Elliot Moore


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]