[Ocfs2-users] ocfs2 dlm configure

Heiko L. heikol at fh-lausitz.de
Sat Jul 1 10:05:12 PDT 2017


Hallo,


I have 2 ocfs-nodes that mount disk from san.
Howto  configure lockmanager to open a (vm-image-)file excluxive?

I have written a script "chk_dlm.pl" which should print a errormsg on node2,
if running script at the same time.

node1:/mnt/xenimg/test $ ~/bin/chk_dlm.pl testfile
3159 open file testfile
3175 close file testfile
node2:/mnt/xenimg/test $ ~/bin/chk_dlm.pl testfile
3162 open file testfile
3177 close file testfile

but i can open file for rw on both nodes.

What can i do?


regards heiko

[1] http://www-home.fh-lausitz.de/~hlehmann/tmp/17/chk_dlm.pl-170629






More information about the Ocfs2-users mailing list