TMF Reference Manual (G06.26+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-003
3-71
ALTER AUDITTRAIL
However, if you have high-value transactions, you might want the primary system to
defer transaction completion for a sustained period if the primary system cannot
communicate with the backup system for any reason at all. In this case, you might set
the COMMITHOLDTIMER for a longer duration, or perhaps even an indefinite one.
If you do not want transaction commits or aborts to occur on your system when ZLT
cannot be guaranteed, you have two choices:
Force TMF to crash, by either issuing a STOP TMF, ABRUPT command or use the
ALTER AUDITTRAIL command to set the COMMITHOLDTIMER option to CRASH
when the timeout duration passes.
Prevent TMF from committing or aborting transactions until ZLT is guaranteed, by
setting the COMMITHOLDTIMER option to -1.
In particular, you might take one of these steps if you know that a problem is going to
persist for some time, but do not want to resume transaction processing without the
guarantee of ZLT.
At any time after commit-hold has been activated, you can issue an ALTER
AUDITTRAIL command to suspend the commit-hold and resume transaction commit
and abort processing.
If an error that activates the commit-hold condition persists, TMF defers transaction
commits and aborts until the error is corrected, the COMMITHOLDTIMER timeout
duration expires, the COMMITHOLDMODE SUSPEND command is entered, or
COMMITHOLDMODE is turned OFF. If you know that the problem is going to persist
and you do not want to defer transaction commits and aborts any longer, you can take
one of the following steps.
Enter the ALTER AUDITTRAIL command with the COMMITHOLDMODE
SUSPEND option.
Reduce the COMMITHOLDTIMER duration.
Turn the COMMITHOLDMODE OFF.
As a result of any of these actions, transaction processing resumes but ZLT is no
longer guaranteed.
Before you can turn COMMITHOLDMODE to ON for an auxiliary audit trail, you must
turn COMMITHOLDMODE to ON for the master audit trail. Before you can turn
COMMITHOLDMODE to OFF for the master audit trail, you must turn
COMMITHOLDMODE to OFF for all auxiliary audit trails.
Caution. During commit hold, the Begin Transaction operation may become disabled because
the maximum number of transactions allowed in each processor is exceeded, library memory
is under pressure, or other TMF limits are being reached. If all configured audit-trail files
become full during commit-hold, all transaction processing and database updates will stop, and
TMF will issue related event messages.