Monks,
Does anyone know of a way I can put an exlusive lock on a file in an NFS filesystem, shared by just a couple of nodes. I have two processes on boxes which have the FS mounted. Basically I want the first one there, to win exclusive access to the file.
I have super searched and googled and did come up with File::NFSlock, but the readme is rather terse. It mentions an exclusive mode, but I can't tell if it allows this lock on read. I am going to pull it down tomorrow and test. But I was wondering if any monks have done this. Can it be done?