Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Locking files in the sysplex z/OS UNIX System Services Planning GA32-0884-00 |
|
You can lock all or part of a file that you are accessing for read/write purposes by using the byte range lock manager (BRLM). The lock manager is initialized on every system in the sysplex. This is known as distributed BRLM, and it is the only supported byte range locking method. Each BRLM is responsible for handling locking requests for files whose file systems are mounted locally in that system. z/OS UNIX backs up each lock in the application's system when the actual lock is stored in another system. This redundant locking provides recovery of locks when a system in the sysplex terminates abnormally. If z/OS UNIX is able to successfully recover a file system, then it restores the locks held for files in that file system. Doing so prevents error conditions from occurring. If the following situations occur, the locks for the corresponding
files are considered to be lost:
Note: The F BPXOINIT,SHUTDOWN=FILESYS|FILEOWNER and F OMVS,SHUTDOWN
commands do not cause a signal to be generated just because an application
has lost byte range locks, although a signal might be generated for
other reasons during shutdown processing.
|
Copyright IBM Corporation 1990, 2014
|