[Linux-cluster] CLVM/GFS2 distributed locking

I'm in process of configuring shared filesystem storage master/slave Apache ActiveMQ setup. For it to work, it requires reliable distributed locking - master is node that holds exclusive lock on a file on shared filesystem storage.

On RHEL (5.4), using CLVM with GFS2 is one of the options that should work.Third party configured the CLVM/GFS2. I'd like to make sure that distributed locking works OK.What are my options for verifying this?