TMF Reference Manual (G06.26+)
TMFCOM Commands
HP NonStop TMF Reference Manual—522418-003
3-75
ALTER AUDITTRAIL
The following command alters the FILSIZE for the Aux02 auxiliary audit trail to
1048575 MB, and can be issued successfully only after transition to format 2 audit-trail
files:
TMF 31> ALTER AUDITTRAIL AUX02, FILESIZE 1048575
This command resets the FILESIZE attribute back to its current default value
(assuming a transition to format 2 audit-trail files, this default value would be 1024 MB):
TMF 32> ALTER AUDITTRAIL MAT, RESET FILESIZE
The next two commands both achieve the same result: they set the
COMMITHOLDMODE for the MAT file to ON, establish a COMMITHOLDTIMER value
of 60 seconds, and request that TMF suspend commit-hold when the timeout duration
expires:
TMF 33> ALTER AUDITTRAIL MAT, COMMITHOLDMODE ON, &
>>>COMMITHOLDTIMER 60 SECONDS ON TIMEOUT SUSPEND
TMF 34> ALTER AUDITTRAIL MAT, COMMITHOLDMODE ON, &
>>>COMMITHOLDTIMER 1 MINUTE ON TIMEOUT SUSPEND
The two preceding commands are both followed by a prompt that allows you to confirm
your desire to issue the command:
WARNING: Incorrect use of this feature can negatively impact
your transaction environment.
Do you confirm turning CommitHoldMode ON?
The following command sets COMMITHOLDMODE ON for the AUX03 auxiliary audit
trail:
TMF 36> ALTER AUDITTRAIL AUX03, COMMITHOLDMODE ON
The next two commands both achieve similar results for the AUX01 auxiliary audit trail.
The first command sets COMMITHOLDMODE to OFF, and the second command sets
COMMITHOLDMODE to its originally assigned default, unconfigured (which is
equivalent to OFF).
TMF 37> ALTER AUDITTRAIL AUX01, COMMITHOLDMODE OFF
TMF 38> ALTER AUDITTRAIL AUX01, RESET COMMITHOLDMODE
The subsequent command suspends COMMITHOLDMODE for all audit trails for which
COMMITHOLDMODE is turned ON. This command is rejected with an error if the
COMMITHOLDMODE is not currently activated or reviving for at least one audit trail.
TMF 40> ALTER AUDITTRAIL MAT, COMMITHOLDMODE SUSPEND