OpenTP1 locks files to ensure exclusive access during online operation. When locking is used, a record lock is registered in the OpenTP1 system. The maximum number of record locks that can be registered is determined by maxuprc x nofiles x number of user licenses.
This appendix describes the formula for estimating the number of record locks to be registered in OpenTP1.
- For nodes other than archive journal nodes
- Number of journal files + number of status files
- + total number of DAM files opened by user server processes
- + total number of queue physical files accessed by processes
- + number of user servers that are simultaneously executed
- + value specified in the trn_recovery_process_count operand in the transaction service definition + 3
- + total number of TAM files x 2
- + number of queue files of TP1/Message Queue x 2
- For an archive journal node
- Number of journal files + number of journal server resource groups + number of status files + 3
- Legend:
- Number of journal files
- Sum of the number of jnladdpf commands in the system journal service definition or the archive journal service definition and the checkpoint dump service definition (double this value if files are duplicated)
- Number of status files
- Number specified in the sts_file_name_[1-7] operand in the status service definition
- Total number of DAM files opened by user server processes (i: number of user server processes)
- Total number of queue physical files accessed by processes (j: number of MCF communication servers, k: number of user servers)
- Number of resource groups for the journal server
- Number of resource groups specified in the jnldfsv -a definition command in the global archive journal service definition
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.