TMF Reference Manual (G06.24+)

TMFCOM Commands
HP NonStop TMF Reference Manual522418-002
3-19
ADD AUDITTRAIL
If the primary transaction management process (TMP) fails before the ADD
AUDITTRAIL command completes, the backup TMP takes over and undoes the effects
of that command before processing any new requests from TMFCOM. If both TMPs
fail before the ADD AUDITTRAIL command completes, TMF also undoes the effects of
that command.
If the ADD AUDITTRAIL command returns an error, files that were preallocated when
active volumes were added might not be purged from the volumes; this occurs if the
TMP loses access to these volumes. If you attempt to add these volumes as active
again with another ADD AUDITTRAIL command, the existing files are purged before
the new ones are created.
For more information about master and auxiliary audit trails, overflow volumes, and
restore-audit volumes, see the TMF Operations and Recovery Guide.
Examples
The following ADD AUDITTRAIL command adds a master audit trail using the disk
volumes $MAT1, $MAT2, and $MAT3 for the audit-trail files:
TMF 10> ADD AUDITTRAIL MAT, &
>>>ACTIVEVOLS($MAT1,$MAT2,$MAT3), &
>>>FILESIZE 20, FILESPERVOLUME 3,&
>>>OVERFLOWVOLS($DATA1,$DATA2),&
>>>OVERFLOWTHRESHOLD 80, BEGINTRANSDISABLE 95,&
>>>RESTOREVOLS $DATA1, &
>>>AUDITDUMP ON
The next ADD AUDITTRAIL command adds an auxiliary audit trail identified as AUX01,
using the disk volume $AUX1 for the active-audit volume and $DATA3 for the overflow
and restore locations:
TMF 11> ADD AUDITTRAIL AUX01, FILESPERVOLUME 6, ACTIVEVOLS &
>>>$AUX1, OVERFLOWVOLS $DATA3, RESTOREVOLS $DATA3, AUDITDUMP ON